Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Functions
inoutcpp_s.cpp File Reference
#include "vtkparser.hpp"
#include "libmmgs.h"
#include "libmmgs_private.h"
Include dependency graph for inoutcpp_s.cpp:

Go to the source code of this file.

Functions

static int MMGS_loadVtkMesh_part2 (MMG5_pMesh mesh, MMG5_pSol *sol, vtkDataSet **dataset, int8_t ptMeditRef, int8_t eltMeditRef, MMG5_int nsols)
 Input / Output Functions that needs cpp features. More...
 
int MMGS_loadVtpMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_loadVtpMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 
int MMGS_loadVtkMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_loadVtkMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 
int MMGS_loadVtuMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_loadVtuMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 
int MMGS_saveVtuMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_saveVtuMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 
int MMGS_saveVtkMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_saveVtkMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 
int MMGS_saveVtpMesh (MMG5_pMesh mesh, MMG5_pSol sol, const char *filename)
 
int MMGS_saveVtpMesh_and_allData (MMG5_pMesh mesh, MMG5_pSol *sol, const char *filename)
 

Function Documentation

◆ MMGS_loadVtkMesh()

int MMGS_loadVtkMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and 0 or 1 data field at VTK vtk file format (.vtk extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTKMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 148 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtkMesh_and_allData()

int MMGS_loadVtkMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and a list of data field at VTK vtk file format (.vtk extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTKMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 189 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtkMesh_part2()

static int MMGS_loadVtkMesh_part2 ( MMG5_pMesh  mesh,
MMG5_pSol sol,
vtkDataSet **  dataset,
int8_t  ptMeditRef,
int8_t  eltMeditRef,
MMG5_int  nsols 
)
static

Input / Output Functions that needs cpp features.

Author
Charles Dapogny (UPMC)
Cécile Dobrzynski (Bx INP/Inria/UBordeaux)
Pascal Frey (UPMC)
Algiane Froehly (Inria/UBordeaux)
Version
5

Definition at line 40 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtpMesh()

int MMGS_loadVtpMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and 0 or 1 data field at VTK vtp file format (.vtp extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTPMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 74 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtpMesh_and_allData()

int MMGS_loadVtpMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and a list of data fields at VTK vtp file format (.vtp extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTPMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 115 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtuMesh()

int MMGS_loadVtuMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and 0 or 1 data field at VTK vtu file format (.vtu extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTUMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 222 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_loadVtuMesh_and_allData()

int MMGS_loadVtuMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Read mesh and a list of data field at VTK vtu file format (.vtu extension). We read only low-order points, edges, tria and quad.

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_LOADVTUMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 263 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtkMesh()

int MMGS_saveVtkMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and 0 or 1 data at Vtk file format (.vtk extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTKMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 326 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtkMesh_and_allData()

int MMGS_saveVtkMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and a list of data fields at Vtk file format (.vtk extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTKMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 341 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtpMesh()

int MMGS_saveVtpMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and 0 or 1 data at polydata Vtk file format (.vtp extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTPMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 356 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtpMesh_and_allData()

int MMGS_saveVtpMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and a list of data fields at polydata Vtk file format (.vtp extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTPMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 371 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtuMesh()

int MMGS_saveVtuMesh ( MMG5_pMesh  mesh,
MMG5_pSol  sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and 0 or 1 data at vtu Vtk file format (.vtu extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTUMESH(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 296 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MMGS_saveVtuMesh_and_allData()

int MMGS_saveVtuMesh_and_allData ( MMG5_pMesh  mesh,
MMG5_pSol sol,
const char *  filename 
)
Parameters
meshpointer toward the mesh structure.
solpointer toward the solution structure.
filenamename of file.
Returns
0 if failed, 1 otherwise.

Write mesh and a list of data fields at vtu Vtk file format (.vtu extension).

Remarks
Fortran interface:

‍ SUBROUTINE MMGS_SAVEVTUMESH_AND_ALLDATA(mesh,sol,filename,strlen0,retval)
MMG5_DATA_PTR_T, INTENT(INOUT) :: mesh,sol
CHARACTER(LEN=*), INTENT(IN) :: filename
INTEGER, INTENT(IN) :: strlen0
INTEGER, INTENT(OUT) :: retval
END SUBROUTINE

Definition at line 311 of file inoutcpp_s.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: