|
mmg2d
|

Macros | |
| #define | MMG2D_RETURN_AND_PACK(mesh, met, sol, val) |
Functions | |
| void | MMG2D_solTruncatureForOptim (MMG5_pMesh mesh, MMG5_pSol met) |
| int | MMG2D_mmg2dlib (MMG5_pMesh mesh, MMG5_pSol met) |
| static int | MMG2D_restart (MMG5_pMesh mesh) |
| int | MMG2D_mmg2dmesh (MMG5_pMesh mesh, MMG5_pSol met) |
| int | MMG2D_mmg2dls (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet) |
| int | MMG2D_mmg2dmov (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp) |
Pack the mesh mesh and its associated metric met and/or solution sol and return val.
| int MMG2D_mmg2dlib | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | sol | ||
| ) |
| mesh | pointer toward the mesh structure. |
| sol | pointer toward a sol structure (metric). |
Main program for the mesh adaptation library .
SUBROUTINE MMG2D_MMG2DLIB(mesh,sol,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


| int MMG2D_mmg2dls | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | sol, | ||
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| sol | pointer toward a sol structure (level-set). |
| met | pointer toward a sol structure (metric). |
Main program for the level-set discretization library. If a metric met is provided, use it to adapt the mesh.
SUBROUTINE MMG2D_MMG2DLS(mesh,sol,met,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
MMG5_DATA_PTR_T :: met
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


| int MMG2D_mmg2dmesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | sol | ||
| ) |
| mesh | pointer toward the mesh structure. |
| sol | pointer toward a sol structure (metric). |
Main program for the mesh generation library .
SUBROUTINE MMG2D_MMG2DMESH(mesh,sol,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


| int MMG2D_mmg2dmov | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_pSol | disp | ||
| ) |
| mesh | pointer toward the mesh structure. |
| sol | pointer toward a sol structure (displacement). |
| disp | pointer toward a sol (displacement for the lagrangian motion mode) structure. |
Main program for the rigid body movement library .
SUBROUTINE MMG2D_MMG2DMOV(mesh,sol,disp,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol,disp
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


|
inlinestatic |
| mesh | pointer toward the mesh structure. |
Clean the mesh structure when we just call the MMG2D_Free_Triangles and MMG2D_Free_Edges functions between 2 call of the MMG2D_mmg2dmesh function:
If needed, reallocate the missing structures

| void MMG2D_solTruncatureForOptim | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the solution structure. |
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.
