inlined Functions
More...
#include "mmgcommon.h"
Go to the source code of this file.
|
static double | MMG5_lenEdg (MMG5_pMesh mesh, int np0, int np1, double *m0, double *m1, char isedg) |
|
static double | MMG5_lenSurfEdg_ani (MMG5_pMesh mesh, MMG5_pSol met, int np0, int np1, char isedg) |
|
static double | MMG5_lenSurfEdg33_ani (MMG5_pMesh mesh, MMG5_pSol met, int np0, int np1, char isedg) |
|
static double | MMG5_lenSurfEdg_iso (MMG5_pMesh mesh, MMG5_pSol met, int ip1, int ip2, char isedg) |
|
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.
◆ MMG5_lenEdg()
static double MMG5_lenEdg |
( |
MMG5_pMesh |
mesh, |
|
|
int |
np0, |
|
|
int |
np1, |
|
|
double * |
m0, |
|
|
double * |
m1, |
|
|
char |
isedg |
|
) |
| |
|
inlinestatic |
- 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.
◆ MMG5_lenSurfEdg33_ani()
static double MMG5_lenSurfEdg33_ani |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_pSol |
met, |
|
|
int |
np0, |
|
|
int |
np1, |
|
|
char |
isedg |
|
) |
| |
|
inlinestatic |
- 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).
◆ MMG5_lenSurfEdg_ani()
static double MMG5_lenSurfEdg_ani |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_pSol |
met, |
|
|
int |
np0, |
|
|
int |
np1, |
|
|
char |
isedg |
|
) |
| |
|
inlinestatic |
- 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.
◆ MMG5_lenSurfEdg_iso()
static double MMG5_lenSurfEdg_iso |
( |
MMG5_pMesh |
mesh, |
|
|
MMG5_pSol |
met, |
|
|
int |
ip1, |
|
|
int |
ip2, |
|
|
char |
isedg |
|
) |
| |
|
inlinestatic |
- 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.