quinoacomputing / quinoa

Adaptive computational fluid dynamics
https://quinoacomputing.github.io
Other
102 stars 21 forks source link

Make meshblock-ic's compatible with AMR #557

Open adityakpandare opened 2 years ago

adityakpandare commented 2 years ago

Currently, the element-meshblock data that assigns element-ids to mesh blocks does not get updated after AMR step. To have meshblocks compatible with AMR, the following needs to be done:

adityakpandare commented 2 years ago

This will also involve using the refined elemblockid to re-initialize solutions in Refiner::writeMesh() and Refiner::nodeinit(). Currently these functions are not using the updated elemblockid for post-AMR initialization.