mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-24 13:20:06 +08:00
Handling null space of A
This commit is contained in:
@@ -128,6 +128,10 @@ class Problem3D_N(BaseDCProblem):
|
||||
MeSigma = self.MeSigma
|
||||
Grad = self.mesh.nodalGrad
|
||||
A = Grad.T * MeSigma * Grad
|
||||
|
||||
# Handling ... singularity
|
||||
A[0,0] = A[0,0] + 1.
|
||||
|
||||
# if self._makeASymmetric is True:
|
||||
# return V.T * A
|
||||
return A
|
||||
|
||||
Reference in New Issue
Block a user