f_esmf_gridspec_inq Subroutine

subroutine f_esmf_gridspec_inq(filename, ndims, grid_dims, rc)

Uses

  • proc~~f_esmf_gridspec_inq~~UsesGraph proc~f_esmf_gridspec_inq f_esmf_gridspec_inq module~esmf_iogridspecmod ESMF_IOGridspecMod proc~f_esmf_gridspec_inq->module~esmf_iogridspecmod module~esmf_logerrmod ESMF_LogErrMod proc~f_esmf_gridspec_inq->module~esmf_logerrmod module~esmf_utiltypesmod ESMF_UtilTypesMod proc~f_esmf_gridspec_inq->module~esmf_utiltypesmod module~esmf_iogridspecmod->module~esmf_logerrmod module~esmf_iogridspecmod->module~esmf_utiltypesmod module~esmf_initmacrosmod ESMF_InitMacrosMod module~esmf_iogridspecmod->module~esmf_initmacrosmod module~esmf_utilmod ESMF_UtilMod module~esmf_iogridspecmod->module~esmf_utilmod module~esmf_vmmod ESMF_VMMod module~esmf_iogridspecmod->module~esmf_vmmod module~esmf_logerrmod->module~esmf_utiltypesmod module~esmf_ioutilmod ESMF_IOUtilMod 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_initmacrosmod->module~esmf_logerrmod module~esmf_initmacrosmod->module~esmf_utiltypesmod module~esmf_ioutilmod->module~esmf_utiltypesmod module~esmf_utilmod->module~esmf_logerrmod module~esmf_utilmod->module~esmf_utiltypesmod module~esmf_utilmod->module~esmf_initmacrosmod module~esmf_utilmod->module~esmf_ioutilmod module~esmf_utilmod->module~esmf_utilstringmod 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 module~esmf_f90interfacemod->module~esmf_logerrmod module~esmf_f90interfacemod->module~esmf_utiltypesmod

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(out) :: ndims
integer, intent(out) :: grid_dims(2)
integer, intent(out) :: rc

Calls

proc~~f_esmf_gridspec_inq~~CallsGraph proc~f_esmf_gridspec_inq f_esmf_gridspec_inq proc~esmf_gridspecinq ESMF_GridspecInq proc~f_esmf_gridspec_inq->proc~esmf_gridspecinq proc~esmf_logfounderror ESMF_LogFoundError proc~f_esmf_gridspec_inq->proc~esmf_logfounderror proc~esmf_logseterror ESMF_LogSetError proc~esmf_gridspecinq->proc~esmf_logseterror 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 c_esmc_loggeterrormsg c_esmc_loggeterrormsg proc~esmf_logrc2msg->c_esmc_loggeterrormsg proc~esmf_logseterror->esmf_breakpoint proc~esmf_logseterror->proc~esmf_logrc2msg proc~esmf_logseterror->proc~esmf_logwrite 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_gridspec_inq(filename, ndims, grid_dims, rc)

    use ESMF_UtilTypesMod
    use ESMF_LogErrMod
    use ESMF_IOGridspecMod

    implicit none

    !------------------------------------------------------------------------------

    !arguments
    character(len=*), intent(in) :: filename
    integer, intent(out)         :: ndims
    integer, intent(out)         :: grid_dims(2)
    integer, intent(out)         :: rc

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

    ! Call into public interface
    call ESMF_GridspecInq(filename, ndims, grid_dims, rc=rc)

    ! Error handling
    if (ESMF_LogFoundError(rc, ESMF_ERR_PASSTHRU, &
        ESMF_CONTEXT, rcToReturn=rc)) return

    ! Return successfully
    rc = ESMF_SUCCESS

  end subroutine f_esmf_gridspec_inq