Add tensorType to problem.

This commit is contained in:
rowanc1
2014-06-18 11:08:42 -07:00
parent a93b25b488
commit 32fa4c95df
2 changed files with 49 additions and 41 deletions
+4
View File
@@ -338,6 +338,10 @@ class BaseProblem(object):
if hasattr(self, prop):
delattr(self, prop)
@property
def tensorType(self):
return Utils.TensorType(self.mesh, self.curModel.transform)
@property
def ispaired(self):
"""True if the problem is paired to a survey."""