mmg3d
|
API header for the common part of the MMG libraries. More...
Go to the source code of this file.
Functions | |
void | MMG5_Init_fileNames (MMG5_pMesh mesh, MMG5_pSol sol) |
void() | MMG5_Init_parameters (MMG5_pMesh mesh) |
int | MMG5_Set_inputMeshName (MMG5_pMesh mesh, const char *meshin) |
int | MMG5_Set_outputMeshName (MMG5_pMesh mesh, const char *meshout) |
int | MMG5_Set_inputSolName (MMG5_pMesh mesh, MMG5_pSol sol, const char *solin) |
int | MMG5_Set_outputSolName (MMG5_pMesh mesh, MMG5_pSol sol, const char *solout) |
void | MMG5_Set_constantSize (MMG5_pMesh mesh, MMG5_pSol met, double hsiz) |
void | MMG5_Free_structures (MMG5_pMesh mesh, MMG5_pSol sol) |
void | MMG5_mmgFree_names (MMG5_pMesh mesh, MMG5_pSol met) |
int | MMG5_Set_defaultTruncatureSizes (MMG5_pMesh mesh, char sethmin, char sethmax) |
int | MMG5_Compute_constantSize (MMG5_pMesh mesh, MMG5_pSol met, double *hsize) |
const char * | MMG5_Get_entitiesName (enum MMG5_entities ent) |
const char * | MMG5_Get_typeName (enum MMG5_type typ) |
API header for the common part of the MMG libraries.
int MMG5_Compute_constantSize | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
double * | hsize | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the metric. |
hsiz | computed constant size to impose. |
Compute the constant size to impose according to hmin and hmax and store it in hsiz. Fill hmin and hamx if they are not setted by the user.
void MMG5_Free_structures | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
Structures unallocation before return (common structures between all codes).
const char* MMG5_Get_entitiesName | ( | enum MMG5_entities | ent | ) |
ent | MMG5_entities enum |
Print the name associated to the ent value in the MMG5_entities enum.
const char* MMG5_Get_typeName | ( | enum MMG5_type | typ | ) |
typ | MMG5_type enum |
Print the name associated to the typ value in the MMG5_type enum.
void MMG5_Init_fileNames | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
Initialize file names to their default values.
SUBROUTINE MMG5_INIT_FILENAMES(mesh,sol)
MMG5_DATA_PTR_T,INTENT(INOUT) :: mesh,sol
END SUBROUTINE
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
Initialize file names to their default values.
void() MMG5_Init_parameters | ( | MMG5_pMesh | mesh | ) |
mesh | pointer toward the mesh structure. |
Initialization of the input parameters (stored in the Info structure).
SUBROUTINE MMG5_INIT_PARAMETERS(mesh)
MMG5_DATA_PTR_T,INTENT(INOUT) :: mesh
END SUBROUTINE
mesh | pointer toward the mesh structure. |
Initialization of the input parameters.
MMG3D_IPARAM_lag is used by mmg3d only but need to be negative in the scaleMesh function
void MMG5_mmgFree_names | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the sol structure. |
File name deallocations before return.
SUBROUTINE MMG5_SETMMGFREE_NAMES(mesh,met)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,met
END SUBROUTINE
mesh | pointer toward the mesh structure. |
met | pointer toward the sol structure. |
File name deallocations before return.
void MMG5_Set_constantSize | ( | MMG5_pMesh | mesh, |
MMG5_pSol | met, | ||
double | hsiz | ||
) |
mesh | pointer toward the mesh structure. |
met | pointer toward the sol structure. |
hsiz | wanted edge size |
fill the metric field with the size hsiz
\Remark not for extern users.
|
inline |
mesh | pointer toward the mesh structure. |
sethmin | 1 if hmin is already setted (>0.) |
sethmax | 1 if hmax is already setted (>0.) |
Set default values for hmin and hmax from the bounding box.
\Remark not for extern users.
int MMG5_Set_inputMeshName | ( | MMG5_pMesh | mesh, |
const char * | meshin | ||
) |
mesh | pointer toward the mesh structure. |
meshin | input mesh name. |
Set the name of input mesh.
SUBROUTINE MMG5_SET_INPUTMESHNAME(mesh,meshin,strlen,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh
CHARACTER(LEN=*), INTENT(IN) :: meshin
INTEGER, INTENT(IN) :: strlen
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
mesh | pointer toward the mesh structure. |
meshin | input mesh name. |
Set the name of input mesh.
int MMG5_Set_inputSolName | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
const char * | solin | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
solin | name of the input solution file. |
Set the name of input solution file.
SUBROUTINE MMG5_SET_INPUTSOLNAME(mesh,sol,solin,strlen,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: solin
INTEGER, INTENT(IN) :: strlen
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
solin | name of the input solution file. |
Set the name of input solution file.
int MMG5_Set_outputMeshName | ( | MMG5_pMesh | mesh, |
const char * | meshout | ||
) |
mesh | pointer toward the mesh structure. |
meshout | name of the output mesh file. |
Set the name of output mesh file.
SUBROUTINE MMG5_SET_OUTPUTMESHNAME(mesh,meshout,strlen,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh
CHARACTER(LEN=*), INTENT(IN) :: meshout
INTEGER, INTENT(IN) :: strlen
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
mesh | pointer toward the mesh structure. |
meshout | name of the output mesh file. |
Set the name of output mesh file.
int MMG5_Set_outputSolName | ( | MMG5_pMesh | mesh, |
MMG5_pSol | sol, | ||
const char * | solout | ||
) |
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
solout | name of the output solution file. |
Set the name of output solution file.
SUBROUTINE MMG5_SET_OUTPUTSOLNAME(mesh,sol,solout,strlen,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: solout
INTEGER, INTENT(IN) :: strlen
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE
mesh | pointer toward the mesh structure. |
sol | pointer toward the sol structure. |
solout | name of the output solution file. |
Set the name of output solution file.