Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
|
API functions for MMGS library. More...
#include "libmmgs.h"
#include "libmmgs_private.h"
#include "mmgsexterns_private.h"
#include "mmgexterns_private.h"
Go to the source code of this file.
Macros | |
#define | MMGS_RETURN_AND_PACK(mesh, met, sol, val) |
Functions | |
static void | MMGS_Free_topoTables (MMG5_pMesh mesh) |
static int | MMGS_packMesh (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol met) |
int | MMGS_mmgsls (MMG5_pMesh mesh, MMG5_pSol sol, MMG5_pSol umet) |
Main "program" for level-set discretization. | |
int | MMGS_mmgslib (MMG5_pMesh mesh, MMG5_pSol met) |
Main "program" for mesh adaptation. | |
void | MMGS_Set_commonFunc (void) |
Set common function pointers between mmgs and mmg3d to the matching mmgs functions. | |
API functions for MMGS library.
Private API functions for MMGS library: incompatible functions with the main binary.
Definition in file libmmgs.c.
Pack the mesh mesh and its associated metric met and return val.
|
inlinestatic |
int MMGS_mmgslib | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
Main "program" for mesh adaptation.
mesh | pointer to the mesh structure. |
met | pointer to the sol (metric) structure. |
Main program for the library.
SUBROUTINE MMGS_MMGSLIB(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
Definition at line 545 of file libmmgs.c.
int MMGS_mmgsls | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
MMG5_pSol | met | ||
) |
Main "program" for level-set discretization.
mesh | pointer to the mesh structure. |
sol | pointer to the sol (level-set) structure. |
met | pointer to the sol (metric) structure (optionnal). |
Main program for level set discretization library. If a metric met is provided, use it to adapt the mesh.
SUBROUTINE MMGS_MMGSLS(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
Definition at line 298 of file libmmgs.c.
|
inlinestatic |
mesh | pointer to the mesh structure (unused). |
sol | pointer to a solution structure. |
met | pointer to the solution (metric) structure. |
Pack the sparse mesh and create edges before getting out of library
Definition at line 93 of file libmmgs.c.
void MMGS_Set_commonFunc | ( | void | ) |