[−][src]Function gmsh_sys::gmshModelMeshGetJacobians
pub unsafe extern "C" fn gmshModelMeshGetJacobians(
elementType: c_int,
integrationPoints: *mut f64,
integrationPoints_n: usize,
jacobians: *mut *mut f64,
jacobians_n: *mut usize,
determinants: *mut *mut f64,
determinants_n: *mut usize,
points: *mut *mut f64,
points_n: *mut usize,
tag: c_int,
task: usize,
numTasks: usize,
ierr: *mut c_int
)
Get the Jacobians of all the elements of type elementType
classified on
the entity of tag tag
, at the G integration points integrationPoints
given as concatenated triplets of coordinates in the reference element
[g1u, g1v, g1w, ..., gGu, gGv, gGw]. Data is returned by element, with
elements in the same order as in getElements
and getElementsByType
.
jacobians
contains for each element the 9 entries of the 3x3 Jacobian
matrix at each integration point. The matrix is returned by column:
[e1g1Jxu, e1g1Jyu, e1g1Jzu, e1g1Jxv, ..., e1g1Jzw, e1g2Jxu, ..., e1gGJzw,
e2g1Jxu, ...], with Jxu=dx/du, Jyu=dy/du, etc. determinants
contains for
each element the determinant of the Jacobian matrix at each integration
point: [e1g1, e1g2, ... e1gG, e2g1, ...]. points
contains for each
element the x, y, z coordinates of the integration points. If tag
< 0,
get the Jacobian data for all entities. If numTasks
> 1, only compute and
return the part of the data indexed by task
.