start of prim sec src with more derivs

This commit is contained in:
Lindsey Heagy committed 2016-05-30 20:30:00 -07:00
1 parent 54478ad05e
commit 0638fa308c
2 files changed
+18

No files matched your search

+18
View File
@@ -630,3 +630,21 @@ class PrimSecSigma(BaseSrc):
return prob.MeSigmaDeriv(self.ePrimary(prob)) * v
class PrimSecSigmaProblem(BaseSrc):
def __init__(self, rxList, freq, primaryProblem, primarySurvey, map2meshs = None ,**kwargs):
self.primaryProblem = primaryProblem
self.primarySurvey = primarySurvey
self.map2meshs = map2meshs
BaseSrc.__init__(self, rxList, freq=freq, **kwargs)
def ePrimary(self, prob):
def ePrimaryDeriv(self, prob, v, adjoint=False):
View File
Whitespace-only changes.