![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Tools for interfacing mmg with LS, for extension of the displacement field. More...

Go to the source code of this file.
Macros | |
| #define | MMG5_DEGTOL 0.75 |
| #define | _LS_LAMBDA 10.0e5 |
| #define | _LS_MU 8.2e5 |
Functions | |
| MMG5_int * | MMG5_packLS (MMG5_pMesh mesh, MMG5_pSol disp, LSst *lsst, MMG5_int *npfin) |
| int | MMG5_unpackLS (MMG5_pMesh mesh, MMG5_pSol disp, LSst *lsst, MMG5_int npf, MMG5_int *invperm) |
| int | MMG5_velextLS (MMG5_pMesh mesh, MMG5_pSol disp) |
Tools for interfacing mmg with LS, for extension of the displacement field.
Definition in file velextls_3d.c.
| #define _LS_LAMBDA 10.0e5 |
Definition at line 41 of file velextls_3d.c.
| #define _LS_MU 8.2e5 |
Definition at line 42 of file velextls_3d.c.
| #define MMG5_DEGTOL 0.75 |
Definition at line 40 of file velextls_3d.c.
| MMG5_int * MMG5_packLS | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| LSst * | lsst, | ||
| MMG5_int * | npfin | ||
| ) |
| mesh | pointer to the mesh |
| disp | pointer to the displacement |
| lsst | pointer to the elastic structure (mesh + sol + info) |
| npfin | pointer to the final number of points in the packed mesh for the elasticity call |
Create submesh for solving the linear elasticity velocity extension problem. invperm stores the permutation [ new pt nb -> old pt nb ] (for unpacking purposes) Fill npf = number of vertices in the packed mesh.
Definition at line 59 of file velextls_3d.c.


| int MMG5_unpackLS | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| LSst * | lsst, | ||
| MMG5_int | npf, | ||
| MMG5_int * | invperm | ||
| ) |
| mesh | pointer to the mesh |
| disp | pointer to the displacement |
| lsst | pointer to the elastic structure (mesh + sol + info) |
| npf | pointer to the number of points in the submesh |
| invperm | array of the permutation from the submesh toward the global one |
Transfer solution from the submesh to the global mesh
Definition at line 362 of file velextls_3d.c.

| int MMG5_velextLS | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp | ||
| ) |
| mesh | pointer to the mesh. |
| disp | pointer to the displacement. |
Extension of the displacement at the nodes of triangles tagged MMG5_DISPREF
Definition at line 393 of file velextls_3d.c.

