GRTLCollaboration / GRChombo

An AMR based open-source code for numerical relativity simulations.
BSD 3-Clause "New" or "Revised" License
80 stars 49 forks source link

Add fixed hierarchy code #111

Open mirenradia opened 4 years ago

mirenradia commented 4 years ago

Chombo's AMR class has this feature which should be implemented here. A suitable tagging criterion should also be written.

KAClough commented 4 years ago

Useful feedback from Dan at Chombo:

I think that right now, if you initialized with a preset hierarchy of grids, it calls the AMR::setupForFixedHierarchyRun, which turns off regridding. However, there’s no really good reason you shouldn’t be able to read in a starting mesh hierarchy and then also allow for regridding later. I think that was simply tunnel-vision on our part when we wrote the original implementations. I will look into removing that at some point, I think.