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

Grid3D: can't specify grid dimensions in constructor #46

Open
austin-hoover opened this issue Feb 13, 2025 · 0 comments
Open

Grid3D: can't specify grid dimensions in constructor #46

austin-hoover opened this issue Feb 13, 2025 · 0 comments

Comments

@austin-hoover
Copy link
Contributor

Grid1D and Grid2D can be constructed with either the grid shape:

Grid2D::Grid2D(int xSize, int ySize): CppPyWrapper(NULL)

or the grid shape and size along each dimension:

Grid2D::Grid2D(int xSize, int ySize,
double xMin, double xMax,
double yMin, double yMax): CppPyWrapper(NULL)

However Grid3D has only one constructor:

Grid3D::Grid3D(int nX, int nY, int nZ): CppPyWrapper(NULL)

Is there any reason not to add another constructor for Grid3D?

@austin-hoover austin-hoover changed the title Missing Grid3D constructor Grid3D: can't specify grid dimensions in constructor Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant