From 3e829ad9b64deff1790218db398f2bb2d275cf8b Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Sat, 26 Apr 2014 12:26:43 -0700 Subject: [PATCH] Fix tensorMesh Documentation. --- SimPEG/Mesh/TensorMesh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimPEG/Mesh/TensorMesh.py b/SimPEG/Mesh/TensorMesh.py index c97aab82..12fe6238 100644 --- a/SimPEG/Mesh/TensorMesh.py +++ b/SimPEG/Mesh/TensorMesh.py @@ -393,13 +393,13 @@ class TensorMesh(BaseTensorMesh, TensorView, DiffOperators, InnerProducts): mesh = Mesh.TensorMesh([hx, hy, hz]) - Example of a padded tensor mesh using :func:`SimPEG.Utils.meshTensor`: + Example of a padded tensor mesh using :func:`SimPEG.Utils.meshutils.meshTensor`: .. plot:: :include-source: from SimPEG import Mesh, Utils - M = Mesh.TensorMesh([(10,10,-1.3),(10,40),(10,10,1.3)], [(10,10,-1.3),(10,20)]) + M = Mesh.TensorMesh([[(10,10,-1.3),(10,40),(10,10,1.3)], [(10,10,-1.3),(10,20)]]) M.plotGrid() For a quick tensor mesh on a (10x12x15) unit cube::