mmg2d
|
Scale and unscale mesh and solution. More...
#include "mmgcommon.h"
Functions | |
int | MMG5_boundingBox (MMG5_pMesh mesh) |
int | MMG5_scaleMesh (MMG5_pMesh mesh, MMG5_pSol met) |
int | MMG5_unscaleMesh (MMG5_pMesh mesh, MMG5_pSol met) |
Scale and unscale mesh and solution.
int MMG5_boundingBox | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure. |
Compute the mesh bounding box and fill the min, max and delta fields of the MMG5_info structure.
int MMG5_scaleMesh | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | 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.
int MMG5_unscaleMesh | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric or solution structure. |
Unscale the mesh and the size informations to their initial sizes.