|
mmg3d
|
Various algorithmic and algebraic tools. More...
#include "mmg3d.h"
Functions | |
| void | _MMG5_nsort (int n, double *val, char *perm) |
| int | _MMG5_norface (MMG5_pMesh mesh, int k, int iface, double n[3]) |
| int | _MMG5_directsurfball (MMG5_pMesh mesh, int ip, int *list, int ilist, double n[3]) |
| int | _MMG5_startedgsurfball (MMG5_pMesh mesh, int nump, int numq, int *list, int ilist) |
| int | _MMG5_BezierRidge (MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no1, double *no2, double *to) |
| int | _MMG5_BezierRef (MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to) |
| int | _MMG5_BezierNom (MMG5_pMesh mesh, int ip0, int ip1, double s, double *o, double *no, double *to) |
| int | _MMG5_BezierReg (MMG5_pMesh mesh, int ip0, int ip1, double s, double v[3], double *o, double *no) |
| int | _MMG3D_indElt (MMG5_pMesh mesh, int kel) |
| int | _MMG3D_indPt (MMG5_pMesh mesh, int kp) |
| void | _MMG5_printTetra (MMG5_pMesh mesh, char *fileName) |
| int | _MMG3D_localParamReg (MMG5_pMesh mesh, int ip, int *listv, int ilistv, int *lists, int ilists, double *hausd_ip, double *hmin_ip, double *hmax_ip) |
| int | _MMG3D_localParamNm (MMG5_pMesh mesh, int iel, int iface, int ia, double *hausd_ip, double *hmin_ip, double *hmax_ip) |
Variables | |
| char | ddb |
Various algorithmic and algebraic tools.
| int _MMG3D_indElt | ( | MMG5_pMesh | mesh, |
| int | kel | ||
| ) |
find the element number in packed numerotation

| int _MMG3D_indPt | ( | MMG5_pMesh | mesh, |
| int | kp | ||
| ) |
find the point number in packed numerotation

| int _MMG3D_localParamNm | ( | MMG5_pMesh | mesh, |
| int | iel, | ||
| int | iface, | ||
| int | ia, | ||
| double * | hausd_ip, | ||
| double * | hmin_ip, | ||
| double * | hmax_ip | ||
| ) |
| mesh | pointer toward the mesh structure. |
| iel | index of tetra in which we work |
| iface | index of face in iel |
| ia | index of edge in iel along which we want to compute the local parameters |
| hausd_ip | pointer toward the local hausdorff parameter to compute |
| hmin_ip | pointer toward the local minimal edge size to compute |
| hmax_ip | pointer toward the local maximal edge size to compute |
Compute the local parameters at non manifold point ip.


| int _MMG3D_localParamReg | ( | MMG5_pMesh | mesh, |
| int | ip, | ||
| int * | listv, | ||
| int | ilistv, | ||
| int * | lists, | ||
| int | ilists, | ||
| double * | hausd_ip, | ||
| double * | hmin_ip, | ||
| double * | hmax_ip | ||
| ) |
| mesh | pointer toward the mesh structure. |
| ip | global index of point in which we want to compute the local parameters |
| listv | pointer toward the ball of ip |
| ilistv | number of tetra in the ball of ip |
| lists | pointer toward the surface ball of ip |
| ilists | number of tetra in the surface ball of ip |
| hausd_ip | pointer toward the local hausdorff parameter to compute |
| hmin_ip | pointer toward the local minimal edge size to compute |
| hmax_ip | pointer toward the local maximal edge size to compute |
Compute the local parameters at point ip (the volume and surface ball of point must be provided).

|
inline |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a NOM edge


|
inline |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a REF edge


|
inline |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a regular edge ; v = ref vector (normal) for choice of normals if need be


|
inline |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a RIDGE edge


|
inline |
If need be, invert the travelling sense of surfacic ball so that it is travelled in the direct sense with respect to direction n anchored at point ip (ip = global num.): return 2 = orientation reversed, 1 otherwise


|
inline |
Compute normal to face iface of tetra k, exterior to tetra k


|
inline |
naive (increasing) sorting algorithm, for very small tabs ; permutation is stored in perm
| void _MMG5_printTetra | ( | MMG5_pMesh | mesh, |
| char * | fileName | ||
| ) |
Debug function (not use in clean code): print mesh->tetra structure
| int _MMG5_startedgsurfball | ( | MMG5_pMesh | mesh, |
| int | nump, | ||
| int | numq, | ||
| int * | list, | ||
| int | ilist | ||
| ) |
If need be, reorder the surfacic ball of point ip, so that its first element has edge (p,q) (nump,q = global num) as edge _MMG5_iprv2[ip] of face iface. return 2 = orientation reversed, 1 otherwise

| char ddb |