mmgs
|
Create implicit surface in mesh. More...
#include "mmgs.h"
Functions | |
static int | MMGS_ismaniball (MMG5_pMesh mesh, MMG5_pSol sol, int start, char istart) |
static int | MMGS_snpval_ls (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMGS_chkmaniball (MMG5_pMesh mesh, int start, char istart) |
static int | MMGS_chkmanimesh (MMG5_pMesh mesh) |
static int | MMGS_cuttri_ls (MMG5_pMesh mesh, MMG5_pSol sol) |
static int | MMGS_setref_ls (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMGS_mmgs2 (MMG5_pMesh mesh, MMG5_pSol sol) |
Create implicit surface in mesh.
int MMGS_chkmaniball | ( | MMG5_pMesh | mesh, |
int | start, | ||
char | istart | ||
) |
mesh | pointer toward the mesh structure. |
start | index of starting tria. |
istart | local index of point that we check (in tria start) |
Check whether the ball of vertex i in tria start is manifold;
|
static |
mesh | pointer toward the mesh. |
Check whether the resulting two subdomains occupying mesh are manifold.
|
static |
mesh | pointer toward the mesh structure. |
sol | pointer toward the level-set values. |
Proceed to discretization of the implicit function carried by sol into mesh, once values of sol have been snapped/checked
|
static |
mesh | pointer toward the mesh structure. |
sol | pointer toward the level-set values. |
start | index of the starting tria |
istart | local index (inside the tria start) of the vertex that we check. |
Check whether snapping the value of vertex istart of start to 0 exactly leads to a non manifold situation.
int MMGS_mmgs2 | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the solution structure |
Create implicit surface in mesh.
|
static |
mesh | pointer toward the mesh structure. |
sol | pointer toward the level-set values. |
Set references to tris according to the sign of the level set function.
|
static |
mesh | pointer toward the mesh structure. |
sol | pointer toward the level-set function. |
Snap values of the level set function very close to 0 to exactly 0, and prevent nonmanifold patterns from being generated.