[][src]Function gmsh_sys::gmshModelAddDiscreteEntity

pub unsafe extern "C" fn gmshModelAddDiscreteEntity(
    dim: c_int,
    tag: c_int,
    boundary: *mut c_int,
    boundary_n: usize,
    ierr: *mut c_int
) -> c_int

Add a discrete model entity (defined by a mesh) of dimension dim in the current model. Return the tag of the new discrete entity, equal to tag if tag is positive, or a new tag if tag < 0. boundary specifies the tags of the entities on the boundary of the discrete entity, if any. Specifying boundary allows Gmsh to construct the topology of the overall model.