mmg3d
|
Most of the API functions of the MMG3D library. More...
Macros | |
#define | MMG5_RETURN_AND_PACK(mesh, met, sol, val) |
Functions | |
void | MMG3D_Free_topoTables (MMG5_pMesh mesh) |
int | MMG3D_bdryBuild (MMG5_pMesh mesh) |
int | MMG3D_mark_packedPoints (MMG5_pMesh mesh, int *np, int *nc) |
int | MMG3D_pack_tetraAndAdja (MMG5_pMesh mesh) |
int | MMG3D_pack_tetra (MMG5_pMesh mesh) |
int | MMG3D_pack_prismsAndQuads (MMG5_pMesh mesh) |
int | MMG3D_pack_sol (MMG5_pMesh mesh, MMG5_pSol sol) |
int | MMG3D_pack_pointArray (MMG5_pMesh mesh) |
int | MMG3D_update_eltsVertices (MMG5_pMesh mesh) |
int | MMG3D_pack_points (MMG5_pMesh mesh) |
void | MMG3D_unset_reqBoundaries (MMG5_pMesh mesh) |
int | MMG3D_packMesh (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met) |
int | MMG3D_mmg3dlib (MMG5_pMesh mesh, MMG5_pSol met) |
int | MMG3D_mmg3dls (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet) |
int | MMG3D_mmg3dmov (MMG5_pMesh mesh, MMG5_pSol met, MMG5_pSol disp) |
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, | |||
sol, | |||
val | |||
) |
Pack the mesh mesh and its associated metric met and/or solution sol 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).
void MMG3D_Free_topoTables | ( | MMG5_pMesh | mesh | ) |
Free adja, xtetra and xpoint tables
int MMG3D_mark_packedPoints | ( | MMG5_pMesh | mesh, |
int * | np, | ||
int * | nc | ||
) |
mesh | pointer toward the mesh structure (unused). |
np | pointer toward the number of used points |
nc | pointer toward the number of packed corners |
Pack the mesh points and store the packed point index in tmp. Don't preserve numbering order.
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
In debug mode, check that all structures are allocated
Free topologic tables (adja, xpoint, xtetra) resulting from a previous run
int MMG3D_mmg3dls | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol (level-set) structure. |
met | pointer toward a sol structure (metric), optionnal. |
Main program for the level-set discretization library. If a metric met is provided, use it to adapt the mesh.
SUBROUTINE MMG3D_MMG3DLS(mesh,sol,met,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
MMG5_DATA_PTR_T :: met
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
In debug mode, check that all structures are allocated
Free topologic tables (adja, xpoint, xtetra) resulting from a previous run
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
In debug mode, check that all structures are allocated
Free topologic tables (adja, xpoint, xtetra) resulting from a previous run
int MMG3D_pack_pointArray | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure (unused). |
Pack a sparse point array. Don't preserve numbering order.
int MMG3D_pack_points | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure (unused). |
Pack a sparse point array and update the element vertices according to their new indices.
Store in tmp the pack index of each point and count the corner
Update the element vertices indices
Pack the point array
int MMG3D_pack_prismsAndQuads | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure |
Pack prisms and quads. Don't preserve numbering order.
int MMG3D_pack_sol | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure (unused). |
met | pointer toward the solution (metric or level-set) structure. |
Pack a sparse solution structure. Don't preserve numbering order.
int MMG3D_pack_tetra | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure |
Pack the sparse tetra. Doesn't pack the adjacency array. Don't preserve numbering order.
int MMG3D_pack_tetraAndAdja | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure |
Pack the sparse tetra and the associated adja array. Don't preserve numbering order.
int MMG3D_packMesh | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure (unused). |
sol | pointer toward a solution structure. |
met | pointer toward a solution structure. |
Pack the sparse mesh and create triangles and edges before getting out of library
void MMG3D_unset_reqBoundaries | ( | MMG5_pMesh | mesh | ) |
mesh | pointer towarad the mesh structure. |
Set all boundary triangles to required and add a tag to detect that they are not realy required.
int MMG3D_update_eltsVertices | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure (unused). |
Update the element vertices indices with the pack point index stored in the tmp field of the points.