fem2d_project_test, a C++ program which calls fem2d_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.

Related Data and Programs:

fem2d_project, a C++ program which projects a function f(x,y), given as a data, into a given finite element space of piecewise linear triangular elements.

Source Code:

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.

Last revised on 05 March 2020.