mmg2d
mmg2.c File Reference
#include "mmgcommon.h"
Include dependency graph for mmg2.c:

Functions

int MMG5_isSplit (MMG5_pMesh mesh, int ref, int *refint, int *refext)
 
int MMG5_getIniRef (MMG5_pMesh mesh, int ref)
 

Function Documentation

◆ MMG5_getIniRef()

int MMG5_getIniRef ( MMG5_pMesh  mesh,
int  ref 
)
Parameters
meshpointer toward the mesh
reffinal reference for which we are searching the initial one
Returns
initial reference associated to ref if founded, ref if not founded.

Retrieve the initial domain reference associated to the (split) reference ref.

Here is the caller graph for this function:

◆ MMG5_isSplit()

int MMG5_isSplit ( MMG5_pMesh  mesh,
int  ref,
int *  refint,
int *  refext 
)
Parameters
meshpointer toward the mesh structure.
refinitial reference.
refintinternal reference after ls discretization.
refintinternal reference after ls discretization.
Returns
1 if entity can be splitted, 0 if cannot be splitted.

Identify whether an entity with reference ref should be split, and the labels of the resulting entities.

Here is the caller graph for this function: