mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 13:20:13 +08:00
Add tensorType to problem.
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user