![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Generic algebraic and algorithmic tools. More...
#include "libmmgs_private.h"
Go to the source code of this file.
Functions | |
| int | delref (MMG5_pMesh mesh) |
| int | setref (MMG5_pMesh mesh, MMG5_int start, MMG5_int ref, int putreq) |
| MMG5_int | MMGS_indElt (MMG5_pMesh mesh, MMG5_int kel) |
| MMG5_int | MMGS_indPt (MMG5_pMesh mesh, MMG5_int kp) |
| void | MMGS_keep_only1Subdomain (MMG5_pMesh mesh, MMG5_int nsd) |
Generic algebraic and algorithmic tools.
Definition in file gentools_s.c.
| int delref | ( | MMG5_pMesh | mesh | ) |
Definition at line 39 of file gentools_s.c.
| MMG5_int MMGS_indElt | ( | MMG5_pMesh | mesh, |
| MMG5_int | kel | ||
| ) |
find the element number in packed numerotation
Definition at line 123 of file gentools_s.c.

| MMG5_int MMGS_indPt | ( | MMG5_pMesh | mesh, |
| MMG5_int | kp | ||
| ) |
find the point number in packed numerotation
Definition at line 139 of file gentools_s.c.

| void MMGS_keep_only1Subdomain | ( | MMG5_pMesh | mesh, |
| MMG5_int | nsd | ||
| ) |
| mesh | pointer to the mesh structure. |
| nsd | index of subdomain to keep. |
Keep only subdomain of index nsd and remove other subdomains.
Definition at line 161 of file gentools_s.c.


| int setref | ( | MMG5_pMesh | mesh, |
| MMG5_int | start, | ||
| MMG5_int | ref, | ||
| int | putreq | ||
| ) |
| mesh | pointer to the mesh |
| start | index of the tetra from which we start |
| ref | reference to set |
| putreq | 1 if boundary edges must be set to required |
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.
Definition at line 64 of file gentools_s.c.