Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
mmg2d2.c File Reference

Mesh generation functions. More...

#include "libmmg2d_private.h"
#include "mmgexterns_private.h"
Include dependency graph for mmg2d2.c:

Go to the source code of this file.

Functions

int MMG2D_removeBBtriangles (MMG5_pMesh mesh)
 
int MMG2D_settagtriangles (MMG5_pMesh mesh, MMG5_pSol sol)
 
MMG5_int MMG2D_findtrianglestate (MMG5_pMesh mesh, MMG5_int k, MMG5_int ip1, MMG5_int ip2, MMG5_int ip3, MMG5_int ip4, MMG5_int base)
 
static MMG5_int MMG2D_findTria_exhaust (MMG5_pMesh mesh, MMG5_int k)
 
int MMG2D_insertpointdelone (MMG5_pMesh mesh, MMG5_pSol sol)
 
int MMG2D_markSD (MMG5_pMesh mesh)
 
int MMG2D_mmg2d2 (MMG5_pMesh mesh, MMG5_pSol sol)
 

Detailed Description

Mesh generation functions.

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

Definition in file mmg2d2.c.

Function Documentation

◆ MMG2D_findTria_exhaust()

static MMG5_int MMG2D_findTria_exhaust ( MMG5_pMesh  mesh,
MMG5_int  k 
)
inlinestatic
Parameters
meshpointer toward mesh
kpoint index
Returns
index of one elt containing k or 0 (if no elt is found)

Return the index of one triangle containing k (performing exhausting search if needed).

Definition at line 166 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_findtrianglestate()

MMG5_int MMG2D_findtrianglestate ( MMG5_pMesh  mesh,
MMG5_int  k,
MMG5_int  ip1,
MMG5_int  ip2,
MMG5_int  ip3,
MMG5_int  ip4,
MMG5_int  base 
)

Definition at line 133 of file mmg2d2.c.

Here is the caller graph for this function:

◆ MMG2D_insertpointdelone()

int MMG2D_insertpointdelone ( MMG5_pMesh  mesh,
MMG5_pSol  sol 
)
Parameters
meshpointer toward the mesh structure
solpointer toward the solution structure
Returns
0 if fail.

Insertion of the list of points inside the mesh (Vertices mesh->np - 3, 2, 1, 0 are the vertices of the BB and have already been inserted)

Definition at line 207 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_markSD()

int MMG2D_markSD ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh structure.
Returns
0 if fail, 1 if success.

Put different references on different subdomains

Definition at line 320 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_mmg2d2()

int MMG2D_mmg2d2 ( MMG5_pMesh  mesh,
MMG5_pSol  sol 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the sol structure.
Returns
0 if fail, 1 if success.

Mesh triangulation.

Definition at line 508 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_removeBBtriangles()

int MMG2D_removeBBtriangles ( MMG5_pMesh  mesh)
Parameters
meshpointer toward the mesh structure.
Returns
1 if success, 0 if fail.

Remove the bounding box triangles.

Definition at line 43 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG2D_settagtriangles()

int MMG2D_settagtriangles ( MMG5_pMesh  mesh,
MMG5_pSol  sol 
)

Definition at line 100 of file mmg2d2.c.

Here is the call graph for this function:
Here is the caller graph for this function: