f_esmf_compgetcurrentphase Subroutine

recursive subroutine f_esmf_compgetcurrentphase(comp, currentPhase, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_CWrap) :: comp
integer :: currentPhase
integer :: rc

Source Code

recursive subroutine f_esmf_compgetcurrentphase(comp, currentPhase, rc)
  use ESMF_UtilTypesMod      ! ESMF utility types
  use ESMF_BaseMod           ! ESMF base class
  use ESMF_CompMod

  implicit none

  type(ESMF_CWrap)   :: comp
  integer            :: currentPhase
  integer            :: rc

  ! Initialize return code; assume routine not implemented
  rc = ESMF_RC_NOT_IMPL

  call ESMF_CompGet(compp=comp%compp, currentPhase=currentPhase, rc=rc)
end subroutine f_esmf_compgetcurrentphase