sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
153 stars 185 forks source link

AMR: do not enforce 2:1 balance in normal direction #6058

Closed kidder closed 1 month ago

kidder commented 1 month ago

Proposed changes

Remove requirement that h-refinement must have 2:1 balance in the direction normal to faces.

Upgrade instructions

In input files that use AMR, you will need to add EnforceTwoToOneBalanceInNormalDirection: true to the list of Policies

Code review checklist

Further comments

kidder commented 1 month ago

@nilsvu here is the unfinished (and untested) branch for what you asked about

kidder commented 1 month ago

@nilsvu this is now ready for review. It did not cause any problems when I ran the RandomAmr executables.