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

mesh overallocates memory for 1D and 2D simulations #59

Open
natj opened this issue Aug 1, 2024 · 0 comments
Open

mesh overallocates memory for 1D and 2D simulations #59

natj opened this issue Aug 1, 2024 · 0 comments

Comments

@natj
Copy link
Collaborator

natj commented Aug 1, 2024

The internal grid inside tiles (Mesh) allocates halo regions in the y and z directions for 1D/2D simulations.

Fixing this would be easy in the Mesh allocator by checking for Ny==1 or Nz==1,, but some Python code relies on being able to loop over indices in the full range from -H to N+H, where N is the mesh length in the y or z direction and H=3 is the default halo size.

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