mod_io_settings Module



Contents


Derived Types

type, public :: io_settings_t

Components

TypeVisibilityAttributesNameInitial
logical, public :: write_matrices
logical, public :: write_eigenvectors
logical, public :: write_residuals
logical, public :: write_background
logical, public :: write_eigenfunctions
logical, public :: write_derived_eigenfunctions
logical, public :: write_ef_subset
real(kind=dp), public :: ef_subset_radius
complex(kind=dp), public :: ef_subset_center
logical, public :: show_results
character, private, allocatable:: basename_datfile
character, private, allocatable:: output_folder

Type-Bound Procedures

procedure, public :: set_basename_datfile
procedure, public :: get_basename_datfile
procedure, public :: set_output_folder
procedure, public :: get_output_folder
procedure, public :: should_compute_eigenvectors
procedure, public :: set_all_io_to_false
procedure, public :: delete

Functions

public pure function new_io_settings() result(io_settings)

Arguments

None

Return Value type(io_settings_t)

private pure function get_basename_datfile(this) result(basename_datfile)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(in) :: this

Return Value character(len=:),allocatable

private pure function get_output_folder(this) result(output_folder)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(in) :: this

Return Value character(len=:),allocatable

private pure function should_compute_eigenvectors(this)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(in) :: this

Return Value logical


Subroutines

private pure subroutine set_basename_datfile(this, basename_datfile)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(inout) :: this
character(len=*), intent(in) :: basename_datfile

private pure subroutine set_output_folder(this, output_folder)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(inout) :: this
character(len=*), intent(in) :: output_folder

private pure subroutine set_all_io_to_false(this)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(inout) :: this

private pure subroutine delete(this)

Arguments

TypeIntentOptionalAttributesName
class(io_settings_t), intent(inout) :: this