|
mmg3d
|
Check the input mesh validity. More...
#include "mmg3d.h"
Macros | |
| #define | MMG5_EPSLOC 1.00005 |
| #define | IEDG(a, b) (((a) > 0) && ((b) > 0)) ? ((a)+(b)) : (((a)+(b))-(1)) |
Functions | |
| void | MMG5_chkvol (MMG5_pMesh mesh) |
| static int | MMG3D_chk_shellEdgeTag_oneDir (MMG5_pMesh mesh, int start, int na, int nb, int16_t tag, int ref, int piv, int adj) |
| int | MMG3D_chk_shellEdgeTag (MMG5_pMesh mesh, int start, int8_t ia, int16_t tag, int ref) |
| void | MMG3D_chkmeshedgestags (MMG5_pMesh mesh) |
| void | MMG3D_chkedgetag (MMG5_pMesh mesh, int ip1, int ip2, int tag) |
| void | MMG3D_chkpointtag (MMG5_pMesh mesh) |
| int | MMG5_chkmshsurf (MMG5_pMesh mesh) |
| int | MMG5_mmg3dChkmsh (MMG5_pMesh mesh, int severe, int base) |
| int | MMG5_chkptonbdy (MMG5_pMesh mesh, int np) |
| int | MMG5_cntbdypt (MMG5_pMesh mesh, int nump) |
| int | MMG5_chkfemtopo (MMG5_pMesh mesh) |
| int | srcface (MMG5_pMesh mesh, int n0, int n1, int n2) |
Variables | |
| int8_t | ddb |
Check the input mesh validity.
| #define IEDG | ( | a, | |
| b | |||
| ) | (((a) > 0) && ((b) > 0)) ? ((a)+(b)) : (((a)+(b))-(1)) |
| #define MMG5_EPSLOC 1.00005 |
| int MMG3D_chk_shellEdgeTag | ( | MMG5_pMesh | mesh, |
| int | start, | ||
| int8_t | ia, | ||
| int16_t | tag, | ||
| int | ref | ||
| ) |
| mesh | pointer toward the mesh |
| start | tetra from which we start to travel |
| ia | local index of edge that must be updated |
| tag | edge tag |
| ref | edge ref |
Test consistency of tag and ref of the boundary edge \ia of tetra start by traveling its shell.


|
inlinestatic |
| mesh | pointer toward the mesh |
| start | tetra from which we start to travel |
| na | edge vertex |
| nb | edge vertex |
| tag | edge tag |
| ref | edge ref |
| piv | global index of the pivot to set the sense of travel |
| adj | index of adjacent tetra for the travel |
Test consistency of tag and ref of the edge na nb from tetra start by traveling its shell in one direction (given by the pivot piv).


| void MMG3D_chkedgetag | ( | MMG5_pMesh | mesh, |
| int | ip1, | ||
| int | ip2, | ||
| int | tag | ||
| ) |
| mesh | pointer toward the mesh |
| ip1 | first vertex of edge to test |
| ip2 | second vertex of edge to test |
| tag | edge tag |
Test consistency between the tags of the edge ip1 - ip2 from all the tetra of the edge shell.


| void MMG3D_chkmeshedgestags | ( | MMG5_pMesh | mesh | ) |
| mesh | pointer toward the mesh |
Test consistency between the tags in the xtetra of all mesh edges marked as boundaries.


| void MMG3D_chkpointtag | ( | MMG5_pMesh | mesh | ) |
| mesh | Test consistency between points and edges tags. If an error is detected, hash mesh edges to check the consistency between the tags of tetra edges. |
Check consistency between edge tags and point tags
An error has been detected: check the consistency between the tags of tetra edges
An error has been detected: check the consistency between the tags of tetra edges
An error has been detected: check the consistency between the tags of tetra edges
An error has been detected: check the consistency between the tags of tetra edges


| int MMG5_chkfemtopo | ( | MMG5_pMesh | mesh | ) |
| mesh | pointer toward the mesh structure. |
Count the number of tetras that have several boundary faces, as well as the number of internal edges connecting points of the boundary.


| int MMG5_chkmshsurf | ( | MMG5_pMesh | mesh | ) |
| int MMG5_chkptonbdy | ( | MMG5_pMesh | mesh, |
| int | np | ||
| ) |
Search boundary faces containing point np.

| void MMG5_chkvol | ( | MMG5_pMesh | mesh | ) |
| mesh | pointer toward mesh |
Test that tetra have positive volumes.

| int MMG5_cntbdypt | ( | MMG5_pMesh | mesh, |
| int | nump | ||
| ) |
Count how many boundary faces share point nump.

| int MMG5_mmg3dChkmsh | ( | MMG5_pMesh | mesh, |
| int | severe, | ||
| int | base | ||
| ) |
| mesh | pointer toward the mesh structure. |
| severe | level of performed check |
| base | unused argument. |
Check the mesh validity


| int srcface | ( | MMG5_pMesh | mesh, |
| int | n0, | ||
| int | n1, | ||
| int | n2 | ||
| ) |
Search face n0,n1,n2 in mesh, and get the support tetras, with the corresponding refs.

|
extern |