![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Functions to move a point in the mesh. More...

Go to the source code of this file.
Functions | |
| int | movintpt_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *list, int ilist) |
| int | MMGS_paramDisp (MMG5_pMesh mesh, MMG5_int it, int8_t isrid, MMG5_int ip0, MMG5_int ip, double step, double o[3]) |
| static int | MMGS_update_normalAndTangent (MMG5_pMesh mesh, MMG5_pPoint p0, MMG5_pPoint p, double llold, double lam0, double lam1, double lam2, double no1[3], double no2[3], double np1[3], double np2[3], double nn1[3], double nn2[3], double to[3]) |
| int | MMGS_moveTowardPoint (MMG5_pMesh mesh, MMG5_pPoint p0, MMG5_pPoint p, double llold, double lam0, double lam1, double lam2, double nn1[3], double nn2[3], double to[3]) |
| int | movridpt_iso (MMG5_pMesh mesh, MMG5_pSol met, MMG5_int *list, int ilist) |
Functions to move a point in the mesh.
Definition in file movpt_s.c.
| int MMGS_moveTowardPoint | ( | MMG5_pMesh | mesh, |
| MMG5_pPoint | p0, | ||
| MMG5_pPoint | p, | ||
| double | llold, | ||
| double | lam0, | ||
| double | lam1, | ||
| double | lam2, | ||
| double | nn1[3], | ||
| double | nn2[3], | ||
| double | to[3] | ||
| ) |
| mesh | pointer to the mesh |
| p0 | point to move. |
| p | neighbouring point toward which we try to move. |
| llold | init length of edge p0-p |
| lam0 | first bezier basis function (order 2) |
| lam1 | second bezier basis function (order 2) |
| lam2 | third bezier basis function (order 2) |
| nn1 | normal at point p0 after relocation |
| nn2 | normal at point p0 after relocation |
| to | tangent along edge at point p0 after relocation |
Update normals and tangent at ref or ridge point p0 after relocation at coordinates o.
Definition at line 555 of file movpt_s.c.


| int MMGS_paramDisp | ( | MMG5_pMesh | mesh, |
| MMG5_int | it, | ||
| int8_t | isrid, | ||
| MMG5_int | ip0, | ||
| MMG5_int | ip, | ||
| double | step, | ||
| double | o[3] | ||
| ) |
| mesh | pointer to the mesh |
| it | triangle to which belongs the edge along which we move |
| isrid | 1 if the edge is a ridge |
| ip0 | edge point that we want to move |
| ip | edge point connected by the ref/ridge edge to p0 |
| step | displacement factor along the ref/ridge edge |
| o | coordinates of point after relocation |
Infer arc length of displacement along ref or ridge edge, parameterized over edges.
Definition at line 375 of file movpt_s.c.


|
static |
| mesh | pointer to the mesh |
| p0 | point to move. |
| p | neighbouring point toward which we try to move. |
| llold | init length of edge p0-p |
| lam0 | first bezier basis function (order 2) |
| lam1 | second bezier basis function (order 2) |
| lam2 | third bezier basis function (order 2) |
| no1 | init normal at point p0 |
| no2 | init normal at point p0 |
| np1 | normal at point p associated to no1 |
| np2 | normal at point p associated to no2 |
| nn1 | normal at point p0 after relocation |
| nn2 | normal at point p0 after relocation |
| to | tangent along edge at point p0 after relocation |
Update normals and tangent at ref or ridge point p0 after relocation at coordinates o with the normal np1 associated to the normal no1 and the normal np2 associated to the normal no2.
Definition at line 449 of file movpt_s.c.

| int movintpt_iso | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | list, | ||
| int | ilist | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| list | pointer to the ball of the point. |
| ilist | size of the ball. |
Move internal point whose volumic is passed.
Definition at line 52 of file movpt_s.c.


| int movridpt_iso | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_int * | list, | ||
| int | ilist | ||
| ) |