|
mmg3d
|
Most of the API functions of the MMG3D library. More...
#include "inlined_functions_3d.h"
Macros | |
| #define | _MMG5_RETURN_AND_PACK(mesh, met, disp, val) |
Functions | |
| void | _MMG3D_Free_topoTables (MMG5_pMesh mesh) |
| void | _MMG3D_solTruncatureForOptim (MMG5_pMesh mesh, MMG5_pSol met) |
| int | _MMG3D_bdryBuild (MMG5_pMesh mesh) |
| int | _MMG3D_packMesh (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp) |
| int | MMG3D_mmg3dlib (MMG5_pMesh mesh, MMG5_pSol met) |
| int | MMG3D_mmg3dls (MMG5_pMesh mesh, MMG5_pSol met) |
| int | MMG3D_mmg3dmov (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp) |
Variables | |
| double(* | MMG3D_lenedgCoor )(double *ca, double *cb, double *sa, double *sb) |
Most of the API functions of the MMG3D library.
Private API functions for MMG3D library: incompatible functions with the main binary.
| #define _MMG5_RETURN_AND_PACK | ( | mesh, | |
| met, | |||
| disp, | |||
| val | |||
| ) |
Pack the mesh mesh and its associated metric met and return val.
| int _MMG3D_bdryBuild | ( | MMG5_pMesh | mesh | ) |
| mesh | pointer toward the mesh structure (unused). |
Create the boundary entities of the mesh (triangles and edges).


|
inline |
Free adja, xtetra and xpoint tables


| int _MMG3D_packMesh | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_pSol | disp | ||
| ) |
| mesh | pointer toward the mesh structure (unused). |
| met | pointer toward the solution (metric or level-set) structure. |
| disp | pointer toward the solution (displacement) structure. |
Pack the sparse mesh and create triangles and edges before getting out of library


| void _MMG3D_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.

| int MMG3D_mmg3dlib | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the sol (metric) structure. |
Main program for the remesh library.
SUBROUTINE MMG3D_MMG3DLIB(mesh,met,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,met
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
Free topologic tables (adja, xpoint, xtetra) resulting from a previous run


| int MMG3D_mmg3dls | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the sol (level-set) structure. |
Main program for the level-set discretization library.
SUBROUTINE MMG3D_MMG3DLS(mesh,met,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,met
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


| int MMG3D_mmg3dmov | ( | MMG5_pMesh | mesh, |
| MMG5_pSol | met, | ||
| MMG5_pSol | disp | ||
| ) |
| mesh | pointer toward the mesh structure. |
| met | pointer toward the sol (output metric) structure. |
| disp | pointer toward a sol (displacement for the lagrangian motion mode) structure. |
Main program for the rigidbody movement library.
SUBROUTINE MMG3D_MMG3DMOV(mesh,met,disp,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,met,disp
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE


| double(* MMG3D_lenedgCoor) (double *ca, double *cb, double *sa, double *sb) |
| ca | pointer toward the coordinates of the first edge's extremity. |
| cb | pointer toward the coordinates of the second edge's extremity. |
| ma | pointer toward the metric associated to the first edge's extremity. |
| mb | pointer toward the metric associated to the second edge's extremity. |
Compute length of edge
(with ca and cb coordinates of edge extremities) according to the size prescription.
SUBROUTINE MMG3D_LENEDGCOOR(ca,cb,sa,sb,retval)
REAL(KIND=8), INTENT(IN) :: ca,cb,sa,sb
REAL(KIND=8), INTENT(OUT) :: retval
END SUBROUTINE