fem3d_sample_test


fem3d_sample_test, a C++ program which calls fem3d_sample(), which evaluates a finite element function of a 3D argument.

Licensing:

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:

fem3d_sample, a C++ program which evaluates a function defined on a 3D tetrahedral mesh as part of the finite element method (FEM).

Source Code:

SQ is FEM data for the function f(x,y,z)=x^2+2*y^2-z^2, on a 5x5x5 grid of nodes in the cube [0,4]x[0,4]x[0,4], organized into linear linear tetrahedrons. The sample data seeks the values of this function on a 4x4x4 evenly spaced grid.


Last revised on 07 March 2020.