mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 21:12:41 +08:00
fix bug
This commit is contained in:
+1
-1
@@ -192,7 +192,7 @@ class BaseEMProblem(Problem.BaseProblem):
|
||||
"""
|
||||
|
||||
dMfRhoI_dI = -self.MfRhoI**2
|
||||
dMf_drho = self.mesh.getFaceInnerProduct(self.curModel.rho)(u)
|
||||
dMf_drho = self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u)
|
||||
drho_dm = self.curModel.rhoDeriv
|
||||
return dMfRhoI_dI * ( dMf_drho * ( drho_dm))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user