triangulation_refine_local_test, a MATLAB program which calls triangulation_refine_local() to try to locally refine a triangulation by replacing one triangular element by four smaller ones.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
triangulation_refine_local, a MATLAB program which refines a triangulation locally; a single triangular element is replaced by four smaller triangles, and neighboring information is updated.
ELL3 is the original triangulation:
ELL3_REFINED is the triangulation after element 11 has been refined: