**triangulation_boundary_edges_test**,
a MATLAB code which
calls triangulation_boundary_edges(), which
analyzes the triangulation of a region, identify the edges that
form the boundaries, organize the boundary edges into one or more
connected components, and write a file describing the components
and the sequence of boundary edges.

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

triangulation_boundary_edges, a MATLAB code which reads data defining a triangulation, determines which edges lie on the boundary, organizes them into connected components, and writes this information to a file.

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

**ELBOW** is a curved region, looking like an elbow, that lies inside
the unit square. It is triangulated using order 3 triangles. There are
320 nodes and 568 triangles. There are 66 nodes on the boundary.

- elbow_nodes.txt, the node file.
- elbow_elements.txt, the triangles.
- elbow.txt, the printed output from a run of the sample program.
- elbow_boundary_edges.txt, the boundary edge file.

**ELL** is an L-shaped region, using 96 triangles and 65 nodes.
It is triangulated using order 3 triangles.

- ell_nodes.txt, the node file.
- ell_elements.txt, the triangles.
- ell.txt, the printed output from a run of the sample program.
- ell_boundary_edges.txt, the boundary edge file.

**LAKE** is an irregular lake-shaped region with an "island",
which means the boundary is made of two components.
It is triangulated using order 3 triangles.

- lake_nodes.txt, the node file.
- lake_elements.txt, the triangles.
- lake.txt, the printed output from a run of the sample program.
- lake_boundary_edges.txt, the boundary edge file.