CONF_PAR_REAL Derived Type

type, private, extends(CONF_PAR) :: CONF_PAR_REAL


Components

Type Visibility Attributes Name Initial
character(len=1), public :: source = 'D'
character(len=max_paramter_name_len), public :: name = ""
real(kind=real_8), public :: val = -1
real(kind=real_8), public :: defval = -1

Type-Bound Procedures

procedure, public, non_overridable :: env_value => conf_par_env_value

  • private function conf_par_env_value(this, env_val) result(status)

    Arguments

    Type IntentOptional Attributes Name
    class(CONF_PAR), intent(inout) :: this
    class(*), intent(out) :: env_val

    Return Value logical

procedure, public, non_overridable :: print_source

  • private function print_source(this)

    Arguments

    Type IntentOptional Attributes Name
    class(CONF_PAR), intent(in) :: this

    Return Value character(len=3)

procedure, public :: set => set_conf_par_real

  • private subroutine set_conf_par_real(this, real_val)

    Arguments

    Type IntentOptional Attributes Name
    class(CONF_PAR_REAL), intent(inout) :: this
    real(kind=real_8), intent(in), optional :: real_val

Source Code

   TYPE, EXTENDS(CONF_PAR) :: CONF_PAR_REAL
      REAL(KIND=real_8) :: val = -1, defval = -1

   CONTAINS

      PROCEDURE :: set => set_conf_par_real

   END TYPE CONF_PAR_REAL