fem2d_project_test
fem2d_project_test,
a C++ code which
calls fem2d_project(), which
projects a finite element function.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
fem2d_project,
a C++ code 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.
-
r8x8_t3_nodes.txt,
the sample nodes, on an 8x8 grid.
-
r8x8_t3_elements.txt,
elements that can be used to form an 8x8 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_t3_values.txt,
the sample nodal values.
-
r4x4_t3_nodes.txt,
the FEM nodes for a 4x4 grid.
-
r4x4_t3_elements.txt,
the FEM elements for a 4x4 grid.
-
r4x4_t3_values.txt,
the nodal values as projected from the 8x8 grid.
-
r2x2_t3_nodes.txt,
the FEM nodes for a 2x2 grid.
-
r2x2_t3_elements.txt,
the FEM elements for a 2x2 grid.
-
r2x2_t3_values.txt,
the nodal values as projected from the 8x8 grid.
-
r1x1_t3_nodes.txt,
the FEM nodes for a 1x1 grid.
-
r1x1_t3_elements.txt,
the FEM elements for a 1x1 grid.
-
r1x1_t3_values.txt,
the nodal values as projected from the 8x8 grid.
Last revised on 05 March 2020.