Go to the source code of this file.
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)
◆ MMG5_lenEdg()
static double MMG5_lenEdg
(
MMG5_pMesh
mesh ,
MMG5_int
np0 ,
MMG5_int
np1 ,
double *
m0 ,
double *
m1 ,
int8_t
isedg
)
inline static
inlined Functions
Author Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version 5
Copyright GNU Lesser General Public License.
Parameters
mesh pointer toward the mesh structure.
np0 index of edge's extremity.
np1 index of edge's extremity.
m0 metric at point np0.
m1 metric at point np1.
isedg 1 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 according to the prescribed aniso metrics m0 and m1 .
Definition at line 53 of file inlined_functions_private.h .
◆ MMG5_lenSurfEdg33_ani()
static double MMG5_lenSurfEdg33_ani
(
MMG5_pMesh
mesh ,
MMG5_pSol
met ,
MMG5_int
np0 ,
MMG5_int
np1 ,
int8_t
isedg
)
inline static
Parameters
mesh pointer toward the mesh structure.
met pointer toward the sol structure.
np0 index of edge's extremity.
np1 index of edge's extremity.
isedg 1 if the edge is a ridge, 0 otherwise.
Returns length of edge according to the prescribed metric.
Compute length of surface edge according to the prescribed aniso metric (for classic storage of metrics at ridges points).
Definition at line 265 of file inlined_functions_private.h .
◆ MMG5_lenSurfEdg_ani()
static double MMG5_lenSurfEdg_ani
(
MMG5_pMesh
mesh ,
MMG5_pSol
met ,
MMG5_int
np0 ,
MMG5_int
np1 ,
int8_t
isedg
)
inline static
Parameters
mesh pointer toward the mesh structure.
met pointer toward the sol structure.
np0 index of edge's extremity.
np1 index of edge's extremity.
isedg 1 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 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 .
◆ MMG5_lenSurfEdg_iso()
static double MMG5_lenSurfEdg_iso
(
MMG5_pMesh
mesh ,
MMG5_pSol
met ,
MMG5_int
ip1 ,
MMG5_int
ip2 ,
int8_t
isedg
)
inline static
Parameters
mesh pointer toward the mesh structure.
met pointer toward the sol structure.
ip1 index of edge's extremity.
ip2 index of edge's extremity.
isedg 1 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 according to the prescribed iso metric.
Definition at line 290 of file inlined_functions_private.h .
◆ MMG5_simredmat()
static void MMG5_simredmat
(
int8_t
dim ,
double *
m ,
double *
dm ,
double *
iv
)
inline static
Parameters
dim matrix size.
m matrix array.
dm diagonal values array.
iv array 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 .