This commit is contained in:
seogi_macbook
2016-04-23 01:24:31 -07:00
parent a9362bd38e
commit 73001abfc5
+1 -1
View File
@@ -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))