**triangulation_refine_test**,
a MATLAB code which
calls triangulation_refine(), which
reads information
describing a triangulation of a set of points and creates
a refined triangulation.

The computer code and data files described and made available on this web page are distributed under the MIT license

triangulation_refine, a MATLAB code which refines a triangulation.

- triangulation_refine_test.m, calls all the tests.
- triangulation_refine_test.sh, runs all the tests.
- triangulation_refine_test.txt, the output file.

**BOX3** is an example of the refinement of a
3-node triangulation of a rectangular box.

- box3_nodes.txt, the nodes for a 3-node triangulation.
- box3_elements.txt, the triangles for an order 3 triangulation.
- box3.png, a PNG image of the triangulation.
- box3_ref_nodes.txt, the nodes for the refined triangulation.
- box3_ref_elements.txt, the triangles for the refined triangulation.
- box3_ref.png, a PNG image of the refined triangulation.
- box3.txt, output printed by the program.

**IRREG6** is an example of the refinement of a
6-node triangulation of an irregular region with a hole:

- irreg6_nodes.txt, the nodes for a 6-node triangulation.
- irreg6_elements.txt, the triangles for an order 6 triangulation.
- irreg6.png, a PNG image of the triangulation.
- irreg6_ref_nodes.txt, the nodes for the refined triangulation.
- irreg6_ref_elements.txt, the triangles for the refined triangulation.
- irreg6_ref.png, a PNG image of the refined triangulation.
- irreg6.txt, output printed by the program.

**HOUSE6** is an example of the refinement of a
simple 6-node triangulation of a "house" diagram that involved
3 triangles.

- house6_nodes.txt, the nodes for a 6-node triangulation.
- house6_elements.txt, the triangles for an order 6 triangulation.
- house6.png, a PNG image of the triangulation.
- house6_ref_nodes.txt, the nodes for the refined triangulation.
- house6_ref_elements.txt, the triangles for the refined triangulation.
- house6_ref.png, a PNG image of the refined triangulation.
- house6.txt, output printed by the program.