Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions for swapping process over boundary. More...
Go to the source code of this file.
Functions | |
int | MMG5_chkswpbdy (MMG5_pMesh mesh, MMG5_pSol met, int64_t *list, int ilist, MMG5_int it1, MMG5_int it2, int8_t typchk) |
int | MMG5_swpbdy (MMG5_pMesh mesh, MMG5_pSol met, int64_t *list, int ret, MMG5_int it1, MMG3D_pPROctree PROctree, int8_t typchk) |
int | MMG3D_swap23 (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int k, int8_t metRidTyp, int ifac, int conf0, MMG5_int adj, int conf1) |
Variables | |
int8_t | ddb |
Functions for swapping process over boundary.
Definition in file swap_3d.c.
int MMG3D_swap23 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_int | k, | ||
int8_t | metRidTyp, | ||
int | ifac, | ||
int | conf0, | ||
MMG5_int | adj, | ||
int | conf1 | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the sol structure. |
k | index of the tetrahedron with multiple boundary faces (to be swapped). |
metRidTyp | metric storage (classic or special) |
ifac | face of the tetra k that give the best results for the swap23 |
conf0 | detected configuration for the swap23 of the tetra k |
adj | neighbour of the tetra k through the face ifac (4*k1+ifac1) |
conf1 | detected configuration for the swap23 of the tetra adj/4 |
Search an adjacent to the tetra k and perform swap 2->3 (the common face of the 2 tetra is destroyed and replaced by a common edge used by the three new elts).
Neighbouring element with which we will try to swap
Swap
Quality Update
Definition at line 625 of file swap_3d.c.
int MMG5_chkswpbdy | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int64_t * | list, | ||
int | ilist, | ||
MMG5_int | it1, | ||
MMG5_int | it2, | ||
int8_t | typchk | ||
) |
mesh | pointer to the mesh structure. |
met | pointer to the metric structure. |
list | pointer to the shell of the edge. |
ilist | pointer to the size of the shell of the edge. |
it1 | first element of the open shell. |
it2 | last element of the open shell. |
typchk | type of checking permformed for edge length (hmin or LSHORT criterion). |
Check whether edge whose shell is provided should be swapped for geometric approximation purposes (the 2 surface triangles are also provided).
Definition at line 57 of file swap_3d.c.
int MMG5_swpbdy | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int64_t * | list, | ||
int | ret, | ||
MMG5_int | it1, | ||
MMG3D_pPROctree | PROctree, | ||
int8_t | typchk | ||
) |
mesh | pointer to the mesh structure |
met | pointer to the solution structure |
list | pointer to the shell of the edge |
ret | dobble of the number of tetrahedra in the shell |
it1 | boundary face carrying the beforehand tested terminal point for collapse |
PROctree | pointer to the PROctree structure in Delaunay mode, NULL pointer in pattern mode. |
typchk | type of checking permformed for edge length (hmin or LSHORT criterion). |
Swap boundary edge whose shell is provided.
Definition at line 489 of file swap_3d.c.
|
extern |
Definition at line 42 of file mmg3d1_delone.c.