Merge branch 'dcip/spectralIP' of https://github.com/simpeg/simpeg into dcip/dev

Merge spectral IP stuff, and incorporate Lindsey's comments
This commit is contained in:
seogi_macbook
2016-05-25 14:22:58 -07:00
12 changed files with 1162 additions and 36 deletions
+2 -4
View File
@@ -161,14 +161,13 @@ class Problem2D_CC(BaseDCProblem_2D):
Make the A matrix for the cell centered DC resistivity problem
A = D MfRhoI D^\\top V
A = D MfRhoI G
"""
D = self.Div
G = self.Grad
vol = self.mesh.vol
# TODO: this won't work for full anisotropy
MfRhoI = self.MfRhoI
# Get resistivity rho
rho = self.curModel.rho
@@ -304,11 +303,10 @@ class Problem2D_N(BaseDCProblem_2D):
Make the A matrix for the cell centered DC resistivity problem
A = D MfRhoI D^\\top V
A = D MfRhoI G
"""
# TODO: this won't work for full anisotropy
MeSigma = self.MeSigma
MnSigma = self.MnSigma
Grad = self.mesh.nodalGrad