|
mmg3d
|
Functions to compute elements quality and edge lengths. More...
#include "inlined_functions_3d.h"
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, int *ned, int *amin, int *bmin, int *amax, int *bmax, int *nullEdge, int8_t metRidTyp, double **bd_in, int hl[9]) |
| int | MMG3D_prilen (MMG5_pMesh mesh, MMG5_pSol met, int8_t metRidTyp) |
| void | MMG3D_computeLESqua (MMG5_pMesh mesh, MMG5_pSol met, int *ne, double *max, double *avg, double *min, int *iel, int *good, int *med, int his[5], int imprim) |
| int | MMG3D_displayQualHisto (int ne, double max, double avg, double min, int iel, int good, int med, int his[5], int nrid, int optimLES, int imprim) |
| int | MMG3D_displayQualHisto_internal (int ne, double max, double avg, double min, int iel, int good, int med, int his[5], int nrid, int optimLES, int imprim) |
| void | MMG3D_computeInqua (MMG5_pMesh mesh, MMG5_pSol met, int *ne, double *max, double *avg, double *min, int *iel, int *good, int *med, int his[5], int imprim) |
| int | MMG3D_inqua (MMG5_pMesh mesh, MMG5_pSol met) |
| void | MMG3D_computeOutqua (MMG5_pMesh mesh, MMG5_pSol met, int *ne, double *max, double *avg, double *min, int *iel, int *good, int *med, int his[5], 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.
| void MMG3D_computeInqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| int * | iel, | ||
| int * | good, | ||
| int * | med, | ||
| int | his[5], | ||
| int | imprim | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| ne | pointer toward the number of used tetra (to fill). |
| max | pointer toward the maximal quality (normalized) to fill. |
| avg | pointer toward the average quality (normalized) to fill. |
| min | pointer toward the minimal quality (normalized) to fill. |
| iel | pointer toward 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 toward 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).


| void MMG3D_computeLESqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| int * | iel, | ||
| int * | good, | ||
| int * | med, | ||
| int | his[5], | ||
| int | imprim | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| ne | pointer toward the number of used tetra (to fill). |
| max | pointer toward the maximal quality (normalized) to fill. |
| avg | pointer toward the average quality (normalized) to fill. |
| min | pointer toward the minimal quality (normalized) to fill. |
| iel | pointer toward 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 toward the mesh histogram (to fill). |
| imprim | verbosity level |
Compute the needed quality information in order to print the quality histogram in optimLES mode.


| void MMG3D_computeOutqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int * | ne, | ||
| double * | max, | ||
| double * | avg, | ||
| double * | min, | ||
| int * | iel, | ||
| int * | good, | ||
| int * | med, | ||
| int | his[5], | ||
| int * | nrid, | ||
| int | imprim | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| ne | pointer toward the number of used tetra (to fill). |
| max | pointer toward the maximal quality (normalized) to fill. |
| avg | pointer toward the average quality (normalized) to fill. |
| min | pointer toward the minimal quality (normalized) to fill. |
| iel | pointer toward 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 toward 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).


| int MMG3D_computePrilen | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| double * | avlen, | ||
| double * | lmin, | ||
| double * | lmax, | ||
| int * | ned, | ||
| int * | amin, | ||
| int * | bmin, | ||
| int * | amax, | ||
| int * | bmax, | ||
| int * | nullEdge, | ||
| int8_t | metRidTyp, | ||
| double ** | bd_in, | ||
| int | hl[9] | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward 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


| int MMG3D_displayQualHisto | ( | int | ne, |
| double | max, | ||
| double | avg, | ||
| double | min, | ||
| int | iel, | ||
| int | good, | ||
| int | med, | ||
| int | his[5], | ||
| 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 toward 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.


| int MMG3D_displayQualHisto_internal | ( | int | ne, |
| double | max, | ||
| double | avg, | ||
| double | min, | ||
| int | iel, | ||
| int | good, | ||
| int | med, | ||
| int | his[5], | ||
| 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 toward 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.


| int MMG3D_inqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
Print histogram of mesh qualities for classic storage of metric at ridges.


| int MMG3D_outqua | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
Print histogram of mesh qualities for special storage of metric at ridges.


| int MMG3D_prilen | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int8_t | metRidTyp | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward 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.


| int MMG3D_tetraQual | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int8_t | metRidTyp | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the meric structure. |
| metRidTyp | metric storage (classic or special) |
Compute the quality of the tetras over the mesh.


|
inline |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the meric structure. |
| pt | pointer toward a tetrahedra. |
Compute the quality of the tet pt with respect to the anisotropic metric met.
and for a calssic storage of metrics at ridges.

| int MMG5_countelt | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | sol, | ||
| double * | weightelt, | ||
| long * | npcible | ||
| ) |
| mesh | pointer toward the mesh. |
| sol,pointer | toward the sol structure. |
| weightelt | put weight on elts. |
| npcible | estimation of the final number of nodes/ |
Approximation of the final number of vertex.

| int8_t ddb |