Mesh2MeshTOPO:

Deals with global to local mesh
This commit is contained in:
seogi_macbook
2016-01-26 18:53:10 -08:00
parent 5e4b4963b4
commit 2aa2490f64
2 changed files with 79 additions and 1 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ class GlobalProblem(BaseProblem):
raise Exceptions.PairingException(reason='The meshes are not the the same length as the number of groups')
def getSubProblem(self, ind):
#This is a core place that we can proceed parallelization
assert self.ispaired, 'You must be paired to a survey'
assert type(ind) in [int,long] and ind >= 0 and ind < self.nGroups, 'ind must be an index into the group list'