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 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, 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 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.

Definition at line 284 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 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

Definition at line 418 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 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.

Definition at line 388 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 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.

Definition at line 329 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 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).

Definition at line 94 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 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).

Definition at line 201 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 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).

Definition at line 231 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 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.

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

Definition at line 125 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 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).

Definition at line 158 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 241 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 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.

Definition at line 263 of file inlined_functions_3d_private.h.

Here is the caller graph for this function: