mmg2d
|
Scale and unscale mesh and solution. More...
#include "mmg2d.h"
Functions | |
int | MMG2D_scaleMesh (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG2D_unscaleMesh (MMG5_pMesh mesh, MMG5_pSol sol) |
Scale and unscale mesh and solution.
int MMG2D_scaleMesh | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the metric or solution structure. |
Scale the mesh and the size informations between 0 and 1. Compute a default value for the hmin/hmax parameters if needed. Truncate the metric sizes between hmin/hmax
int MMG2D_unscaleMesh | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |