#66: Update MeshTensor to be supported directly from TensorMesh. Also added 'C' to center tensors easily in the x0 option.

This commit is contained in:
rowanc1
2014-04-26 12:16:49 -07:00
parent d08da1a3b0
commit c9111e4151
8 changed files with 87 additions and 33 deletions
+2 -2
View File
@@ -185,8 +185,8 @@ notation::
:include-source:
from SimPEG import Mesh, Utils
h1 = (5, 10, 1.5), (20, 5), (3, 10)
M = Mesh.TensorMesh(Utils.meshTensors(h1, h1))
h1 = [(10, 5, -1.3), (5, 20), (10, 3, 1.3)]
M = Mesh.TensorMesh([h1, h1])
M.plotGrid(showIt=True)
Hopefully, you now know how to create TensorMesh objects in SimPEG,