use 1 for fixing null space instead of volume

This commit is contained in:
Lindsey Heagy
2015-11-19 13:37:18 -08:00
parent fc0a413b3c
commit 58efd8710f
+1 -1
View File
@@ -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