mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-01 12:31:30 +08:00
Merge branch 'IP' of https://github.com/simpeg/simpegdc into Dom_dev
This commit is contained in:
commit
44febb35b8
1 file changed
+1
-1
@@ -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