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
|
|
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 |
|
) |
| |
|
inlinestatic |
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 to 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 a curve edge according to the prescribed metric, 0 if fail.
Compute the curve length of surface edge \([np0;np1]\) according to the prescribed aniso metrics m0 and m1.
Definition at line 54 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 |
|
) |
| |
|
inlinestatic |
- Parameters
-
mesh | pointer to the mesh structure. |
met | pointer to 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 the curve length of surface edge \([i0;i1]\) according to the prescribed aniso metric (for classic storage of metrics at ridges points).
Definition at line 268 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 |
|
) |
| |
|
inlinestatic |
- Parameters
-
mesh | pointer to the mesh structure. |
met | pointer to 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 the curve 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 199 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 |
|
) |
| |
|
inlinestatic |
- Parameters
-
mesh | pointer to the mesh structure. |
met | pointer to 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 the "straight" length of edge \([i0;i1]\) according to the prescribed iso metric.
Definition at line 293 of file inlined_functions_private.h.
◆ MMG5_simredmat()
static void MMG5_simredmat |
( |
int8_t |
dim, |
|
|
double * |
m, |
|
|
double * |
dm, |
|
|
double * |
iv |
|
) |
| |
|
inlinestatic |
- 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 324 of file inlined_functions_private.h.