Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
inlined_functions_3d_private.h File Reference
#include "libmmg3d_private.h"
#include "inlined_functions_private.h"
#include "mmg3dexterns_private.h"
Include dependency graph for inlined_functions_3d_private.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)
 inlined Functions
 
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, MMG5_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)
 

Function Documentation

◆ MMG3D_caltetLES_iso()

static double MMG3D_caltetLES_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_pTetra  pt 
)
inlinestatic
Parameters
meshpointer to the mesh structure.
metpointer to the meric structure.
ptpointer to 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.

Definition at line 295 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the meric structure.
ptpointer to 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

Definition at line 429 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the metric structure.
ptpointer to a tetrahedra.
Returns
The isotropic quality of the tet.

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

Definition at line 399 of file inlined_functions_3d_private.h.

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 to the coor of the first tetra vertex.
bpointer to the coor of the second tetra vertex.
cpointer to the coor of the third tetra vertex.
dpointer to 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.

Definition at line 340 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the sol structure.
iaindex of edge in tetra pt .
ptpointer to 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).

Warning
in this function we may erroneously approximate the length of a curve boundary edge by the length of the straight edge if the "MG_BDY" tag is missing along the edge.

Definition at line 97 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the sol structure.
iaindex of edge in tetra pt .
ptpointer to 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).

Warning
in this function we may erroneously approximate the length of a curve boundary edge by the length of the straight edge if the "MG_BDY" tag is missing along the edge.

Definition at line 210 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the sol structure.
iaindex of edge in tetra pt .
ptpointer to 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).

Definition at line 242 of file inlined_functions_3d_private.h.

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

inlined Functions

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

Compute edge length from edge's coordinates.

Parameters
capointer to the coordinates of the first edge's extremity.
cbpointer to the coordinates of the second edge's extremity.
sapointer to the metric associated to the first edge's extremity.
sbpointer to 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.

Definition at line 56 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the sol structure.
iaindex of edge in tetra pt .
ptpointer to 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).

Definition at line 130 of file inlined_functions_3d_private.h.

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 to the mesh structure.
metpointer to the sol structure.
iaindex of edge in tetra pt .
ptpointer to the tetra from which we come.
Returns
length of edge according to the prescribed metric, 0 if fail.

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

Definition at line 163 of file inlined_functions_3d_private.h.

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

Definition at line 252 of file inlined_functions_3d_private.h.

Here is the call graph for this function:

◆ MMG5_orcal()

static double MMG5_orcal ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  iel 
)
inlinestatic
Parameters
meshpointer to the mesh structure.
metpointer to 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.

Definition at line 274 of file inlined_functions_3d_private.h.

Here is the caller graph for this function: