**triangulation_triangle_neighbors_test**,
a MATLAB program which
calls triangulation_triangle_neighbors() to
compute the three
neighboring triangles of each triangle in a triangulation.

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

triangulation_triangle_neighbors, a MATLAB program which reads data defining a triangulation, determines the neighboring triangles of each triangle, and writes that information to a file.

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

**BIG_CAVITY** is a triangulation using 8,195 nodes and 4,000 elements.

- big_cavity_nodes.txt, the node coordinates.
- big_cavity_elements.txt, the triangulation;
- big_cavity_triangulation.png, a PNG image of the triangulation;
- big_cavity_element_neighbors.txt, the neighbor triangles.

**BOX3** is a triangulation of order 3, using 20 nodes and 24 elements:

- box3_nodes.txt, the node coordinates.
- box3_elements.txt, the triangulation;
- box3_triangulation.png, a PNG image of the triangulation;
- box3_element_neighbors.txt, the neighbor triangles.

**BOX6** is a triangulation of order 6:

- box6_nodes.txt, the node coordinates.
- box6_elements.txt, the triangulation;
- box6_triangulation.png, a PNG image the triangulation;
- box6_element_neighbors.txt, the neighbor triangles.

**GREENLAND** is a triangulation using 33,343 nodes and 64,125 elements.

- greenland_nodes.txt, the node coordinates.
- greenland_elements.txt, the triangulation;
- greenland_element_neighbors.txt, the neighbor triangles.

**LAKE_COARSE** is an irregular lake with an island.

There are 621 nodes and 974 elements and 1 hole.

- lake_coarse_nodes.txt, the node coordinates.
- lake_coarse_elements.txt, the triangulation;
- lake_coarse_triangulation.png, a PNG image of the triangulation.
- lake_coarse_element_neighbors.txt, the neighbor triangles.

**LAKE3** is an irregular lake with an island.

The smallest angle is 23.46 degrees.

There are 1552 nodes and 2820 elements and 1 hole.

- lake3_nodes.txt, the node coordinates.
- lake3_elements.txt, the triangulation;
- lake3_triangulation.png, a PNG image of the triangulation.
- lake3_element_neighbors.txt, the neighbor triangles.