f for fields in data misfit, directives etc. Previously, f was used in the InvProblem to be the function value for the objective function --> this has been renamed to phi

This commit is contained in:
Lindsey Heagy
2016-03-31 09:28:48 -07:00
parent 0a0caceaca
commit d8d8915f94
9 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ class BaseProblem(object):
:rtype: numpy.array
:return: approxJv
"""
return self.Jvec(m, v, u)
return self.Jvec(m, v, f)
@Utils.timeIt
def Jtvec_approx(self, m, v, f=None):
@@ -142,7 +142,7 @@ class BaseProblem(object):
:rtype: numpy.array
:return: JTv
"""
return self.Jtvec(m, v, u)
return self.Jtvec(m, v, f)
def fields(self, m):
"""