Function gmshModelMeshAddElementsByType

Source
pub unsafe extern "C" fn gmshModelMeshAddElementsByType(
    tag: c_int,
    elementType: c_int,
    elementTags: *mut usize,
    elementTags_n: usize,
    nodeTags: *mut usize,
    nodeTags_n: usize,
    ierr: *mut c_int,
)
Expand description

Add elements of type elementType classified on the entity of tag tag. elementTags contains 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 times the number N of nodes per element, that contains the node tags of all the elements, concatenated: [e1n1, e1n2, …, e1nN, e2n1, …]. If the elementTag vector is empty, new tags are automatically assigned to the elements.