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_subtype, dst_subtype) result(action)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in), optional :: src_subtype
    character(len=*), intent(in), optional :: dst_subtype

    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 :: invalidate

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

    Arguments

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

procedure, public :: update

  • private subroutine update(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 :: update
   end type MockAction