46 SUBROUTINE new_fileio(Fileio,Mesh,Physics,Timedisc,Sources,config,IO)
49 CLASS(fileio_base),
ALLOCATABLE :: Fileio
50 CLASS(mesh_base),
INTENT(IN) :: Mesh
51 CLASS(physics_base),
INTENT(IN) :: Physics
52 CLASS(timedisc_base),
INTENT(IN) :: Timedisc
53 CLASS(sources_base),
INTENT(IN),
POINTER :: Sources
54 TYPE(DICT_TYP),
INTENT(IN),
POINTER :: config
55 TYPE(DICT_TYP),
INTENT(IN),
POINTER :: IO
59 CALL getattr(config,
"fileformat",fileformat)
62 SELECT CASE(fileformat)
70 CALL fileio%Error(
"new_fileio",
"Unknown filetype.")
74 SELECT TYPE(obj => fileio)
76 CALL obj%InitFileio_vtk(mesh,physics,timedisc,sources,config,io)
78 CALL obj%InitFileio_binary(mesh,physics,timedisc,sources,config,io)
80 CALL obj%InitFileio_xdmf(mesh,physics,timedisc,sources,config,io)
generic source terms module providing functionaly common to all source terms
constructor for fileio class
subroutine new_fileio(Fileio, Mesh, Physics, Timedisc, Sources, config, IO)
I/O for VTK files in XML format (vtkStructuredGrid)
integer, parameter, public binary
module for binary file I/O
integer, parameter, public xdmf
Dictionary for generic data types.
integer, parameter, public vtk