![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions to compute the quality. More...

Go to the source code of this file.
Functions | |
| double | MMG2D_quickcal (MMG5_pMesh mesh, MMG5_pTria pt) |
| double | MMG2D_caltri_iso_3pt (double *a, double *b, double *c) |
| double | MMG2D_caltri_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt) |
| double | MMG2D_caltri_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt) |
| int | MMG2D_outqua (MMG5_pMesh mesh, MMG5_pSol met) |
Functions to compute the quality.
Definition in file quality_2d.c.
| double MMG2D_caltri_ani | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_pTria | pt | ||
| ) |
| double MMG2D_caltri_iso | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_pTria | pt | ||
| ) |
| pointer | to the mesh |
| pointer | to the metric (for compatibility with aniso interface) |
| pt | pointer to the tria |
Compute quality of the triangle pt when the supplied metric is isotropic; return 0 in the case that the triangle has inverted orientation.
Definition at line 107 of file quality_2d.c.


| double MMG2D_caltri_iso_3pt | ( | double * | a, |
| double * | b, | ||
| double * | c | ||
| ) |
| a | coordinates of first vertex of tria |
| b | coordinates of second vertex of tria |
| c | coordinates of third vertex of tria |
Compute quality of a triangle from the datum of its 3 vertices.
Definition at line 68 of file quality_2d.c.

| int MMG2D_outqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
Print histogram of mesh qualities.
Definition at line 183 of file quality_2d.c.


| double MMG2D_quickcal | ( | MMG5_pMesh | mesh, |
| MMG5_pTria | pt | ||
| ) |
| mesh | pointer to the mesh |
| pt | pointer to the tria |
Compute oriented area of tria pt
Definition at line 46 of file quality_2d.c.

