updates to documentation

This commit is contained in:
Rowan Cockett
2013-09-30 17:19:00 -07:00
parent 71668deb1b
commit 063a3d8b57
3 changed files with 119 additions and 85 deletions
+7 -3
View File
@@ -7,15 +7,19 @@ from utils import mkvc
class LomView(object):
"""
Provides viewing functions for TensorMesh
Provides viewing functions for LogicallyOrthogonalMesh
This class is inherited by LogicallyOrthogonalMesh
This class is inherited by TensorMesh
"""
def __init__(self):
pass
def plotGrid(self, length=0.05):
"""Plot the nodal, cell-centered and staggered grids for 1,2 and 3 dimensions."""
"""Plot the nodal, cell-centered and staggered grids for 1,2 and 3 dimensions.
.. plot:: examples/mesh/plot_LogicallyOrthogonalMesh.py
"""
NN = self.r(self.gridN, 'N', 'N', 'M')
if self.dim == 2:
fig = plt.figure(2)