off_files_collection_object Module

module~~off_files_collection_object~~UsesGraph module~off_files_collection_object off_files_collection_object module~off_file_object off_file_object module~off_file_object->module~off_files_collection_object finer finer finer->module~off_files_collection_object finer->module~off_file_object penf penf penf->module~off_files_collection_object penf->module~off_file_object module~off_error_object off_error_object penf->module~off_error_object iso_fortran_env iso_fortran_env iso_fortran_env->module~off_file_object iso_fortran_env->module~off_error_object module~off_error_object->module~off_file_object
Help

OFF files collection object definition and implementation.

Used By

module~~off_files_collection_object~~UsedByGraph module~off_files_collection_object off_files_collection_object module~off_objects off_objects module~off_files_collection_object->module~off_objects program~off_test_save_load_file_parameters off_test_save_load_file_parameters module~off_objects->program~off_test_save_load_file_parameters program~off_test_load_file_parameters off_test_load_file_parameters module~off_objects->program~off_test_load_file_parameters program~off_test_save_load_file_grid off_test_save_load_file_grid module~off_objects->program~off_test_save_load_file_grid
Help


Variables

TypeVisibility AttributesNameInitial
character(len=5), private, parameter:: INI_SECTION_NAME ='files'

INI (config) file section name containing the collection file names.


Derived Types

type, public :: files_collection_object

Files collection object class.

Components

TypeVisibility AttributesNameInitial
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.

Type-Bound Procedures

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.


Functions

private pure function description(self, prefix) result(desc)

Return a pretty-formatted description of the files collection.

Arguments

Type IntentOptional AttributesName
class(files_collection_object), intent(in) :: self

Files collection.

character(len=*), intent(in), optional :: prefix

Prefixing string.

Return Value character(len=:), allocatable

Description.


Subroutines

private elemental subroutine destroy(self)

Destroy files collection.

Arguments

Type IntentOptional AttributesName
class(files_collection_object), intent(inout) :: self

Files collection.

private elemental subroutine initialize(self)

Initialize Files collection.

Arguments

Type IntentOptional AttributesName
class(files_collection_object), intent(inout) :: self

Files collection.

private subroutine load_from_file(self, fini, go_on_fail)

Load from file.

Arguments

Type IntentOptional AttributesName
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..

private subroutine save_into_file(self, fini)

Save from file.

Arguments

Type IntentOptional AttributesName
class(files_collection_object), intent(inout) :: self

Files collection.

type(file_ini), intent(inout) :: fini

Simulation parameters ini file handler.