Function gmshModelMeshGetBasisFunctionsForElements

Source
pub unsafe extern "C" fn gmshModelMeshGetBasisFunctionsForElements(
    elementType: c_int,
    integrationPoints: *mut f64,
    integrationPoints_n: usize,
    functionSpaceType: *const c_char,
    numComponents: *mut c_int,
    numFunctionsPerElements: *mut c_int,
    basisFunctions: *mut *mut f64,
    basisFunctions_n: *mut usize,
    tag: c_int,
    ierr: *mut c_int,
)
Expand description

Get the element-dependent basis functions of the elements of type elementType in the entity of tag tagat 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. “H1Legendre3” or “GradH1Legendre3” for 3rd order hierarchical H1 Legendre functions or their gradient, in the u, v, w coordinates of the reference elements). numComponents returns the number C of components of a basis function. numBasisFunctions returns the number N of basis functions per element. basisFunctions returns the value of the basis functions at the integration points for each element: [e1g1f1,…, e1g1fN, e1g2f1,…, e2g1f1, …] when C == 1 or [e1g1f1u, e1g1f1v,…, e1g1fNw, e1g2f1u,…, e2g1f1u, …]. Warning: this is an experimental feature and will probably change in a future release.