MockAction Derived Type

type, public, extends(ExtensionAction) :: MockAction


Inherits

type~~mockaction~~InheritsGraph type~mockaction MockAction type~extensionaction ExtensionAction type~mockaction->type~extensionaction

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: details

Constructor

public interface MockAction

  • private function new_MockAction(src_spec, dst_spec) result(action)

    Arguments

    Type IntentOptional Attributes Name
    type(MockItemSpec), intent(in) :: src_spec
    type(MockItemSpec), intent(in) :: dst_spec

    Return Value type(MockAction)


Type-Bound Procedures

procedure, public :: initialize

  • private subroutine initialize(this, importState, exportState, clock, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(MockAction), intent(inout) :: this
    type(ESMF_State) :: importState
    type(ESMF_State) :: exportState
    type(ESMF_Clock) :: clock
    integer, intent(out), optional :: rc

procedure, public :: run

  • private subroutine run(this, importState, exportState, clock, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(MockAction), intent(inout) :: this
    type(ESMF_State) :: importState
    type(ESMF_State) :: exportState
    type(ESMF_Clock) :: clock
    integer, intent(out), optional :: rc

Source Code

   type, extends(ExtensionAction) :: MockAction
      character(:), allocatable :: details
   contains
      procedure :: initialize
      procedure :: run
   end type MockAction