![]() |
Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Lagrangian meshing. More...
#include "libmmg2d_private.h"
Go to the source code of this file.
Macros | |
| #define | MMG2D_DEGTOL 5.e-1 |
Functions | |
| double | MMG2D_estavglen (MMG5_pMesh mesh) |
| MMG5_int | MMG2D_chkmovmesh (MMG5_pMesh mesh, MMG5_pSol disp, short t, MMG5_int *triIdx) |
| int | MMG2D_dispmesh (MMG5_pMesh mesh, MMG5_pSol disp, short t, int itdeg) |
| MMG5_int | MMG2D_spllag (MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met, MMG5_int itdeg, int *warn) |
| static int | MMG2D_coleltlag (MMG5_pMesh mesh, MMG5_pSol met, int itdeg) |
| MMG5_int | MMG2D_swpmshlag (MMG5_pMesh mesh, MMG5_pSol met, double crit, int itdeg) |
| MMG5_int | MMG2D_movtrilag (MMG5_pMesh mesh, MMG5_pSol met, int itdeg) |
| int | MMG2D_mmg2d9 (MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met, MMG5_int **invalidTrias) |
Lagrangian meshing.
Velocity extension for Lagrangian meshing.
Definition in file mmg2d9.c.
| MMG5_int MMG2D_chkmovmesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| short | t, | ||
| MMG5_int * | triIdx | ||
| ) |
| mesh | pointer to the mesh structure |
| disp | pointer to the displacement structure. |
| t | fraction of displacement to test |
| tetIdx | to fill with the list of non valid tria if provided. |
Check if moving mesh with disp for a fraction t yields a valid mesh.
Definition at line 86 of file mmg2d9.c.


|
static |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| itdeg | degraded elements. |
Attempt to collapse small internal edges in the Lagrangian mode; only affects tria with cc itdeg.
Definition at line 286 of file mmg2d9.c.


| int MMG2D_dispmesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| short | t, | ||
| int | itdeg | ||
| ) |
| double MMG2D_estavglen | ( | MMG5_pMesh | mesh | ) |
| int MMG2D_mmg2d9 | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| MMG5_pSol | met, | ||
| MMG5_int ** | invalidTrias | ||
| ) |
| mesh | mesh structure |
| disp | displacement structure |
| met | metric structure |
| invalidTrias | array to store the list of invalid tria if we are unable to move |
Lagrangian node displacement and meshing. Code for options: info.lag >= 0 -> displacement, info.lag > 0 -> displacement+remeshing with swap and moves info.lag > 1 -> displacement+remeshing with split+collapse+swap+move
Definition at line 459 of file mmg2d9.c.


| MMG5_int MMG2D_movtrilag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | itdeg | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| itdeg | degraded elements. |
Analyze trias with cc = itdeg and move internal points so as to make mesh more uniform.
Definition at line 394 of file mmg2d9.c.


| MMG5_int MMG2D_spllag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| MMG5_pSol | met, | ||
| MMG5_int | itdeg, | ||
| int * | warn | ||
| ) |
| mesh | pointer to the mesh structure. |
| disp | pointer to the displacement structure. |
| met | pointer to the metric structure. |
| itdeg | degraded elements. |
| *warn | warn is set to 1 if not enough memory is available to complete mesh. |
Split edges of length bigger than MMG5_LOPTL, in the Lagrangian mode. Only affects triangles with cc itdeg
Definition at line 191 of file mmg2d9.c.


| MMG5_int MMG2D_swpmshlag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| double | crit, | ||
| int | itdeg | ||
| ) |
| mesh | pointer to the mesh structure. |
| met | pointer to the metric structure. |
| crit | coefficient of quality improvment. |
| itdeg | degraded elements. |
Internal edge flipping in the Lagrangian mode; only affects trias with cc itdeg
Definition at line 350 of file mmg2d9.c.

