[][src]Function gmsh_sys::gmshModelMeshGetElements

pub unsafe extern "C" fn gmshModelMeshGetElements(
    elementTypes: *mut *mut c_int,
    elementTypes_n: *mut usize,
    elementTags: *mut *mut *mut usize,
    elementTags_n: *mut *mut usize,
    elementTags_nn: *mut usize,
    nodeTags: *mut *mut *mut usize,
    nodeTags_n: *mut *mut usize,
    nodeTags_nn: *mut usize,
    dim: c_int,
    tag: c_int,
    ierr: *mut c_int
)

Get the elements classified on the entity of dimension dim and tag tag. If tag < 0, get the elements for all entities of dimension dim. If dim and tag are negative, get all the elements in the mesh. elementTypes contains the MSH types of the elements (e.g. 2 for 3-node triangles: see getElementProperties to obtain the properties for a given element type). elementTags is a vector of the same length as elementTypes; each entry is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. nodeTags is also a vector of the same length as elementTypes; each entry 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, ...].