mmg2d
|
Isosurface discretization. More...
#include "mmg2d.h"
Functions | |
double | MMG2D_voltri (MMG5_pMesh mesh, int ip0, int ip1, int ip2) |
double | MMG2D_vfrac (MMG5_pMesh mesh, MMG5_pSol sol, int k, int pm) |
int | MMG2D_resetRef (MMG5_pMesh mesh) |
int | MMG2D_ismaniball (MMG5_pMesh mesh, MMG5_pSol sol, int start, int8_t istart) |
int | MMG2D_snapval (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG2D_chkmaniball (MMG5_pMesh mesh, int start, int8_t istart) |
int | MMG2D_chkmanimesh (MMG5_pMesh mesh) |
int | MMG2D_rmc (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG2D_cuttri_ls (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met) |
int | MMG2D_setref_ls (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG2D_mmg2d6 (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met) |
Isosurface discretization.
int MMG2D_chkmaniball | ( | MMG5_pMesh | mesh, |
int | start, | ||
int8_t | istart | ||
) |
int MMG2D_chkmanimesh | ( | MMG5_pMesh | mesh | ) |
int MMG2D_cuttri_ls | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh |
sol | pointer toward the level-set |
met | pointer toward a metric (non-mandatory) |
Effective discretization of the 0 level set encoded in sol in the mesh
int MMG2D_ismaniball | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
int | start, | ||
int8_t | istart | ||
) |
int MMG2D_mmg2d6 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_pSol | met | ||
) |
int MMG2D_resetRef | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh |
Reset MG_ISO vertex and edge references to 0.
int MMG2D_rmc | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh |
sol | pointer toward the level-set |
Removal of small parasitic components (bubbles of material, etc) with volume less than mesh->info.rmc * volume of the mesh.
int MMG2D_setref_ls | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
int MMG2D_snapval | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the level-set |
Snap values of sol very close to 0 to 0 exactly (to avoid very small triangles in cutting)
double MMG2D_vfrac | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
int | k, | ||
int | pm | ||
) |
mesh | pointer toward the mesh structure |
sol | pointer toward the ls function |
k | index of the triangle |
Calculate the area of the positive (if pm == 1) or negative (if pm == -1) subdomain inside triangle k defined by the ls function in sol
|
inline |
mesh | pointer toward the mesh structure. |
ip0 | First vertex of the triangle |
ip1 | Second vertex of the triangle |
ip2 | Third vertex of the triangle |
Calculate the area of a triangle given by its vertices