mmg3d
|
Fonctions for isotropic size map computation. More...
Macros | |
#define | MAXLEN 1.0e9 |
#define | A64TH 0.015625 |
#define | A16TH 0.0625 |
#define | A32TH 0.03125 |
Functions | |
double | _MMG5_lenedgCoor_iso (double *ca, double *cb, double *ma, double *mb) |
Compute edge length from edge's coordinates. More... | |
static double | _MMG5_defsizreg (MMG5_pMesh mesh, MMG5_pSol met, int nump, int *lists, int ilists, double hmin, double hmax, double hausd) |
double | _MMG5_meansizreg_iso (MMG5_pMesh mesh, MMG5_pSol met, int nump, int *lists, int ilists, double hmin, double hmax) |
int | _MMG3D_defsiz_iso (MMG5_pMesh mesh, MMG5_pSol met) |
int | _MMG5_gradsiz_iso (MMG5_pMesh mesh, MMG5_pSol met) |
Variables | |
char | ddb |
Fonctions for isotropic size map computation.
#define A16TH 0.0625 |
#define A32TH 0.03125 |
#define A64TH 0.015625 |
#define MAXLEN 1.0e9 |
int _MMG3D_defsiz_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
Define isotropic size map at all boundary vertices of the mesh, associated with geometric approx, and prescribe hmax at the internal vertices Field h of Point is used, to store the prescribed size (not inverse, squared,...)
1) Size at internal points
First step: search for local parameters
Second step: set the metric
Set size at points that cannot be reached from the tetra
First step: search for local parameters
Second step: set the metric
Set size at points that cannot be reached from the tetra
2) size at regular surface points
First step: search for local parameters
Second step: set the metric
3) Travel all boundary faces to update size prescription for points on ridges/edges
First step: search for local parameters
Second step: set metric
|
static |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
nump | index of point in which the size must be computed. |
lists | pointer toward the surfacic ball of nump. |
ilists | size of surfacic ball of nump. |
hmin | minimal edge size. |
hmax | maximal edge size. |
hausd | hausdorff value. |
Define isotropic size at regular point nump, whose surfacic ball is provided.
int _MMG5_gradsiz_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
Enforce mesh gradation by truncating size map.
|
inline |
Compute edge length from edge's coordinates.
*ca | pointer toward the coordinates of the first edge's extremity. |
*cb | pointer toward the coordinates of the second edge's extremity. |
*ma | pointer toward the metric associated to the first edge's extremity. |
*mb | pointer toward the metric associated to the second edge's extremity. |
Compute length of edge (with ca and cb coordinates of edge extremities) according to the isotropic size prescription.
double _MMG5_meansizreg_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
int | nump, | ||
int * | lists, | ||
int | ilists, | ||
double | hmin, | ||
double | hmax | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
nump | index of point in which the size must be computed. |
lists | pointer toward the surfacic ball of nump. |
ilists | size of surfacic ball of nump. |
hmin | minimal edge size. |
hmax | maximal edge size. |
For -nosurf option : define isotropic size at regular point nump, whose surfacic ball is provided. The size is computed as the mean of the length of the surface edges passing through nump.
char ddb |