f_esmf_arrayspecgetrank Subroutine

subroutine f_esmf_arrayspecgetrank(arrayspec, rank, rc)

Uses

  • proc~~f_esmf_arrayspecgetrank~~UsesGraph proc~f_esmf_arrayspecgetrank f_esmf_arrayspecgetrank module~esmf_arrayspecmod ESMF_ArraySpecMod proc~f_esmf_arrayspecgetrank->module~esmf_arrayspecmod module~esmf_logerrmod ESMF_LogErrMod proc~f_esmf_arrayspecgetrank->module~esmf_logerrmod module~esmf_utiltypesmod ESMF_UtilTypesMod proc~f_esmf_arrayspecgetrank->module~esmf_utiltypesmod module~esmf_arrayspecmod->module~esmf_logerrmod module~esmf_arrayspecmod->module~esmf_utiltypesmod module~esmf_basemod ESMF_BaseMod module~esmf_arrayspecmod->module~esmf_basemod module~esmf_initmacrosmod ESMF_InitMacrosMod module~esmf_arrayspecmod->module~esmf_initmacrosmod module~esmf_ioutilmod ESMF_IOUtilMod module~esmf_arrayspecmod->module~esmf_ioutilmod module~esmf_logerrmod->module~esmf_utiltypesmod module~esmf_logerrmod->module~esmf_ioutilmod module~esmf_utilstringmod ESMF_UtilStringMod module~esmf_logerrmod->module~esmf_utilstringmod iso_c_binding iso_c_binding module~esmf_utiltypesmod->iso_c_binding module~esmf_basemod->module~esmf_logerrmod module~esmf_basemod->module~esmf_utiltypesmod module~esmf_basemod->iso_c_binding module~esmf_basemod->module~esmf_initmacrosmod module~esmf_basemod->module~esmf_ioutilmod module~esmf_vmmod ESMF_VMMod module~esmf_basemod->module~esmf_vmmod module~esmf_initmacrosmod->module~esmf_logerrmod module~esmf_initmacrosmod->module~esmf_utiltypesmod module~esmf_ioutilmod->module~esmf_utiltypesmod module~esmf_vmmod->module~esmf_logerrmod module~esmf_vmmod->module~esmf_utiltypesmod module~esmf_vmmod->iso_c_binding module~esmf_vmmod->module~esmf_initmacrosmod module~esmf_vmmod->module~esmf_ioutilmod module~esmf_f90interfacemod ESMF_F90InterfaceMod module~esmf_vmmod->module~esmf_f90interfacemod

Arguments

Type IntentOptional Attributes Name
type(ESMF_ArraySpec) :: arrayspec
integer :: rank
integer :: rc

Calls

proc~~f_esmf_arrayspecgetrank~~CallsGraph proc~f_esmf_arrayspecgetrank f_esmf_arrayspecgetrank proc~esmf_arrayspecget ESMF_ArraySpecGet proc~f_esmf_arrayspecgetrank->proc~esmf_arrayspecget proc~esmf_logfounderror ESMF_LogFoundError proc~f_esmf_arrayspecgetrank->proc~esmf_logfounderror proc~esmf_arrayspecgetinit ESMF_ArraySpecGetInit proc~esmf_arrayspecget->proc~esmf_arrayspecgetinit proc~esmf_imerrs ESMF_IMErrS proc~esmf_arrayspecget->proc~esmf_imerrs esmf_breakpoint esmf_breakpoint proc~esmf_logfounderror->esmf_breakpoint proc~esmf_logrc2msg ESMF_LogRc2Msg proc~esmf_logfounderror->proc~esmf_logrc2msg proc~esmf_logwrite ESMF_LogWrite proc~esmf_logfounderror->proc~esmf_logwrite proc~esmf_imerrs->proc~esmf_logfounderror proc~esmf_initcheckshallow ESMF_InitCheckShallow proc~esmf_imerrs->proc~esmf_initcheckshallow c_esmc_loggeterrormsg c_esmc_loggeterrormsg proc~esmf_logrc2msg->c_esmc_loggeterrormsg c_esmc_vmwtime c_esmc_vmwtime proc~esmf_logwrite->c_esmc_vmwtime proc~esmf_logclose ESMF_LogClose proc~esmf_logwrite->proc~esmf_logclose proc~esmf_logflush ESMF_LogFlush proc~esmf_logwrite->proc~esmf_logflush proc~esmf_logopenfile ESMF_LogOpenFile proc~esmf_logwrite->proc~esmf_logopenfile proc~esmf_utiliounitflush ESMF_UtilIOUnitFlush proc~esmf_logwrite->proc~esmf_utiliounitflush proc~esmf_utilstring2array ESMF_UtilString2Array proc~esmf_logwrite->proc~esmf_utilstring2array proc~esmf_logclose->proc~esmf_logflush proc~esmf_logflush->proc~esmf_utiliounitflush proc~esmf_utilarray2string ESMF_UtilArray2String proc~esmf_logflush->proc~esmf_utilarray2string proc~esmf_logopenfile->proc~esmf_utiliounitflush proc~esmf_utiliounitget ESMF_UtilIOUnitGet proc~esmf_logopenfile->proc~esmf_utiliounitget

Source Code

  subroutine f_esmf_arrayspecgetrank(arrayspec, rank, rc)
#undef  ESMF_METHOD
#define ESMF_METHOD "f_esmf_arrayspecgetrank()"
    use ESMF_ArraySpecMod
    use ESMF_UtilTypesMod
    use ESMF_LogErrMod

    implicit none

    type(ESMF_ArraySpec) :: arrayspec
    integer :: rank
    integer :: rc

    integer                 :: localrc      ! local return code

    ! initialize return code; assume routine not implemented
    localrc = ESMF_RC_NOT_IMPL
    rc = ESMF_RC_NOT_IMPL

    call ESMF_ArraySpecGet(arrayspec=arrayspec, rank=rank, rc=localrc)
    if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, &
      ESMF_CONTEXT, &
      rcToReturn=rc)) return

    ! return successfully
    rc = ESMF_SUCCESS

  end subroutine f_esmf_arrayspecgetrank