Description of the opened files for VTK output.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | outunit |
File handle for the vtu file with the data. |
|||
integer, | public | :: | punit |
Filehandle for the pvtu file for partitioned vtu data. |
|||
integer, | public | :: | pvdunit |
Filehandle for the pvd file for time-series output |
|||
character(len=pathLen), | public | :: | basename |
Basename of the VTK files to write |
|||
character(len=pathLen), | public | :: | last_opened_file |
Name of the last opened file on this process If there is a pvtu written by the root process, the root process will store the name of the pvtu file here. Otherwise it contains the name of the vtu file. |
|||
character(len=labelLen), | public | :: | timestamp |
Timestamp to construct the filename |
|||
character(len=labelLen), | public | :: | dataform |
Format in which the data is present (either 'ascii' or 'binary') todo: maybe remove this and use binary always? |
|||
logical, | public | :: | write_pvtu |
Flag to indicate, whether this process has to write the pvtu file. |
|||
logical, | public | :: | has_celldata | = | .false. |
Indicator, wether celldata has been written to the VTK file. If true, the finalization will write a closing celldata tag. |
|
logical, | public | :: | write_pvd |
Flag to decided whether to write pvd file or not. |
|||
integer, | public | :: | vtx_per_Elem | = | 8 |
number of vortices per Element depending on CellType check vtk-manual for more informations |
|
integer, | public | :: | CellType | = | 11 |
cell type used in VTK file 11 = voxel 8 = Pixel 4 = Poly_line 3 = Line |
type hvs_vtk_file_type
!> File handle for the vtu file with the data.
integer :: outunit
!> Filehandle for the pvtu file for partitioned vtu data.
integer :: punit
!> Filehandle for the pvd file for time-series output
integer :: pvdunit
!> Basename of the VTK files to write
character(len=pathLen) :: basename
!> Name of the last opened file on this process
!!
!! If there is a pvtu written by the root process, the root process
!! will store the name of the pvtu file here. Otherwise it contains
!! the name of the vtu file.
character(len=pathLen) :: last_opened_file
!> Timestamp to construct the filename
character(len=labelLen) :: timestamp
!> Format in which the data is present (either 'ascii' or 'binary')
!! todo: maybe remove this and use binary always?
character(len=labelLen) :: dataform
!> Flag to indicate, whether this process has to write the pvtu file.
logical :: write_pvtu
!> Indicator, wether celldata has been written to the VTK file.
!!
!! If true, the finalization will write a closing celldata tag.
logical :: has_celldata = .false.
!> Flag to decided whether to write pvd file or not.
logical :: write_pvd
!> number of vortices per Element
!! depending on CellType
!! check vtk-manual for more informations
integer :: vtx_per_Elem = 8
!> cell type used in VTK file
!! 11 = voxel
!! 8 = Pixel
!! 4 = Poly_line
!! 3 = Line
integer :: CellType = 11
end type hvs_vtk_file_type