**triangulation_node_to_element_test**,
a MATLAB code which
calls triangulation_node_to_element(), which
reads datafiles describing a set of nodes, their triangulation, and the
value of one or more quantities at each node, and output a file
that averages the quantities for each element. This operation
in effect creates an "order1" finite element model of the data.

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

triangulation_node_to_element, a MATLAB code which reads files describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an "order1" finite element model of the data.

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

**LAKE** is a simulated lake with an island region.

- lake_nodes.txt, a node file;
- lake_elements.txt, an element file;
- lake_elements.pngt, an image of the lake elements;
- lake_values.txt, a value file;
- lake_element_values.txt, the node data, averaged over each element.
- lake_element_values.png, a 3D plot of the lake element values, as produced by triangulation_order1_display(). (We had to temporarily rename lake_element_values.txt to lake_values.txt to do this.)