mmgs
|
Fonctions for anisotropic size map computation. More...
Functions | |
static int | _MMG5_defmetsin (MMG5_pMesh mesh, MMG5_pSol met, int it, int ip) |
static int | _MMG5_defmetrid (MMG5_pMesh mesh, MMG5_pSol met, int it, int ip) |
static int | _MMG5_defmetref (MMG5_pMesh mesh, MMG5_pSol met, int it, int ip) |
static int | _MMG5_defmetreg (MMG5_pMesh mesh, MMG5_pSol met, int it, int ip) |
static int | _MMGS_intextmet (MMG5_pMesh mesh, MMG5_pSol met, int np, double me[6]) |
int | _MMGS_defsiz_ani (MMG5_pMesh mesh, MMG5_pSol met) |
int | gradsiz_ani (MMG5_pMesh mesh, MMG5_pSol met) |
Fonctions for anisotropic size map computation.
|
static |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
it | index of the triangle in which we work. |
ip | index of the point on which we want to compute the metric in it. |
Define metric map at a REF vertex of the mesh, associated to the geometric approx of the surface.
|
static |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
it | index of the triangle in which we work. |
ip | index of the point on which we want to compute the metric in it. |
Define metric map at a REGULAR vertex of the mesh, associated to the geometric approx of the surface.
|
static |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
it | index of the triangle in which we work. |
ip | index of the point on which we want to compute the metric in it. |
Compute metric tensor associated to a ridge point : convention is a bit weird here : p->m[0] is the specific size in direction t, p->m[1] is the specific size in direction , p->m[2] is the specific size in direction
, p->m[3] is the specific size in direction
(computed by the _MMG5_intextmet function), p->m[4] is the specific size in direction
, (computed by the _MMG5_intextmet function), and at each time, metric tensor has to be recomputed, depending on the side.
|
static |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
it | index of the triangle in which we work. |
ip | index of the point on which we want to compute the metric in it. |
Define metric map at a SINGULARITY of the geometry, associated to the geometric approx of the surface. metric ,
size.
int _MMGS_defsiz_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric stucture. |
Define size at points by intersecting the surfacic metric and the physical metric.
|
inlinestatic |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
np | global index of vertex in which we intersect the metrics. |
me | physical metric at point np. |
Intersect the surface metric held in np (supported in tangent plane of np) with 3*3 physical metric in me. For ridge points, this function fill the and
fields that contains respectively the specific sizes in the
and
directions.
int gradsiz_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric structure. |
Enforces mesh gradation by truncating metric field.