ScenarioDescription Derived Type

type, public, extends(ESMF_TestParameter) :: ScenarioDescription


Inherits

type~~scenariodescription~~InheritsGraph type~scenariodescription ScenarioDescription type~esmf_testparameter ESMF_TestParameter type~scenariodescription->type~esmf_testparameter MpiTestParameter MpiTestParameter type~esmf_testparameter->MpiTestParameter

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: check_name
character(len=:), public, allocatable :: name
character(len=:), public, allocatable :: root
integer, public :: numPETsRequested
procedure(I_check_stateitem), public, nopass, pointer :: check_stateitem

Constructor

public interface ScenarioDescription

  • public function new_ScenarioDescription(name, root, check_name, check_stateitem) result(s)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: name
    character(len=*), intent(in) :: root
    character(len=*), intent(in) :: check_name
    procedure(I_check_stateitem) :: check_stateitem

    Return Value type(ScenarioDescription)


Type-Bound Procedures

procedure, public :: getNumPetsRequested => getNumPETsRequested

  • private pure function getNumPETsRequested(this) result(numPETsRequested)

    Arguments

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

    Return Value integer

procedure, public :: setNumPetsRequested => setNumPETsRequested

  • private pure subroutine setNumPETsRequested(this, numPETsRequested)

    Arguments

    Type IntentOptional Attributes Name
    class(ESMF_TestParameter), intent(inout) :: this
    integer, intent(in) :: numPETsRequested

procedure, public :: toStringActual

  • private function toStringActual(this) result(string)

    Arguments

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

    Return Value character(len=:), allocatable

procedure, public :: tostring => tostring_description

Source Code

   type, extends(ESMF_TestParameter) :: ScenarioDescription
      character(:), allocatable :: name
      character(:), allocatable :: root
      character(:), allocatable :: check_name
      procedure(I_check_stateitem), nopass, pointer :: check_stateitem
   contains
      procedure :: tostring => tostring_description
   end type ScenarioDescription