mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 17:19:06 +08:00
use sigma in MfRhoDeriv - due to propmap bug
This commit is contained in:
+1
-2
@@ -165,8 +165,7 @@ class BaseEMProblem(Problem.BaseProblem):
|
||||
"""
|
||||
Derivative of :code:`MfRho` with respect to the model.
|
||||
"""
|
||||
return self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u) * self.curModel.rhoDeriv
|
||||
# (-Utils.sdiag(self.curModel.rho**2) * self.curModel.sigmaDeriv)
|
||||
return self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u) * (-Utils.sdiag(self.curModel.rho**2) * self.curModel.sigmaDeriv)
|
||||
# self.curModel.rhoDeriv
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user