-
Notifications
You must be signed in to change notification settings - Fork 37
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
Refactor Region Size #918
Refactor Region Size #918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Someday I'll switch to .symmetry
in KHARMA, seems clean
Sorry for being late to the show. |
@pgrete: a) Yes, I guess that it should have "breaks downstream". I can put in a small PR to move the addition to the Changelog. b) In many places in the code, a check for |
I think we can drive-by add this in another PR. No rush to create an extra PR (from my point of view)
Maybe it's just a wording thing with respect to different fields/backgrounds. |
Conceptually, we need a flag that says whether or not we want to have ghost cells and apply boundary conditions in a given direction. Using Beyond that, I think it is a wording thing and I am happy to change the nomenclature if there is something clearer to others. My thinking for that name was that a simulation either possesses a translation symmetry in a given direction (so all derivatives in that direction are zero and it does not require ghost zones) or it doesn't possess a translation symmetry in that direction and requires ghost zones. I agree that |
PR Summary
This PR does a small refactor of
RegionSize
and related code, nothing exciting. This shouldn't change anything about how the code behaves, but removes a little repetition. I am mainly doing this in anticipation of allowing for varying block size in geometric multigrid levels, so that the mesh can be coarsened to the greatest degree possible.PR Checklist