[−][src]Function gmsh_sys::gmshModelMeshGetBarycenters
pub unsafe extern "C" fn gmshModelMeshGetBarycenters(
elementType: c_int,
tag: c_int,
fast: c_int,
primary: c_int,
barycenters: *mut *mut f64,
barycenters_n: *mut usize,
task: usize,
numTasks: usize,
ierr: *mut c_int
)
Get the barycenters of all elements of type elementType
classified on the
entity of tag tag
. If primary
is set, only the primary nodes of the
elements are taken into account for the barycenter calculation. If fast
is set, the function returns the sum of the primary node coordinates
(without normalizing by the number of nodes). If tag
< 0, get the
barycenters for all entities. If numTasks
> 1, only compute and return
the part of the data indexed by task
.