mmgs
gentools_s.c File Reference

Generic algebraic and algorithmic tools. More...

#include "mmgs.h"
Include dependency graph for gentools_s.c:

Functions

int delref (MMG5_pMesh mesh)
 
int setref (MMG5_pMesh mesh, int start, int ref, int putreq)
 
int MMGS_indElt (MMG5_pMesh mesh, int kel)
 
int MMGS_indPt (MMG5_pMesh mesh, int kp)
 

Detailed Description

Generic algebraic and algorithmic tools.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5

Function Documentation

◆ delref()

int delref ( MMG5_pMesh  mesh)

◆ MMGS_indElt()

int MMGS_indElt ( MMG5_pMesh  mesh,
int  kel 
)

find the element number in packed numerotation

Here is the caller graph for this function:

◆ MMGS_indPt()

int MMGS_indPt ( MMG5_pMesh  mesh,
int  kp 
)

find the point number in packed numerotation

Here is the caller graph for this function:

◆ setref()

int setref ( MMG5_pMesh  mesh,
int  start,
int  ref,
int  putreq 
)
Parameters
meshpointer toward the mesh
startindex of the tetra from which we start
refreference to set
putreq1 if boundary edges must be set to required
Returns
1 if success, 0 if fail

Start from triangle start, and pile up triangles by adjacency, till a GEO or REF curve is met ; pass all references of travelled faces to ref ; putreq = 1 if boundary edges met must be set to MG_REQ, 0 otherwise.

Here is the call graph for this function: