Refinement with splitmesh


I am trying to implement a problem with refinement of the mesh (2D) based on some local error estimation. The refinement is done by adding nodes and edges into some elements (they are selected thanks to the local error estimator) of the current mesh and to do so I am using the command “splitmesh”. However, in this way one can obtain stretched elements.

Is there an option for splitmesh which allows to obtain more regular meshes? (For example, deleting edges/nodes or adding more edges/nodes)

Thank you in advance

HI all,

I do not implement delete point on edge (to hard to do) and the result is alway not too good. I you need to store all mesh change to remove point or edge easily,
but you can do , your well come.