Easy way to create a padded tensor mesh.

This commit is contained in:
rowanc1
2013-12-04 17:52:40 -08:00
parent ccb4d4052d
commit 8fb9f3683b
6 changed files with 73 additions and 46 deletions
+5 -1
View File
@@ -24,7 +24,11 @@ class TensorMesh(BaseMesh, TensorView, DiffOperators, InnerProducts):
Example of a padded tensor mesh:
.. plot:: examples/mesh/plot_TensorMesh.py
.. plot::
from SimPEG import mesh, utils
M = mesh.TensorMesh(utils.meshTensors(((10,10),(40,10),(10,10)), ((10,10),(20,10),(0,0))))
M.plotGrid()
For a quick tensor mesh on a (10x12x15) unit cube::