Function gmshModelGetParent

Source
pub unsafe extern "C" fn gmshModelGetParent(
    dim: c_int,
    tag: c_int,
    parentDim: *mut c_int,
    parentTag: *mut c_int,
    ierr: *mut c_int,
)
Expand description

In a partitioned model, get the parent of the entity of dimension dim and tag tag, i.e. from which the entity is a part of, if any. parentDim and parentTag are set to -1 if the entity has no parent.