fem3d_sample_test, a MATLAB code which calls fem3d_sample(), which evaluates a finite element function of a 3D argument.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
fem3d_sample, a MATLAB code which evaluates a finite element function defined on 3D tetrahedral mesh.
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.