**fem3d_project_test**,
a C++ program which
calls fem3d_project(), which
projects a finite element function.

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

fem3d_project, a C++ program which projects a function F(X,Y,Z), given as tabulated data, into a space of piecewise linear tetrahedral elements associated with the finite element method (FEM).

- fem3d_project_test.sh, runs all the tests.
- fem3d_project_test.txt, the output file.

**LINEAR** starts with sample data for the vector function f(x)=[ 1, 2x, 3y, 4z ],
on an 8x8x8 grid of equally spaced nodes from [0.0,8.0]x[0.0,8.0], and projects this onto
a piecewise linear finite element meshes defined on equally spaced grids of
dimension 4x4x4, 2x2x2 and 1x1x1.

- r8x8x8_t3_nodes.txt, the sample nodes, on an 8x8x8 grid.
- r8x8_t4_elements.txt, elements that can be used to form an 8x8x8 finite element mesh associated with the sample data. This is provide only so that a finite element function can be formed with the original sample data.
- r8x8_t4_values.txt, the sample nodal values.
- r4x4x4_t4_nodes.txt, the FEM nodes for a 4x4x4 grid.
- r4x4x4_t4_elements.txt, the FEM elements for a 4x4x4 grid.
- r4x4x4_t4_values.txt, the nodal values as projected from the 8x8x8 grid.
- r2x2x2_t4_nodes.txt, the FEM nodes for a 2x2x2 grid.
- r2x2x2_t4_elements.txt, the FEM elements for a 2x2x2 grid.
- r2x2x2_t4_values.txt, the nodal values as projected from the 8x8x8 grid.
- r1x1x1_t4_nodes.txt, the FEM nodes for a 1x1x1 grid.
- r1x1x1_t4_elements.txt, the FEM elements for a 1x1x1 grid.
- r1x1x1_t4_values.txt, the nodal values as projected from the 8x8x8 grid.