mod_input Module

Module to handle parfile reading. Contains subroutines to retrieve the parfile based on the commandline arguments and to read the parfile, setting the global variables.



Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private, parameter:: unit_par =101

Subroutines

public subroutine read_parfile(parfile, settings)

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: parfile
type(settings_t), intent(inout) :: settings

private subroutine read_gridlist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_savelist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_solvelist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_physicslist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_equilibriumlist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_paramlist(unit)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit

private subroutine read_unitlist(unit, settings)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine check_eigenfunction_subset_params(center, radius)

Called when the eigenfunction subset selection is enabled, this checks if the global variables are properly set.

Arguments

TypeIntentOptionalAttributesName
complex(kind=dp), intent(in) :: center
real(kind=dp), intent(in) :: radius

private subroutine parse_io_info(iostat, iomsg)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: iostat
character(len=*), intent(in) :: iomsg

public subroutine get_parfile(filename_par)

Parses the command line arguments and retrieves the parfile passed.

Read more…

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(out) :: filename_par

the name of the parfile