For a given , examplary simple, triangular meshregion
<< NDSolve`FEM`
pts = {{0, 0}, {1, 0}, {1, .2}, {.2, .2}, {.2, 1}, {0, 1}};
mreg = MeshRegion@ToElementMesh["Coordinates" -> pts,"MeshElements" -> {TriangleElement[{{1, 2,4}, {2, 3, 4}, {1, 4, 6}, {4, 5, 6}}]}]
I would like to refine the mesh in such way, that every triangle, using the side midpoints, is splitted into four new triangle elements.
Sounds simple, but I couldn't solve this example for a "concave" region.
How to solve this problem? Thanks!


MeshRefinementFunctionbut didn't succeed. My goal is to keep the original mesh. $\endgroup$