Beispiel #1
0
 def calculateNumericalDiffusion(self, q):
     for ci in range(self.nc):
         cshockCapturing.calculateNumericalDiffusionEikonal(
             self.shockCapturingFactor, self.mesh.elementDiametersArray,
             q[('pdeResidual', ci)], self.numDiff[ci])
 def calculateNumericalDiffusion(self,q):
     for ci in range(self.nc):
         cshockCapturing.calculateNumericalDiffusionEikonal(self.shockCapturingFactor,
                                                            self.mesh.elementDiametersArray,
                                                            q[('pdeResidual',ci)],
                                                            self.numDiff[ci])