You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I reverse the order of the two cells in the cell_vertices array, I get the following:
What I imagine happens is that during the first global refinement, we do not correctly connect the child cells to their proper neighbors. During the second refinement, we then end up creating homunculus children. If this hypothesis is correct, it's fascinating that we've never run into this in 20+ years of allowing these kinds of meshes.
The text was updated successfully, but these errors were encountered:
It turns out that all that is missing is a call to GridTools::consistently_order_cells(). I'm going to see whether I can write a few assertions that lets us catch these sorts of things.
This little code, extracted from something @cedrict and @danieldouglas92 are working on, is clearly not doing things:
It yields the following mesh:
If I reverse the order of the two cells in the
cell_vertices
array, I get the following:What I imagine happens is that during the first global refinement, we do not correctly connect the child cells to their proper neighbors. During the second refinement, we then end up creating homunculus children. If this hypothesis is correct, it's fascinating that we've never run into this in 20+ years of allowing these kinds of meshes.
The text was updated successfully, but these errors were encountered: