params_template_m Module

Contains all parameters related with template model



Contents


Variables

Type Visibility Attributes Name Initial
character(len=*), public, parameter :: default_nml_file = 'template.nml'
character(len=PATHLEN_MAX), protected :: paths_filename = default_nml_file
character(len=PATHLEN_MAX), protected :: path_features = default_nml_file

Path where to read the features of the template model from

character(len=PATHLEN_MAX), protected :: path_tstep = default_nml_file

Path where to read the tstep params of the template model from

character(len=PATHLEN_MAX), protected :: path_params = default_nml_file

Path where to read the model params of the template model from

character(len=PATHLEN_MAX), protected :: path_parbnd = default_nml_file

Path where to read the model params of the template model from

character(len=PATHLEN_MAX), protected :: path_mms = default_nml_file

Path where to read the MMS params of the template model from

character(len=PATHLEN_MAX), protected :: path_init_select = default_nml_file

Path where to read the initial state selection parameters from

character(len=PATHLEN_MAX), protected :: path_snapsdir = 'snapsdir_template'

Directory for I/O of snapshot files

character(len=PATHLEN_MAX), protected :: path_mmsjobout = 'mms_template_job.out'

File for output of MMS diagnostics

character(len=PATHLEN_MAX), protected :: diagfile_path = 'diagnostics_template.txt'

Output file for diagnostics

logical, protected :: mms_on = .false.

If true, code runs with MMS sources and performs MMS diagnostics MMS = method of manufactured solutions

logical, protected :: perptransp_on = .true.

If true runs with perpendicular (diffusive) transport model enabled

logical, protected :: partransp_on = .true.

If true runs with parallel transport model enabled

logical, protected :: pardiff_on = .true.

If true runs with parallel diffusion terms

real(kind=GP), protected :: dtau = 1.0E-6_GP

Size of timestep

real(kind=GP), protected :: tau_fin = 1.0E-1_GP

End time of simulation

real(kind=GP), protected :: tau_snaps = 1.0E-2_GP

Interval for writing snapshots

real(kind=GP), protected :: tau_diag = GP_LARGE

Interval for performing diagnostics

real(kind=GP), protected :: tau_perf = 1.0E-2_GP

Interval for writing performance statistics

character(len=32), protected :: tstep_method = 'Karniadakis'

Timestep method

integer, protected :: tstep_order = 2

Order of timestep method

real(kind=GP), protected :: dperp_coeff_dens = GP_NAN

Perpendicular diffusion coefficent for density

real(kind=GP), protected :: dperp_coeff_parmom = GP_NAN

Perpendicular diffusion coefficent for parallel momentum

real(kind=GP), protected :: dperp_coeff_pion = GP_NAN

Perpendicular diffusion coefficent for ion pressure

real(kind=GP), protected :: dpar_coeff_dens = GP_NAN

Parallel diffusion coefficent for density

real(kind=GP), protected :: dpar_coeff_parmom = GP_NAN

Parallel diffusion coefficent for parallel momentum

real(kind=GP), protected :: dpar_coeff_pion = GP_NAN

Parallel diffusion coefficent for ion pressure

real(kind=GP), protected :: ion_heat_cond_coeff = GP_NAN

Ion heat conduction coefficient

character(len=32), protected :: parbnd_method = 'Taylor'

Method for treatment of parallel boundaries - 'None': No boundary condition is applied at all (not meant for production runs) - 'Immersed': Boundaries are applied via immersion technique - 'Taylor': Boundaries are applied via Taylor expansion method

character(len=32), protected :: parbnd_type_dens = 'Extrapolate'

Type of boundary condition applied to density

character(len=32), protected :: parbnd_type_parmom = 'Sonic'

Type of boundary condition applied to parallel momentum

real(kind=GP), protected :: parbnd_immersed_epsinv = 0.0_GP

Inverse epsilon, controling strength off immersion source

integer, protected :: parbnd_taylor_order = 2

Order in Taylor expansion method


Interfaces

interface

  • public module subroutine read_params_template_paths(optional_filepath)

    Reads parameters related with file paths

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: optional_filepath

    Filename, where to read path parameters from

interface

  • public module subroutine display_params_template_paths()

    Prints parameters related with file paths

    Arguments

    None

interface

  • public module subroutine read_params_template_features(optional_filepath)

    Reads parameters related with feature selection

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: optional_filepath

    Filename, where to read feature selection parameters from

interface

  • public module subroutine display_params_template_features()

    Prints parameters related with feature selection to stdout

    Arguments

    None

interface

  • public module subroutine read_params_template_tstep(optional_filepath)

    Reads parameters related with timestepping

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: optional_filepath

    Filename, where to read timestep parameters from

interface

  • public module subroutine display_params_template_tstep()

    Prints parameters related with timestepping to stdout

    Arguments

    None

interface

  • public module subroutine read_params_template_model(optional_filepath)

    Reads parameters related with timestepping

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: optional_filepath

    Filename, where to read model parameters from

interface

  • public module subroutine display_params_template_model()

    Prints parameters related with timestepping to stdout

    Arguments

    None

interface

  • public module subroutine read_params_template_parbnd(optional_filepath)

    Reads parameters related with parallel boundary conditions

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: optional_filepath

    Filename, where to read parameters from

interface

  • public module subroutine display_params_template_parbnd()

    Prints parameters related with parallel boundary conditions

    Arguments

    None

Subroutines

public subroutine read_all_params_template()

Initializes all parameters of template model (except for paths)

Arguments

None