params_zhdanov_general_t Derived Type

type, public :: params_zhdanov_general_t

General parameters for Zhdanov model


Contents


Components

Type Visibility Attributes Name Initial
logical, public :: mms_on = .false.

Switch for MMS analysis

real(kind=GP), public :: temp

Temporal variable, it will be replaced later

integer, public :: tstep_order = 3

Order of time-stepping scheme

real(kind=GP), public :: dtau = 1.0E-2_GP

Size of time-step

real(kind=GP), public :: tau_fin = 20.0_GP

End timepoint of simulation

real(kind=GP), public :: tau_snaps = 1.0_GP

Time interval for snapshot output


Type-Bound Procedures

procedure, public :: display_zh => display_zhdanov_params

procedure, public :: read_zh_controls => read_zhdanov_controls

  • public subroutine read_zhdanov_controls(self, filename)

    Reads parameters related with control of Zhdanov model

    Arguments

    Type IntentOptional Attributes Name
    class(params_zhdanov_general_t), intent(inout) :: self

    Instance of the type

    character(len=*), intent(in) :: filename

    Filename, to read from

procedure, public :: read_zh => read_zhdanov_params

  • public subroutine read_zhdanov_params(self, filename)

    Reads parameters related with physical model

    Arguments

    Type IntentOptional Attributes Name
    class(params_zhdanov_general_t), intent(inout) :: self

    Instance of the type

    character(len=*), intent(in) :: filename

    Filename, to read from

procedure, public :: read_params_timestep

  • public subroutine read_params_timestep(self, filename)

    Reads parameters related with timestepping

    Arguments

    Type IntentOptional Attributes Name
    class(params_zhdanov_general_t), intent(inout) :: self

    Instance of the type

    character(len=*), intent(in) :: filename

    Filename, to read from