mmgs
|
Functions to compute elements quality and edge lengths. More...
#include "mmgcommon.h"
Functions | |
double | MMG5_caltri33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria pt) |
double | MMG5_caltri_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt) |
double | MMG5_caltri_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTria ptt) |
void | MMG5_displayLengthHisto (MMG5_pMesh mesh, int ned, double *avlen, int amin, int bmin, double lmin, int amax, int bmax, double lmax, int nullEdge, double *bd, int *hl, char shift) |
void | MMG5_displayLengthHisto_internal (int ned, int amin, int bmin, double lmin, int amax, int bmax, double lmax, int nullEdge, double *bd, int *hl, char shift, int imprim) |
int | MMG5_minQualCheck (int iel, double minqual, double alpha) |
Functions to compute elements quality and edge lengths.
double MMG5_caltri33_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_pTria | pt | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the meric structure. |
pt | pointer toward the triangle structure. |
Compute the quality of the surface triangle ptt with respect to an anisotropic metric and a classic storage of the ridges metrics.
double MMG5_caltri_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
MMG5_pTria | ptt | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the meric structure. |
ptt | pointer toward the triangle structure. |
Compute the quality of the surface triangle ptt with respect to an anisotropic metric.
|
inline |
mesh | pointer toward the mesh structure. |
met | pointer toward the meric structure. |
ptt | pointer toward the triangle structure. |
Compute the quality of the surface triangle ptt with respect to an isotropic metric.
void MMG5_displayLengthHisto | ( | MMG5_pMesh | mesh, |
int | ned, | ||
double * | avlen, | ||
int | amin, | ||
int | bmin, | ||
double | lmin, | ||
int | amax, | ||
int | bmax, | ||
double | lmax, | ||
int | nullEdge, | ||
double * | bd, | ||
int * | hl, | ||
char | shift | ||
) |
mesh | pointer toward the mesh structure. |
ned | edges number. |
avlen | pointer toward the average edges lengths. |
amin | index of first extremity of the smallest edge. |
bmin | index of second extremity of the smallest edge. |
lmin | smallest edge length. |
amax | index of first extremity of the largest edge. |
bmax | index of second extremity of the largest edge. |
lmax | largest edge length. |
nullEdge | number of edges for which we are unable to compute the length |
bd | pointer toward the table of the quality span. |
hl | pointer toward the table that store the number of edges for eac |
shift | value to shift the target lenght interval span of quality |
Display histogram of edge length.
void MMG5_displayLengthHisto_internal | ( | int | ned, |
int | amin, | ||
int | bmin, | ||
double | lmin, | ||
int | amax, | ||
int | bmax, | ||
double | lmax, | ||
int | nullEdge, | ||
double * | bd, | ||
int * | hl, | ||
char | shift, | ||
int | imprim | ||
) |
mesh | pointer toward the mesh structure. |
ned | edges number. |
amin | index of first extremity of the smallest edge. |
bmin | index of second extremity of the smallest edge. |
lmin | smallest edge length. |
amax | index of first extremity of the largest edge. |
bmax | index of second extremity of the largest edge. |
lmax | largest edge length. |
nullEdge | number of edges for which we are unable to compute the length |
bd | pointer toward the table of the quality span. |
hl | pointer toward the table that store the number of edges for eac |
shift | value to shift the target lenght interval span of quality |
imprim | verbosity level |
Display histogram of edge length without the histo header
int MMG5_minQualCheck | ( | int | iel, |
double | minqual, | ||
double | alpha | ||
) |
iel | index of the worst tetra of the mesh |
minqual | quality of the worst tetra of the mesh (will be normalized by alpha) |
alpha | normalisation parameter for the quality |
Print warning or error messages depending on the quality of the worst tetra of the mesh.