[][src]Function gmsh_sys::gmshModelMeshGetElementsByType

pub unsafe extern "C" fn gmshModelMeshGetElementsByType(
    elementType: c_int,
    elementTags: *mut *mut usize,
    elementTags_n: *mut usize,
    nodeTags: *mut *mut usize,
    nodeTags_n: *mut usize,
    tag: c_int,
    task: usize,
    numTasks: usize,
    ierr: *mut c_int
)

Get the elements of type elementType classified on the entity of tag tag. If tag < 0, get the elements for all entities. elementTags is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. nodeTags is a vector of length equal to the number of elements of the given type times the number N of nodes for this type of element, that contains the node tags of all the elements of the given type, concatenated: [e1n1, e1n2, ..., e1nN, e2n1, ...]. If numTasks > 1, only compute and return the part of the data indexed by task.