Files collection object class.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(file_object), | public | :: | boundary_conditions | Boundary conditions file. |
|||
type(file_object), | public | :: | grid | Grid file. |
|||
type(file_object), | public | :: | initial_conditions | Initial conditions file. |
|||
type(file_object), | public | :: | logging | Logging file. |
|||
type(file_object), | public | :: | solution | Solution file. |
Return a pretty-formatted description of the files collection.
Return a pretty-formatted description of the files collection.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(in) | :: | self | Files collection. |
||
character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Destroy files collection.
Destroy files collection.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
Initialize files collection.
Initialize Files collection.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
Load from file.
Load from file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
||
type(file_ini), | intent(in) | :: | fini | Simulation parameters ini file handler. |
||
logical, | intent(in), | optional | :: | go_on_fail | Go on if load fails.. |
Save into file.
Save from file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
||
type(file_ini), | intent(inout) | :: | fini | Simulation parameters ini file handler. |
type :: files_collection_object
!< Files collection object class.
type(file_object) :: boundary_conditions !< Boundary conditions file.
type(file_object) :: grid !< Grid file.
type(file_object) :: initial_conditions !< Initial conditions file.
type(file_object) :: logging !< Logging file.
type(file_object) :: solution !< Solution file.
contains
! public methods
procedure, pass(self) :: description !< Return a pretty-formatted description of the files collection.
procedure, pass(self) :: destroy !< Destroy files collection.
procedure, pass(self) :: initialize !< Initialize files collection.
procedure, pass(self) :: load_from_file !< Load from file.
procedure, pass(self) :: save_into_file !< Save into file.
endtype files_collection_object