OFF files collection object definition and implementation.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=5), | private, | parameter | :: | INI_SECTION_NAME | = | 'files' | INI (config) file section name containing the collection file names. |
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. |
procedure, public, pass(self) :: description | Return a pretty-formatted description of the files collection. |
procedure, public, pass(self) :: destroy | Destroy files collection. |
procedure, public, pass(self) :: initialize | Initialize files collection. |
procedure, public, pass(self) :: load_from_file | Load from file. |
procedure, public, pass(self) :: save_into_file | Save into file. |
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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
Initialize Files collection.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(files_collection_object), | intent(inout) | :: | self | Files collection. |
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 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. |