mmg3d
|
Functions for vertices collapsing. More...
#include "inlined_functions_3d.h"
Functions | |
int | MMG5_chkcol_int (MMG5_pMesh mesh, MMG5_pSol met, int k, char iface, char iedg, int *list, int ilist, char typchk) |
static int | MMG5_topchkcol_bdy (MMG5_pMesh mesh, int k, int iface, char iedg, int *lists, int ilists) |
int | MMG5_chkcol_bdy (MMG5_pMesh mesh, MMG5_pSol met, int k, char iface, char iedg, int *listv, int ilistv, int *lists, int ilists, char typchk) |
int | MMG5_colver (MMG5_pMesh mesh, MMG5_pSol met, int *list, int ilist, char indq, char typchk) |
Variables | |
char | ddb |
Functions for vertices collapsing.
int MMG5_chkcol_bdy | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int | k, | ||
char | iface, | ||
char | iedg, | ||
int * | listv, | ||
int | ilistv, | ||
int * | lists, | ||
int | ilists, | ||
char | 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. |
lists | pointer toward the surfacic ball of p0. |
ilists | number of tetra in the surfacic 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 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).
int MMG5_chkcol_int | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int | k, | ||
char | iface, | ||
char | iedg, | ||
int * | list, | ||
int | ilist, | ||
char | typchk | ||
) |
Check whether collapse ip -> iq could be performed, ip internal ; 'mechanical' tests (positive jacobian) are not performed here
int MMG5_colver | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int * | list, | ||
int | ilist, | ||
char | indq, | ||
char | 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.
char ddb |