#102: Create wrapped Grid class for Grid1D, Grid2D and Grid3D.
------------------------+---------------------------------------------------
Reporter: wd15 | Owner:
Type: enhancement | Status: new
Priority: 1 | Component: None
Version: | Severity: Feature Requests
Keywords: |
------------------------+---------------------------------------------------
A Grid wrapper class/function would automate selection of GridXD objects.
Example,
{{{
>>> mesh = Grid(nx=3)
}}}
would return a Grid1D object.
{{{
>>> mesh = Grid(nx=4, nz=5, Lx=3.0, Ly=4.0, dy=0.1)
}}}
would return a Grid3D object with mesh.dx=3.0/4 and mesh.dz=1.0
--
Ticket URL: <http://matdl-osi.org/fipy/ticket/102>
FiPy <http://www.ctcms.nist.gov/fipy>
A Finite Volume PDE Solver Using Python