[][src]Function gmsh_sys::gmshModelMeshGetElement

pub unsafe extern "C" fn gmshModelMeshGetElement(
    elementTag: usize,
    elementType: *mut c_int,
    nodeTags: *mut *mut usize,
    nodeTags_n: *mut usize,
    ierr: *mut c_int
)

Get the type and node tags of the element with tag tag. This is a sometimes useful but inefficient way of accessing elements, as it relies on a cache stored in the model. For large meshes all the elements in the model should be numbered in a continuous sequence of tags from 1 to N to maintain reasonable performance (in this case the internal cache is based on a vector; otherwise it uses a map).