![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Various algorithmic and algebraic tools. More...

Go to the source code of this file.
Functions | |
| int | MMG5_isbr (MMG5_pMesh mesh, MMG5_int ref) |
| int | MMG5_norface (MMG5_pMesh mesh, MMG5_int k, int iface, double n[3]) |
| int | MMG5_directsurfball (MMG5_pMesh mesh, MMG5_int ip, MMG5_int *list, int ilist, double n[3]) |
| int | MMG5_startedgsurfball (MMG5_pMesh mesh, MMG5_int nump, MMG5_int numq, MMG5_int *list, int ilist) |
| int | MMG5_BezierRidge (MMG5_pMesh mesh, MMG5_int ip0, MMG5_int ip1, double s, double *o, double *no1, double *no2, double *to) |
| int | MMG5_BezierRef (MMG5_pMesh mesh, MMG5_int ip0, MMG5_int ip1, double s, double *o, double *no, double *to) |
| int | MMG5_BezierNom (MMG5_pMesh mesh, MMG5_int ip0, MMG5_int ip1, double s, double *o, double *no, double *to) |
| int | MMG5_BezierReg (MMG5_pMesh mesh, MMG5_int ip0, MMG5_int ip1, double s, double v[3], double *o, double *no) |
| MMG5_int | MMG3D_indElt (MMG5_pMesh mesh, MMG5_int kel) |
| MMG5_int | MMG3D_indPt (MMG5_pMesh mesh, MMG5_int kp) |
| void | MMG5_printTetra (MMG5_pMesh mesh, char *fileName) |
| int | MMG3D_localParamReg (MMG5_pMesh mesh, MMG5_int ip, int64_t *listv, int ilistv, MMG5_int *lists, int ilists, double *hausd_ip, double *hmin_ip, double *hmax_ip) |
| int | MMG3D_localParamNm (MMG5_pMesh mesh, MMG5_int iel, int iface, int ia, double *hausd_ip, double *hmin_ip, double *hmax_ip) |
| static void | MMG3D_mark_usedVertices (MMG5_pMesh mesh) |
| static void | MMG3D_keep_subdomainElts (MMG5_pMesh mesh, int nsd) |
| void | MMG3D_keep_only1Subdomain (MMG5_pMesh mesh, int nsd) |
Variables | |
| int8_t | ddb |
Various algorithmic and algebraic tools.
Definition in file tools_3d.c.
| MMG5_int MMG3D_indElt | ( | MMG5_pMesh | mesh, |
| MMG5_int | kel | ||
| ) |
find the element number in packed numerotation
Definition at line 862 of file tools_3d.c.

| MMG5_int MMG3D_indPt | ( | MMG5_pMesh | mesh, |
| MMG5_int | kp | ||
| ) |
find the point number in packed numerotation
Definition at line 918 of file tools_3d.c.

| void MMG3D_keep_only1Subdomain | ( | MMG5_pMesh | mesh, |
| int | nsd | ||
| ) |
| mesh | pointer to the mesh structure. |
| nsd | index of subdomain to keep. |
Keep only subdomain of index nsd and remove other subdomains.
Definition at line 1393 of file tools_3d.c.


|
static |
| mesh | pointer to the mesh structure. |
| nsd | subdomain index. |
Remove tetra that do not belong to subdomain of index nsd
Definition at line 1344 of file tools_3d.c.


| int MMG3D_localParamNm | ( | MMG5_pMesh | mesh, |
| MMG5_int | iel, | ||
| int | iface, | ||
| int | ia, | ||
| double * | hausd_ip, | ||
| double * | hmin_ip, | ||
| double * | hmax_ip | ||
| ) |
| mesh | pointer to 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 to the local hausdorff parameter to compute |
| hmin_ip | pointer to the local minimal edge size to compute |
| hmax_ip | pointer to the local maximal edge size to compute |
Compute the local parameters at non manifold point ip.
Definition at line 1145 of file tools_3d.c.


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

|
inlinestatic |
| mesh | pointer to the mesh structure. |
Mark the mesh vertices that belong to triangles or quadrangles as used (for Mmgs or Mmg2d).
Definition at line 1291 of file tools_3d.c.


|
inline |
| mesh | mesh |
| ip0 | first edge extremity |
| ip1 | second edge extremity |
| s | parameter value |
| o | point coordinates |
| no | normal at point o (to fill) |
| to | tangent at point o along edge ip0 ip1 (to fill) |
Compute point located at parameter value s from point ip0, as well as interpolate of normals, tangent for a NOM edge
Definition at line 527 of file tools_3d.c.


|
inline |
| mesh | mesh |
| ip0 | first edge extremity |
| ip1 | second edge extremity |
| s | parameter value |
| o | point coordinates |
| no | normal at point o (to fill) |
| to | tangent at point o (to fill) |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a REF edge.
Definition at line 352 of file tools_3d.c.


|
inline |
| mesh | mesh |
| ip0 | first edge extremity |
| ip1 | second edge extremity |
| s | parameter value |
| v | reference normal |
| o | point coordinates |
| no | normal at point o (to fill) |
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
Definition at line 696 of file tools_3d.c.


|
inline |
| mesh | mesh |
| ip0 | first edge extremity |
| ip1 | second edge extremity |
| s | parameter value |
| o | point coordinates |
| no1 | normal at point o (to fill) |
| no2 | normal at point o (to fill) |
| to | tangent at point o (to fill) |
Compute point located at parameter value step from point ip0, as well as interpolate of normals, tangent for a RIDGE edge
Definition at line 145 of file tools_3d.c.


|
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
Definition at line 66 of file tools_3d.c.


| int MMG5_isbr | ( | MMG5_pMesh | mesh, |
| MMG5_int | ref | ||
| ) |
Return 1 if reference ref is in the br table, 0 otherwise
Definition at line 42 of file tools_3d.c.
| int MMG5_norface | ( | MMG5_pMesh | mesh, |
| MMG5_int | k, | ||
| int | iface, | ||
| double | n[3] | ||
| ) |
Compute normal to face iface of tetra k, exterior to tetra k
Definition at line 52 of file tools_3d.c.


| void MMG5_printTetra | ( | MMG5_pMesh | mesh, |
| char * | fileName | ||
| ) |
Debug function (not use in clean code): print mesh->tetra structure
Definition at line 975 of file tools_3d.c.
| int MMG5_startedgsurfball | ( | MMG5_pMesh | mesh, |
| MMG5_int | nump, | ||
| MMG5_int | numq, | ||
| MMG5_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
Definition at line 91 of file tools_3d.c.

|
extern |
Definition at line 42 of file mmg3d1_delone.c.