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.



Variables

Type Visibility Attributes Name Initial
integer, private, parameter :: unit_par = 101

Subroutines

public subroutine read_parfile(parfile, settings)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: parfile
type(settings_t), intent(inout) :: settings

private subroutine read_gridlist(unit, settings)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_savelist(unit, settings)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_solvelist(unit, settings)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_physicslist(unit, settings)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_equilibriumlist(unit, settings)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit
type(settings_t), intent(inout) :: settings

private subroutine read_paramlist(unit)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: unit

private subroutine read_unitlist(unit, settings)

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: center
real(kind=dp), intent(in) :: radius

private subroutine parse_io_info(iostat, iomsg)

Arguments

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
character(len=*), intent(out) :: filename_par

the name of the parfile