fixed MeMuI, should be invmat=True, as opposed to 1/mu

This commit is contained in:
Lindsey
2015-02-27 12:13:01 -08:00
parent 564fa14826
commit 5c19da60cc
+1 -1
View File
@@ -52,7 +52,7 @@ class BaseEMProblem(Problem.BaseProblem):
def MeMuI(self):
# Assuming isotropic mu!
if getattr(self, '_MeMuI', None) is None:
self._MeMuI = self.mesh.getEdgeInnerProduct(1/self.mu)
self._MeMuI = self.mesh.getEdgeInnerProduct(self.mu, invMat=True)
return self._MeMuI
@property