params_zhdanov_general_m Module

General parameters for the ZHDANOV model are stored here and its input is controlled



Contents


Derived Types

type, public ::  params_zhdanov_general_t

General parameters for Zhdanov model

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 Subroutine
procedure , public :: read_zh_controls => read_zhdanov_controls Subroutine
procedure , public :: read_zh => read_zhdanov_params Subroutine
procedure , public :: read_params_timestep Subroutine

Subroutines

public subroutine display_zhdanov_params(self, comm_handler)

Displays parameters for zhdanov model

Arguments

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

Instance of the type

type(comm_handler_t), intent(in) :: comm_handler

MPI communicators

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

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

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