triangulation_refine_local_test, a MATLAB code which calls triangulation_refine_local(), which refines 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 code 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: