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:
- Use
Refiner::coarseBlkElems to update elemblockid in Refiner after AMR. This will use element-ancestry from AMR::tetstore.
ALECG needs to update m_nodeblockid after AMR. This will require a setup similar to ALECG::lhs() (which updates normals via norm()) which is called every time AMR happens.
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:
Refiner::coarseBlkElemsto updateelemblockidinRefinerafter AMR. This will use element-ancestry from AMR::tetstore.ALECGneeds to updatem_nodeblockidafter AMR. This will require a setup similar toALECG::lhs()(which updates normals vianorm()) which is called every time AMR happens.