ESMF_BaseGetVMId Subroutine

public subroutine ESMF_BaseGetVMId(base, vmid, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Base), intent(in) :: base
type(ESMF_VMId), intent(out) :: vmid
integer, intent(out), optional :: rc

Calls

proc~~esmf_basegetvmid~~CallsGraph proc~esmf_basegetvmid ESMF_BaseGetVMId interface~c_esmc_getvmid c_ESMC_GetVMId proc~esmf_basegetvmid->interface~c_esmc_getvmid

Called by

proc~~esmf_basegetvmid~~CalledByGraph proc~esmf_basegetvmid ESMF_BaseGetVMId proc~esmf_reconcilegetstateidinfo ESMF_ReconcileGetStateIDInfo proc~esmf_reconcilegetstateidinfo->proc~esmf_basegetvmid proc~esmf_stateitemprint ESMF_StateItemPrint proc~esmf_stateitemprint->proc~esmf_basegetvmid proc~json_cplcompgetid JSON_CplCompGetID proc~json_cplcompgetid->proc~esmf_basegetvmid proc~json_fieldgetid JSON_FieldGetID proc~json_fieldgetid->proc~esmf_basegetvmid proc~json_fieldgetid~2 JSON_FieldGetID proc~json_fieldgetid~2->proc~esmf_basegetvmid proc~json_gridcompgetid JSON_GridCompGetID proc~json_gridcompgetid->proc~esmf_basegetvmid proc~json_gridcompgetid~2 JSON_GridCompGetID proc~json_gridcompgetid~2->proc~esmf_basegetvmid proc~json_stategetid JSON_StateGetID proc~json_stategetid->proc~esmf_basegetvmid proc~json_stategetid~2 JSON_StateGetID proc~json_stategetid~2->proc~esmf_basegetvmid proc~updategeneric ESMF_InfoDescribe%updateGeneric proc~updategeneric->proc~esmf_basegetvmid program~esmf_infocacheutest ESMF_InfoCacheUTest program~esmf_infocacheutest->proc~esmf_basegetvmid interface~json_getid JSON_GetID interface~json_getid->proc~json_cplcompgetid interface~json_getid->proc~json_fieldgetid interface~json_getid->proc~json_gridcompgetid interface~json_getid->proc~json_stategetid interface~json_getid~2 JSON_GetID interface~json_getid~2->proc~json_fieldgetid~2 interface~json_getid~2->proc~json_gridcompgetid~2 interface~json_getid~2->proc~json_stategetid~2 proc~esmf_statereconcile_driver ESMF_StateReconcile_driver proc~esmf_statereconcile_driver->proc~esmf_reconcilegetstateidinfo proc~updatewitharray ESMF_InfoDescribe%updateWithArray proc~updatewitharray->proc~updategeneric proc~updatewitharraybundle ESMF_InfoDescribe%updateWithArrayBundle proc~updatewitharraybundle->proc~updategeneric proc~updatewithcplcomp ESMF_InfoDescribe%updateWithCplComp proc~updatewithcplcomp->proc~updategeneric proc~updatewithdistgrid ESMF_InfoDescribe%updateWithDistGrid proc~updatewithdistgrid->proc~updategeneric proc~updatewithfield ESMF_InfoDescribe%updateWithField proc~updatewithfield->proc~updategeneric proc~updatewithfieldbundle ESMF_InfoDescribe%updateWithFieldBundle proc~updatewithfieldbundle->proc~updategeneric proc~updatewithgrid ESMF_InfoDescribe%updateWithGrid proc~updatewithgrid->proc~updategeneric proc~updatewithgridcomp ESMF_InfoDescribe%updateWithGridComp proc~updatewithgridcomp->proc~updategeneric proc~updatewithlocstream ESMF_InfoDescribe%updateWithLocStream proc~updatewithlocstream->proc~updategeneric proc~updatewithmesh ESMF_InfoDescribe%updateWithMesh proc~updatewithmesh->proc~updategeneric proc~updatewithroutehandle ESMF_InfoDescribe%updateWithRouteHandle proc~updatewithroutehandle->proc~updategeneric proc~updatewithscicomp ESMF_InfoDescribe%updateWithSciComp proc~updatewithscicomp->proc~updategeneric proc~updatewithstate ESMF_InfoDescribe%updateWithState proc~updatewithstate->proc~updategeneric proc~updatewithxgrid ESMF_InfoDescribe%updateWithXGrid proc~updatewithxgrid->proc~updategeneric

Source Code

  subroutine ESMF_BaseGetVMId (base, vmid, rc)
!
! !ARGUMENTS:
      type(ESMF_Base), intent(in)             :: base
      type(ESMF_VMId), intent(out)            :: vmid
      integer,         intent(out), optional  :: rc

!
! !DESCRIPTION:
!     Return the VMId of any type in the system.
!
!     The arguments are:
!     \begin{description}
!     \item[base]
!       Any ESMF type.
!     \item[vmid]
!       The vmid of the Base object.
!     \item[{[rc]}]
!       Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!     \end{description}
!
!EOPI
      integer :: localrc

      ! Initialize return code; assume routine not implemented
      if (present(rc)) rc = ESMF_RC_NOT_IMPL
      localrc = ESMF_RC_NOT_IMPL

      call c_ESMC_GetVMID(base , vmid, localrc)
      if (present(rc)) rc = localrc

  end subroutine ESMF_BaseGetVMId