fem2d_project_test, a MATLAB code which calls fem2d_project(), which projects a finite element method function.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
fem2d_project, a MATLAB code which projects a function f(x,y), given as data, into a given space associated with the finite element method (FEM) for piecewise linear triangular elements.
LINEAR starts with sample data for the vector function f(x)=[ 1, 2x, 3y ], on an 9 x 9 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 4x4, 2x2 and 1x1.
CIRCLE is a problem defined on a circular region with a small central hole. The SAMPLE data uses 49,408 nodes and 98,304 elements. This data is to be projected onto a finite element mesh (which is a simple coarsening of the mesh on which the sample data was generated) that uses 12,416 nodes and 24,576 elements.