Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
inlined_functions_private.h File Reference
#include "mmgcommon_private.h"
Include dependency graph for inlined_functions_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_lenEdg (MMG5_pMesh mesh, MMG5_int np0, MMG5_int np1, double *m0, double *m1, int8_t isedg)
 inlined Functions More...
 
static double MMG5_lenSurfEdg_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int np0, MMG5_int np1, int8_t isedg)
 
static double MMG5_lenSurfEdg33_ani (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int np0, MMG5_int np1, int8_t isedg)
 
static double MMG5_lenSurfEdg_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int ip1, MMG5_int ip2, int8_t isedg)
 
static void MMG5_simredmat (int8_t dim, double *m, double *dm, double *iv)
 

Function Documentation

◆ MMG5_lenEdg()

static double MMG5_lenEdg ( MMG5_pMesh  mesh,
MMG5_int  np0,
MMG5_int  np1,
double *  m0,
double *  m1,
int8_t  isedg 
)
inlinestatic

inlined Functions

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5
Parameters
meshpointer toward the mesh structure.
np0index of edge's extremity.
np1index of edge's extremity.
m0metric at point np0.
m1metric at point np1.
isedg1 if the edge is a ridge, 0 otherwise.
Returns
length of edge according to the prescribed metric, 0 if fail.

Compute length of surface edge $[np0;np1]$ according to the prescribed aniso metrics m0 and m1.

Definition at line 53 of file inlined_functions_private.h.

Here is the caller graph for this function:

◆ MMG5_lenSurfEdg33_ani()

static double MMG5_lenSurfEdg33_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  np0,
MMG5_int  np1,
int8_t  isedg 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
np0index of edge's extremity.
np1index of edge's extremity.
isedg1 if the edge is a ridge, 0 otherwise.
Returns
length of edge according to the prescribed metric.

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

Definition at line 265 of file inlined_functions_private.h.

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

◆ MMG5_lenSurfEdg_ani()

static double MMG5_lenSurfEdg_ani ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  np0,
MMG5_int  np1,
int8_t  isedg 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
np0index of edge's extremity.
np1index of edge's extremity.
isedg1 if the edge is a ridge, 0 otherwise.
Returns
length of edge according to the prescribed metric, 0 if fail.

Compute length of surface edge $[i0;i1]$ according to the prescribed aniso metric (for special storage of metrics at ridges points). Here the length is computed taking into account the curve nature of the surface edge.

Definition at line 197 of file inlined_functions_private.h.

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

◆ MMG5_lenSurfEdg_iso()

static double MMG5_lenSurfEdg_iso ( MMG5_pMesh  mesh,
MMG5_pSol  met,
MMG5_int  ip1,
MMG5_int  ip2,
int8_t  isedg 
)
inlinestatic
Parameters
meshpointer toward the mesh structure.
metpointer toward the sol structure.
ip1index of edge's extremity.
ip2index of edge's extremity.
isedg1 if the edge is a ridge, 0 otherwise (dummy arg for compatibility with lenedg_ani).
Returns
length of edge according to the prescribed metric.

Compute length of surface edge $[i0;i1]$ according to the prescribed iso metric.

Definition at line 290 of file inlined_functions_private.h.

Here is the caller graph for this function:

◆ MMG5_simredmat()

static void MMG5_simredmat ( int8_t  dim,
double *  m,
double *  dm,
double *  iv 
)
inlinestatic
Parameters
dimmatrix size.
mmatrix array.
dmdiagonal values array.
ivarray of inverse coreduction basis.

Recompose a symmetric matrix from its diagonalization on a simultaneous reduction basis.

Warning
Eigenvectors in Mmg are stored as matrix rows (the first dimension of the double array spans the number of eigenvectors, the second dimension spans the number of entries of each eigenvector). So the inverse (left eigenvectors) is also stored with transposed indices.

Definition at line 321 of file inlined_functions_private.h.

Here is the caller graph for this function: