From a15cbade408857cb71985fb0611315a6caea93ef Mon Sep 17 00:00:00 2001 From: seogi_macbook Date: Thu, 4 Feb 2016 11:15:17 -0800 Subject: [PATCH] minor change --- SimPEG/Problem.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SimPEG/Problem.py b/SimPEG/Problem.py index 201ff56c..9ac08330 100644 --- a/SimPEG/Problem.py +++ b/SimPEG/Problem.py @@ -335,16 +335,16 @@ class GlobalProblem(BaseProblem): # Not sure we need this here ... - # def getSubMap(self, subMesh, ind): - # """The sub""" - # mesh2mesh = Maps.IdentityMap(subMesh) # this is probably a mesh2mesh mapping? + def getSubMap(self, subMesh, ind): + """The sub""" + mesh2mesh = Maps.IdentityMap(subMesh) # this is probably a mesh2mesh mapping? - # if self.PropMap is None: - # subMap = mesh2mesh * self.mapping - # else: - # subMap = mesh2mesh * self._propMapMapping + if self.PropMap is None: + subMap = mesh2mesh * self.mapping + else: + subMap = mesh2mesh * self._propMapMapping - # return subMap + return subMap if __name__ == '__main__':