Custom mesh refinement
Consider the following:
We have an initial 2d/3d mesh, in which we have marked cells in different regions based on some criteria. We want to refine the cells in these different regions with different grading towards one of the vertices.
From the documentation, I only came across ParallelRefinement class which offers these routines. But I am unable to use this class or other routines like PlazaRefinementND, I think because of how I installed fenics probably.
I know how to mark the sub-domains, but does fenics offer an elegant way to "add_vertex" / "add_cells" to the initial_mesh?? Other suggestions in this direction will also be helpful. Thanks!