mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-29 17:37:31 +08:00
use 1 for fixing null space instead of volume
This commit is contained in:
@@ -176,7 +176,7 @@ class ProblemDC_CC(Problem.BaseProblem):
|
||||
G = self.mesh.cellGrad
|
||||
self._A = D*self.Msig*G
|
||||
# Remove the null space from the matrix.
|
||||
self._A[-1,-1] /= self.mesh.vol[-1]
|
||||
self._A[-1,-1] = 1. #self.mesh.vol[-1]
|
||||
self._A = self._A.tocsc()
|
||||
return self._A
|
||||
|
||||
|
||||
Reference in New Issue
Block a user