Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(xml_writer_abstract), | public, | allocatable | :: | xml_writer | |||
integer(kind=I4P), | public, | allocatable | :: | scratch_unit(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
character, | intent(in) | :: | filename | |||
integer(kind=I4P), | intent(in), | optional | :: | scratch_units_number |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
character, | intent(in) | :: | filenames(1:) | |||
character, | intent(in), | optional | :: | names(1:) | ||
character, | intent(in), | optional | :: | name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
character, | intent(in), | optional | :: | action | ||
character, | intent(in), | optional | :: | filenames | ||
character, | intent(in), | optional | :: | names | ||
character, | intent(in), | optional | :: | name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
integer(kind=I4P), | intent(in) | :: | scratch | |||
character, | intent(in) | :: | action | |||
character, | intent(in), | optional | :: | filename | ||
character, | intent(in), | optional | :: | name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
character, | intent(in) | :: | filenames(1:) | |||
character, | intent(in), | optional | :: | names(1:) | ||
character, | intent(in), | optional | :: | name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
character, | intent(in), | optional | :: | action | ||
character, | intent(in), | optional | :: | filenames | ||
character, | intent(in), | optional | :: | names | ||
character, | intent(in), | optional | :: | name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(vtm_file), | intent(inout) | :: | self | |||
integer(kind=I4P), | intent(in) | :: | scratch | |||
character, | intent(in) | :: | action | |||
character, | intent(in), | optional | :: | filename | ||
character, | intent(in), | optional | :: | name |
type :: vtm_file
!< VTM file class.
class(xml_writer_abstract), allocatable, public :: xml_writer !< XML writer.
integer(I4P), allocatable :: scratch_unit(:) !< Scratch units for very large list of named blocks.
contains
! public methods
procedure, pass(self) :: initialize !< Initialize file.
procedure, pass(self) :: finalize !< Finalize file.
generic :: write_block => &
write_block_array, &
write_block_string, &
write_block_scratch !< Write one block dataset.
! private methods
procedure, pass(self), private :: write_block_array !< Write one block dataset (array input).
procedure, pass(self), private :: write_block_string !< Write one block dataset (string input).
! scratch files methods``
procedure, pass(self), private :: parse_scratch_files !< Parse scratch files.
procedure, pass(self), private :: write_block_scratch !< Write one block dataset on scratch files.
endtype vtm_file