|
mmg3d
|
Functions for vertices collapsing. More...
#include "inlined_functions_3d.h"
Functions | |
| int | MMG5_chkcol_int (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t iface, int8_t iedg, int *list, int ilist, int8_t typchk) |
| static int | MMG5_topchkcol_bdy (MMG5_pMesh mesh, int k, int iface, int8_t iedg, int *lists, int ilists) |
| int | MMG5_chkcol_bdy (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t iface, int8_t iedg, int *listv, int ilistv, int *lists, int ilists, int refmin, int refplus, int8_t typchk, int isnm) |
| int | MMG5_chkcol_nomint (MMG5_pMesh mesh, MMG5_pSol met, int k, int8_t iface, int8_t iedg, int *listv, int ilistv, int8_t typchk) |
| int | MMG5_colver (MMG5_pMesh mesh, MMG5_pSol met, int *list, int ilist, int8_t indq, int8_t typchk) |
Variables | |
| int8_t | ddb |
Functions for vertices collapsing.
| int MMG5_chkcol_bdy | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | k, | ||
| int8_t | iface, | ||
| int8_t | iedg, | ||
| int * | listv, | ||
| int | ilistv, | ||
| int * | lists, | ||
| int | ilists, | ||
| int | refmin, | ||
| int | refplus, | ||
| int8_t | typchk, | ||
| int | isnm | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| k | index of element in which we collapse. |
| iface | face through wich we perform the collapse |
| iedg | edge to collapse (in local face num) |
| listv | pointer toward the list of the tetra in the ball of p0. |
| ilistv | number of tetra in the ball of p0. |
| lists | pointer toward the surfacic ball of p0. |
| ilists | number of tetra in the surfacic ball of p0. |
| refmin | reference of one of the two subdomains in presence |
| refplus | reference of the other subdomain in presence |
| typchk | typchk type of checking permformed for edge length (hmax or MMG3D_LLONG criterion). |
| isnm | 1 if edge is non-manifold |
Check whether collapse ip -> iq could be performed, ip boundary point ; 'mechanical' tests (positive jacobian) are not performed here ; iface = boundary face on which lie edge iedg - in local face num. (pq, or ia in local tet notation). If isnm is 1, the collapse occurs along an external MG_NOM edge.


| int MMG5_chkcol_int | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | k, | ||
| int8_t | iface, | ||
| int8_t | iedg, | ||
| int * | list, | ||
| int | ilist, | ||
| int8_t | typchk | ||
| ) |
Check whether collapse ip -> iq could be performed, ip internal ; 'mechanical' tests (positive jacobian) are not performed here


| int MMG5_chkcol_nomint | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | k, | ||
| int8_t | iface, | ||
| int8_t | iedg, | ||
| int * | listv, | ||
| int | ilistv, | ||
| int8_t | typchk | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| k | index of element in which we collapse. |
| iface | face through wich we perform the collapse |
| iedg | edge to collapse (in local face num) |
| listv | pointer toward the list of the tetra in the ball of p0. |
| ilistv | number of tetra in the ball of p0. |
| typchk | typchk type of checking permformed for edge length (hmax or MMG3D_LLONG criterion). |
Check whether collapse ip -> iq could be performed, ip internal non manifold point; 'mechanical' tests (positive jacobian) are not performed here ; iface = boundary face on which lie edge iedg - in local face num. (pq, or ia in local tet notation).


| int MMG5_colver | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int * | list, | ||
| int | ilist, | ||
| int8_t | indq, | ||
| int8_t | typchk | ||
| ) |
| mesh | pointer toward the mesh |
| met | pointer toward the metric |
| list | pointer toward the ball of the point |
| ilist | number of elements in the ball of the point |
| indq | local index of the point on which we collapse |
| typchk | type of check performed depending on the remeshing step |
Collapse vertex p = list[0]%4 of tetra list[0]/4 over vertex indq of tetra list[0]/4. Only physical tests (positive jacobian) are done (i.e. approximation of the surface, etc... must be performed outside).


|
static |
| mesh | pointer toward the mesh structure. |
| k | index of the starting tetra. |
| iface | local index of the starting face in the tetra k. |
| ideg | local index of the starting edge in the face iface. |
| lists | surfacic ball of p. |
| ilists | number of elements in the surfacic ball of p. |
Topological check on the surface ball of np and nq in collapsing np->nq ; iface = boundary face on which lie edge iedg - in local face num. (pq, or ia in local tet notation). See the Mmg Google Drive/Documentation/mmg3d/topchkcol_bdy3D.pdf for a picture of the configuration.


| int8_t ddb |