mmg2d
|
Various tools. More...
#include "mmg2d.h"
Functions | |
int | MMG2D_indElt (MMG5_pMesh mesh, int kel) |
int | MMG2D_indPt (MMG5_pMesh mesh, int kp) |
void | MMG2D_keep_only1Subdomain (MMG5_pMesh mesh, int nsd) |
Various tools.
int MMG2D_indElt | ( | MMG5_pMesh | mesh, |
int | kel | ||
) |
mesh | pointer toward the mesh structure. |
kel | index of the element in the unpacked mesh |
find the element index in packed numerotation
int MMG2D_indPt | ( | MMG5_pMesh | mesh, |
int | kp | ||
) |
mesh | pointer toward the mesh structure. |
kp | index of the point in the unpacked mesh |
find the point index in packed numerotation
void MMG2D_keep_only1Subdomain | ( | MMG5_pMesh | mesh, |
int | nsd | ||
) |
mesh | pointer toward the mesh structure. |
nsd | index of subdomain to keep. |
Keep only subdomain of index nsd and remove other subdomains.