mmg3d
inlined_functions_3d.h File Reference

inlined Functions More...

#include "mmg3d.h"
#include "inlined_functions.h"
Include dependency graph for inlined_functions_3d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static double MMG5_lenedgCoor_ani (double *ca, double *cb, double *sa, double *sb)
 Compute edge length from edge's coordinates. More...
 
static double MMG5_lenedg33_ani (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_lenedgspl33_ani (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_lenedgspl_ani (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_lenedg_ani (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_lenedg_iso (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_lenedgspl_iso (MMG5_pMesh mesh, MMG5_pSol met, int ia, MMG5_pTetra pt)
 
static double MMG5_orcal (MMG5_pMesh mesh, MMG5_pSol met, int iel)
 
static double MMG3D_caltetLES_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
 
static double MMG5_caltet_iso_4pt (double *a, double *b, double *c, double *d)
 
static double MMG5_caltet_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
 
static double MMG5_caltet_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pTetra pt)
 

Detailed Description

inlined Functions

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5

Function Documentation

◆ MMG3D_caltetLES_iso()

static double MMG3D_caltetLES_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the meric structure.
ptpointer toward a tetrahedra.
Returns
The isotropic quality of the tet in LES measure, 0 if fail

Compute the quality of the tet pt with respect to the LES quality measure. $Q=\frac{V}{V_{ref}}$ with $V_{ref}=8\frac{\sqrt{3}}{27}R
\sqrt{R}$ and R the radius of the circumscribe circle.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_caltet_ani()

static double MMG5_caltet_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the meric structure.
ptpointer toward a tetrahedra.
Returns
The anisotropic quality of the tet or 0.0 if fail.

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) $.

Todo:
test with the square of this measure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_caltet_iso()

static double MMG5_caltet_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the metric structure.
ptpointer toward a tetrahedra.
Returns
The isotropic quality of the tet.

Compute the quality of the tet pt with respect to the isotropic metric met.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_caltet_iso_4pt()

static double MMG5_caltet_iso_4pt ( double *  a,
double *  b,
double *  c,
double *  d 
)
inlinestatic
Parameters
apointer toward the coor of the first tetra vertex.
bpointer toward the coor of the second tetra vertex.
cpointer toward the coor of the third tetra vertex.
dpointer toward the coor of the fourth tetra vertex.
Returns
The isotropic quality of the tet.

Compute the quality of a tetra given by 4 points a,b,c,d with respect to the isotropic metric met.

Here is the caller graph for this function:

◆ MMG5_lenedg33_ani()

static double MMG5_lenedg33_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
iaindex of edge in tetra pt .
ptpointer toward the tetra from which we come.
Returns
length of edge according to the prescribed metric.

Compute length of edge $[i0;i1]$ according to the prescribed aniso metric (for classic storage of metrics at ridges points).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_lenedg_ani()

static double MMG5_lenedg_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
iaindex of edge in tetra pt .
ptpointer toward the tetra from which we come.
Returns
length of edge according to the prescribed metric.

Compute length of edge $[i0;i1]$ according to the prescribed aniso metric (for special storage of metrics at ridges points).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_lenedg_iso()

static double MMG5_lenedg_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
iaindex of edge in tetra pt .
ptpointer toward the tetra from which we come.
Returns
length of edge according to the prescribed metric.

Compute length of edge $[i0;i1]$ according to the prescribed iso metric (length identic for internal edges than for surface edges).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_lenedgCoor_ani()

static double MMG5_lenedgCoor_ani ( double *  ca,
double *  cb,
double *  sa,
double *  sb 
)
inlinestatic

Compute edge length from edge's coordinates.

Parameters
capointer toward the coordinates of the first edge's extremity.
cbpointer toward the coordinates of the second edge's extremity.
sapointer toward the metric associated to the first edge's extremity.
sbpointer toward the metric associated to the second edge's extremity.
Returns
edge length.

Compute length of edge $[ca,cb]$ (with ca and cb coordinates of edge extremities) according to the anisotropic size prescription.

Here is the caller graph for this function:

◆ MMG5_lenedgspl33_ani()

static double MMG5_lenedgspl33_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
iaindex of edge in tetra pt .
ptpointer toward the tetra from which we come.
Returns
length of edge according to the prescribed metric.

Compute length of edge $[i0;i1]$ according to the prescribed aniso metric (for classic storage of metrics at ridges points).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_lenedgspl_ani()

static double MMG5_lenedgspl_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
iaindex of edge in tetra pt .
ptpointer toward the tetra from which we come.
Returns
length of edge according to the prescribed metric, 0 if fail.

Compute length of edge $[i0;i1]$ according to the prescribed aniso metric (for special storage of metrics at ridges points).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMG5_lenedgspl_iso()

static double MMG5_lenedgspl_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  ia,
MMG5_pTetra  pt 
)
inlinestatic
Here is the call graph for this function:

◆ MMG5_orcal()

static double MMG5_orcal ( MMG5_pMesh  mesh,
MMG5_pSol  met,
int  iel 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the meric structure.
ielindex of element.
Returns
The oriented quality of element iel or 0.0 if iel is inverted.

Compute tetra oriented quality of iel.

Here is the caller graph for this function: