|
mmgs
|
Generic algebraic and algorithmic tools. More...
#include "mmgs.h"
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) |
| void | MMGS_keep_only1Subdomain (MMG5_pMesh mesh, int nsd) |
Generic algebraic and algorithmic tools.
| int delref | ( | MMG5_pMesh | mesh | ) |
| int MMGS_indElt | ( | MMG5_pMesh | mesh, |
| int | kel | ||
| ) |
find the element number in packed numerotation

| int MMGS_indPt | ( | MMG5_pMesh | mesh, |
| int | kp | ||
| ) |
find the point number in packed numerotation

| void MMGS_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.


| int setref | ( | MMG5_pMesh | mesh, |
| int | start, | ||
| int | ref, | ||
| int | putreq | ||
| ) |
| mesh | pointer toward 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.
