Function gmshModelMeshGetIntegrationPoints

Source
pub unsafe extern "C" fn gmshModelMeshGetIntegrationPoints(
    elementType: c_int,
    integrationType: *const c_char,
    integrationPoints: *mut *mut f64,
    integrationPoints_n: *mut usize,
    integrationWeights: *mut *mut f64,
    integrationWeights_n: *mut usize,
    ierr: *mut c_int,
)
Expand description

Get the numerical quadrature information for the given element type elementType and integration rule integrationType (e.g. “Gauss4” for a Gauss quadrature suited for integrating 4th order polynomials). integrationPoints contains the u, v, w coordinates of the G integration points in the reference element: [g1u, g1v, g1w, …, gGu, gGv, gGw]. integrationWeigths contains the associated weights: [g1q, …, gGq].