Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
Compute isotropic size map according to the mean of the length of the edges passing through a point. More...
#include "libmmg2d.h"
#include "libmmg2d_private.h"
#include "mmg2dexterns_private.h"
#include "mmgexterns_private.h"
Go to the source code of this file.
Functions | |
static int | MMG2D_solTruncatureForOptim (MMG5_pMesh mesh, MMG5_pSol met, int ani) |
int | MMG2D_doSol_iso (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG2D_doSol_ani (MMG5_pMesh mesh, MMG5_pSol sol) |
Compute isotropic size map according to the mean of the length of the edges passing through a point.
Definition in file solmap_2d.c.
int MMG2D_doSol_ani | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer to the mesh structure |
sol | pointer to the sol structure |
Compute anisotropic unit size map using statistical concept of length distribution tensors (formula 5 of [2]).
Definition at line 175 of file solmap_2d.c.
int MMG2D_doSol_iso | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer to the mesh structure |
sol | pointer to the sol structure |
Compute isotropic size map according to the mean of the length of the edges passing through a point.
Definition at line 97 of file solmap_2d.c.
|
inlinestatic |
mesh | pointer to the mesh structure. |
met | pointer to the solution structure. |
ani | 1 for aniso metric, 0 for iso one. |
Truncate the metric computed by the DoSol function by hmax and hmin values (if setted by the user). Set hmin and hmax if they are not setted.
Definition at line 52 of file solmap_2d.c.