This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Mesh unrefinement

+6 votes

Is there a way (manual or otherwise) to unrefine a mesh back to its original parent mesh in specifically marked regions?

The closest I've found is implemented in the MeshHierarchy class, which has an coarsen method (along with refine) that can take cell markers as an argument, but it seems to only work when unrefining areas that were refined in the most recent refinement.

The other coarsening method (LocalMeshCoarsening.cpp) that others have mentioned doesn't appear to be exposed in the Python interface, as far as I can tell (is there an easy way to expose it? I'm fine with recompiling).

Thanks.

asked Feb 3, 2016 by FF FEniCS User (4,630 points)

1 Answer

+1 vote
 
Best answer

This isn't possible yet, but is being worked on.

answered Feb 23, 2016 by Garth N. Wells FEniCS Expert (35,930 points)
selected Feb 24, 2016 by FF
...