mmg3d
|
Functions for the optimization of very bad elements. More...
#include "inlined_functions_3d.h"
Functions | |
static int | MMG3D_typelt (MMG5_pMesh mesh, int iel, int *item) |
int | MMG3D_swpItem (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int k, int iar) |
static int | MMG3D_swpalmostall (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int k, int iar) |
int | MMG3D_splitItem (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int k, int iar, double OCRIT) |
static int | MMG3D_splitalmostall (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int k, int iar) |
int | MMG3D_opttyp (MMG5_pMesh mesh, MMG5_pSol met, MMG3D_pPROctree PROctree, int testmark) |
Functions for the optimization of very bad elements.
int MMG3D_opttyp | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int | testmark | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
testmark | all the tets with a mark less than testmark will not be treated. |
Travel across the mesh to detect element with very bad quality (less than 0.2) and try to improve them by every means.
|
inlinestatic |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
k | elt index. |
iar | index of edge to not split. |
Try to split evry edge of tetra k except of edge number iar.
int MMG3D_splitItem | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int | k, | ||
int | iar, | ||
double | OCRIT | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
k | elt index. |
iar | index of edge to split. |
OCRIT | quality threshold. |
Try to split edge number iar of tetra k
|
inlinestatic |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
k | elt index. |
iar | index of edge to not try to swap. |
Try to swap all edges of tetra k except of the edge number iar.
int MMG3D_swpItem | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG3D_pPROctree | PROctree, | ||
int | k, | ||
int | iar | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
PROctree | pointer toward the PROctree structure. |
k | elt index. |
iar | index of edge to not try to swap. |
Try to swap edge iar of tetra k.
|
static |
mesh | pointer toward the mesh structure. |
iel | element index. |
item | bad entity. |
Identify the type of element.
Type:
Element caracteristics by type: