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

Various tools. More...

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

Go to the source code of this file.

Functions

MMG5_int MMG2D_indElt (MMG5_pMesh mesh, MMG5_int kel)
 
MMG5_int MMG2D_indPt (MMG5_pMesh mesh, MMG5_int kp)
 
void MMG2D_keep_only1Subdomain (MMG5_pMesh mesh, int nsd)
 

Detailed Description

Various tools.

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

Definition in file tools_2d.c.

Function Documentation

◆ MMG2D_indElt()

MMG5_int MMG2D_indElt ( MMG5_pMesh  mesh,
MMG5_int  kel 
)
Parameters
meshpointer toward the mesh structure.
kelindex of the element in the unpacked mesh
Returns
0 if fail, index of the element in packed numerotation otherwise.

find the element index in packed numerotation

Definition at line 46 of file tools_2d.c.

Here is the caller graph for this function:

◆ MMG2D_indPt()

MMG5_int MMG2D_indPt ( MMG5_pMesh  mesh,
MMG5_int  kp 
)
Parameters
meshpointer toward the mesh structure.
kpindex of the point in the unpacked mesh
Returns
0 if fail, index of the point in packed numerotation otherwise.

find the point index in packed numerotation

Definition at line 70 of file tools_2d.c.

Here is the caller graph for this function:

◆ MMG2D_keep_only1Subdomain()

void MMG2D_keep_only1Subdomain ( MMG5_pMesh  mesh,
int  nsd 
)
Parameters
meshpointer toward the mesh structure.
nsdindex of subdomain to keep.

Keep only subdomain of index nsd and remove other subdomains.

Definition at line 92 of file tools_2d.c.

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