|
mmg2d
|
Lagrangian meshing. More...
#include "mmg2d.h"
Macros | |
| #define | _MMG2_DEGTOL 5.e-1 |
Functions | |
| double | _MMG2_estavglen (MMG5_pMesh mesh) |
| static double | _MMG2_caltri_iso_3pt (double *a, double *b, double *c) |
| int | _MMG2_chkmovmesh (MMG5_pMesh mesh, MMG5_pSol disp, short t) |
| short | _MMG2_dikomv (MMG5_pMesh mesh, MMG5_pSol disp) |
| int | _MMG2_dispmesh (MMG5_pMesh mesh, MMG5_pSol disp, short t, int itdeg) |
| int | _MMG2_spllag (MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met, int itdeg, int *warn) |
| static int | _MMG2_coleltlag (MMG5_pMesh mesh, MMG5_pSol met, int itdeg) |
| int | _MMG2_swpmshlag (MMG5_pMesh mesh, MMG5_pSol met, double crit, int itdeg) |
| int | _MMG2D_saveDisp (MMG5_pMesh mesh, MMG5_pSol disp) |
| int | _MMG2_movtrilag (MMG5_pMesh mesh, MMG5_pSol met, int itdeg) |
| int | MMG2_mmg2d9 (MMG5_pMesh mesh, MMG5_pSol disp, MMG5_pSol met) |
Lagrangian meshing.
Velocity extension for Lagrangian meshing.
| #define _MMG2_DEGTOL 5.e-1 |
|
inlinestatic |
Compute quality of a triangle from the datum of its 3 vertices

| int _MMG2_chkmovmesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| short | t | ||
| ) |
Check if moving mesh with disp for a fraction t yields a valid mesh


|
static |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| itdeg | degraded elements. |
Attempt to collapse small internal edges in the Lagrangian mode; only affects tetras with cc itdeg.


| short _MMG2_dikomv | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp | ||
| ) |


| int _MMG2_dispmesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| short | t, | ||
| int | itdeg | ||
| ) |
Perform mesh motion along disp, for a fraction t, and the corresponding updates


| double _MMG2_estavglen | ( | MMG5_pMesh | mesh | ) |

| int _MMG2_movtrilag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| int | itdeg | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| itdeg | degraded elements. |
Analyze trias with cc = itdeg and move internal points so as to make mesh more uniform.


| int _MMG2_spllag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| MMG5_pSol | met, | ||
| int | itdeg, | ||
| int * | warn | ||
| ) |
| mesh | pointer toward the mesh structure. |
| disp | pointer toward the displacement structure. |
| met | pointer toward 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


| int _MMG2_swpmshlag | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| double | crit, | ||
| int | itdeg | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the metric structure. |
| crit | coefficient of quality improvment. |
| itdeg | degraded elements. |
Internal edge flipping in the Lagrangian mode; only affects trias with cc itdeg


| int _MMG2D_saveDisp | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp | ||
| ) |
For debugging purposes: save disp
| int MMG2_mmg2d9 | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | disp, | ||
| MMG5_pSol | met | ||
| ) |

