[−][src]Function gmsh_sys::gmshModelMeshGetBasisFunctions
pub unsafe extern "C" fn gmshModelMeshGetBasisFunctions(
elementType: c_int,
integrationPoints: *mut f64,
integrationPoints_n: usize,
functionSpaceType: *const c_char,
numComponents: *mut c_int,
basisFunctions: *mut *mut f64,
basisFunctions_n: *mut usize,
ierr: *mut c_int
)
Get the basis functions of the element of type elementType
at the
integration points integrationPoints
(given as concatenated triplets of
coordinates in the reference element [g1u, g1v, g1w, ..., gGu, gGv, gGw]),
for the function space functionSpaceType
(e.g. "Lagrange" or
"GradLagrange" for Lagrange basis functions or their gradient, in the u, v,
w coordinates of the reference element). numComponents
returns the number
C of components of a basis function. basisFunctions
returns the value of
the N basis functions at the integration points, i.e. [g1f1, g1f2, ...,
g1fN, g2f1, ...] when C == 1 or [g1f1u, g1f1v, g1f1w, g1f2u, ..., g1fNw,
g2f1u, ...] when C == 3.