**fem1d_project_test**,
a MATLAB code which
calls fem1d_project(), which
computes the projection of sample data onto a given finite element mesh.

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

fem1d_project, a MATLAB code which projects data into a finite element space, including the least squares approximation of data, or the projection of a finite element solution from one mesh to another.

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

**POWERS** starts with sample data for the vector function f(x)=[ 1, x, x^2], on a grid
of 11 equally spaced nodes from 0 to 10, and projects this onto a piecewise linear
grid of 6 equally spaced nodes from 0 to 10.

- sample_powers_nodes.txt, the sample nodes.
- sample_powers_values.txt, the sample nodal values.
- fem_powers_nodes.txt, the FEM nodes.
- fem_powers_elements.txt, the FEM elements.
- fem_powers_values.txt, the projected FEM nodal values.