Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create wrapped Grid class for Grid1D, Grid2D and Grid3D. #87

Closed
wd15 opened this issue Sep 19, 2014 · 1 comment
Closed

Create wrapped Grid class for Grid1D, Grid2D and Grid3D. #87

wd15 opened this issue Sep 19, 2014 · 1 comment

Comments

@wd15
Copy link
Contributor

wd15 commented Sep 19, 2014

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

Imported from trac ticket #102, created by wd15 on 11-08-2006 at 14:57, last modified: 11-16-2011 at 17:02

@wd15
Copy link
Contributor Author

wd15 commented Sep 19, 2014

Jon doesn't think this is particularly useful and I tend to agree.

Trac comment by wd15 on 11-16-2011 at 17:02

@wd15 wd15 closed this as completed Sep 19, 2014
@guyer guyer mentioned this issue Sep 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants