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

Go to the source code of this file.
Functions | |
| int | MMG3D_tetraQual (MMG5_pMesh mesh, MMG5_pSol met, int8_t metRidTyp) |
| double | MMG5_caltet33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt) |
| int | MMG3D_computePrilen (MMG5_pMesh mesh, MMG5_pSol met, double *avlen, double *lmin, double *lmax, MMG5_int *ned, MMG5_int *amin, MMG5_int *bmin, MMG5_int *amax, MMG5_int *bmax, MMG5_int *nullEdge, int8_t metRidTyp, double **bd_in, MMG5_int hl[9]) |
| int | MMG3D_prilen (MMG5_pMesh mesh, MMG5_pSol met, int8_t metRidTyp) |
| void | MMG3D_computeLESqua (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *ne, double *max, double *avg, double *min, MMG5_int *iel, MMG5_int *good, MMG5_int *med, MMG5_int his[5], int imprim) |
| int | MMG3D_displayQualHisto (MMG5_int ne, double max, double avg, double min, MMG5_int iel, MMG5_int good, MMG5_int med, MMG5_int his[5], MMG5_int nrid, int optimLES, int imprim) |
| int | MMG3D_displayQualHisto_internal (MMG5_int ne, double max, double avg, double min, MMG5_int iel, MMG5_int good, MMG5_int med, MMG5_int his[5], MMG5_int nrid, int optimLES, int imprim) |
| void | MMG3D_computeInqua (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *ne, double *max, double *avg, double *min, MMG5_int *iel, MMG5_int *good, MMG5_int *med, MMG5_int his[5], int imprim) |
| int | MMG3D_inqua (MMG5_pMesh mesh, MMG5_pSol met) |
| void | MMG3D_computeOutqua (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *ne, double *max, double *avg, double *min, MMG5_int *iel, MMG5_int *good, MMG5_int *med, MMG5_int his[5], MMG5_int *nrid, int imprim) |
| int | MMG3D_outqua (MMG5_pMesh mesh, MMG5_pSol met) |
| int | MMG5_countelt (MMG5_pMesh mesh, MMG5_pSol sol, double *weightelt, long *npcible) |
Variables | |
| int8_t | ddb |
Functions to compute elements quality and edge lengths.
Definition in file quality_3d.c.
| void MMG3D_computeInqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| MMG5_int * | iel, | ||
| MMG5_int * | good, | ||
| MMG5_int * | med, | ||
| MMG5_int | his[5], | ||
| int | imprim | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| ne | pointer to the number of used tetra (to fill). |
| max | pointer to the maximal quality (normalized) to fill. |
| avg | pointer to the average quality (normalized) to fill. |
| min | pointer to the minimal quality (normalized) to fill. |
| iel | pointer to the index of the worst tetra (to fill). |
| good | number of good elements (to fill). |
| med | number of elements with a quality greather than 0.5 (to fill). |
| his | pointer to the mesh histogram (to fill). |
| imprim | verbosity level |
Compute the needed quality information in order to print the quality histogram (for a classic storage of the metric at ridges).
Definition at line 575 of file quality_3d.c.


| void MMG3D_computeLESqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| MMG5_int * | iel, | ||
| MMG5_int * | good, | ||
| MMG5_int * | med, | ||
| MMG5_int | his[5], | ||
| int | imprim | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| ne | pointer to the number of used tetra (to fill). |
| max | pointer to the maximal quality (normalized) to fill. |
| avg | pointer to the average quality (normalized) to fill. |
| min | pointer to the minimal quality (normalized) to fill. |
| iel | pointer to the index of the worst tetra (to fill). |
| good | number of good elements (to fill). |
| med | number of elements with a quality greather than 0.5 (to fill). |
| his | pointer to the mesh histogram (to fill). |
| imprim | verbosity level |
Compute the needed quality information in order to print the quality histogram in optimLES mode.
Definition at line 392 of file quality_3d.c.


| void MMG3D_computeOutqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| MMG5_int * | iel, | ||
| MMG5_int * | good, | ||
| MMG5_int * | med, | ||
| MMG5_int | his[5], | ||
| MMG5_int * | nrid, | ||
| int | imprim | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| ne | pointer to the number of used tetra (to fill). |
| max | pointer to the maximal quality (normalized) to fill. |
| avg | pointer to the average quality (normalized) to fill. |
| min | pointer to the minimal quality (normalized) to fill. |
| iel | pointer to the index of the worst tetra (to fill). |
| good | number of good elements (to fill). |
| med | number of elements with a quality greather than 0.5 (to fill). |
| his | pointer to the mesh histogram (to fill). |
| nrid | number of tetra with 4 ridge points if we want to warn the user to fill. |
| imprim | verbosity level |
Compute the needed quality information in order to print the quality histogram (for special storage of the metric at ridges).
Definition at line 696 of file quality_3d.c.


| int MMG3D_computePrilen | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| double * | avlen, | ||
| double * | lmin, | ||
| double * | lmax, | ||
| MMG5_int * | ned, | ||
| MMG5_int * | amin, | ||
| MMG5_int * | bmin, | ||
| MMG5_int * | amax, | ||
| MMG5_int * | bmax, | ||
| MMG5_int * | nullEdge, | ||
| int8_t | metRidTyp, | ||
| double ** | bd_in, | ||
| MMG5_int | hl[9] | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| avlen | average length (to fill). |
| lmin | minimal length (to fill). |
| lmax | max length (to fill). |
| ned | number of edges (to fill). |
| amin | (to fill). |
| bmin | (to fill). |
| amax | (to fill). |
| bmax | (to fill). |
| nullEdge | (to fill). |
| metRidTyp | (to fill). |
| bd_in | (to fill). |
| hl | (to fill). |
Compute the required information to print the length histogram
Definition at line 221 of file quality_3d.c.


| int MMG3D_displayQualHisto | ( | MMG5_int | ne, |
| double | max, | ||
| double | avg, | ||
| double | min, | ||
| MMG5_int | iel, | ||
| MMG5_int | good, | ||
| MMG5_int | med, | ||
| MMG5_int | his[5], | ||
| MMG5_int | nrid, | ||
| int | optimLES, | ||
| int | imprim | ||
| ) |
| ne | number of used tetra. |
| max | maximal quality (normalized). |
| avg | average quality (normalized). |
| min | minimal quality (normalized). |
| iel | index of the worst tetra. |
| good | number of good elements. |
| med | number of elements with a quality greather than 0.5 |
| his | pointer to the mesh histogram. |
| nrid | number of tetra with 4 ridge points if we want to warn the user. |
| optimLES | 1 if we work in optimLES mode, 0 otherwise |
| imprim | verbosity level |
Print the header of the histogram of mesh qualities then call the function that print the histogram for special metric at ridges.
Definition at line 476 of file quality_3d.c.


| int MMG3D_displayQualHisto_internal | ( | MMG5_int | ne, |
| double | max, | ||
| double | avg, | ||
| double | min, | ||
| MMG5_int | iel, | ||
| MMG5_int | good, | ||
| MMG5_int | med, | ||
| MMG5_int | his[5], | ||
| MMG5_int | nrid, | ||
| int | optimLES, | ||
| int | imprim | ||
| ) |
| ne | number of used tetra. |
| max | maximal quality (normalized). |
| avg | average quality (normalized). |
| min | minimal quality (normalized). |
| iel | index of the worst tetra. |
| good | number of good elements. |
| med | number of elements with a quality greather than 0.5 |
| his | pointer to the mesh histogram. |
| nrid | number of tetra with 4 ridge points if we want to warn the user. |
| optimLES | 1 if we work in optimLES mode, 0 otherwise |
| imprim | verbosity level |
Print histogram of mesh qualities for special storage of metric at ridges.
Definition at line 510 of file quality_3d.c.


| int MMG3D_inqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
Print histogram of mesh qualities for classic storage of metric at ridges.
Definition at line 647 of file quality_3d.c.


| int MMG3D_outqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
Print histogram of mesh qualities for special storage of metric at ridges.
Definition at line 780 of file quality_3d.c.


| int MMG3D_prilen | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int8_t | metRidTyp | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| metRidTyp | Type of storage of ridges metrics: 0 for classic storage, 1 for special storage. |
Compute sizes of edges of the mesh, and displays histo.
Definition at line 357 of file quality_3d.c.


| int MMG3D_tetraQual | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int8_t | metRidTyp | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the meric structure. |
| metRidTyp | metric storage (classic or special) |
Compute the quality of the tetras over the mesh.
Definition at line 50 of file quality_3d.c.


|
inline |
| mesh | pointer to the mesh structure. |
| met | pointer to the meric structure. |
| pt | pointer to a tetrahedra. |
Compute the quality of the tet pt with respect to the anisotropic metric met. \( Q = V_met(K) / (sum(len(edge_K)^2)^(3/2) \) and for a calssic storage of metrics at ridges.
Definition at line 109 of file quality_3d.c.

| int MMG5_countelt | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | sol, | ||
| double * | weightelt, | ||
| long * | npcible | ||
| ) |
| mesh | pointer to the mesh. |
| sol,pointer | to the sol structure. |
| weightelt | put weight on elts. |
| npcible | estimation of the final number of nodes/ |
Approximation of the final number of vertex.
Definition at line 824 of file quality_3d.c.

|
extern |
Definition at line 42 of file mmg3d1_delone.c.