mod_cooling_settings Module


Contents


Derived Types

type, public :: cooling_settings_t

Components

TypeVisibilityAttributesNameInitial
integer, private :: n_interp
character, private, allocatable:: cooling_curve
logical, private :: has_cooling

Type-Bound Procedures

procedure, public :: enable
procedure, public :: disable
procedure, public :: is_enabled
procedure, public :: set_interpolation_points
procedure, public :: get_interpolation_points
procedure, public :: set_cooling_curve
procedure, public :: get_cooling_curve

Functions

public pure function new_cooling_settings() result(cooling)

Arguments

None

Return Value type(cooling_settings_t)

private pure function is_enabled(this)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(in) :: this

Return Value logical

private pure function get_interpolation_points(this)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(in) :: this

Return Value integer

private pure function get_cooling_curve(this) result(cooling_curve)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(in) :: this

Return Value character,allocatable


Subroutines

private pure subroutine enable(this)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(inout) :: this

private pure subroutine disable(this)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(inout) :: this

private pure subroutine set_interpolation_points(this, n_interp)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(inout) :: this
integer, intent(in) :: n_interp

private pure subroutine set_cooling_curve(this, cooling_curve)

Arguments

TypeIntentOptionalAttributesName
class(cooling_settings_t), intent(inout) :: this
character(len=*), intent(in) :: cooling_curve