ESMF_BaseGetId Subroutine

public subroutine ESMF_BaseGetId(base, id, rc)

Arguments

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

Calls

proc~~esmf_basegetid~~CallsGraph proc~esmf_basegetid ESMF_BaseGetId interface~c_esmc_getid c_ESMC_GetId proc~esmf_basegetid->interface~c_esmc_getid

Called by

proc~~esmf_basegetid~~CalledByGraph proc~esmf_basegetid ESMF_BaseGetId proc~esmf_infocachefindfield ESMF_InfoCacheFindField proc~esmf_infocachefindfield->proc~esmf_basegetid proc~esmf_reconcilegetstateidinfo ESMF_ReconcileGetStateIDInfo proc~esmf_reconcilegetstateidinfo->proc~esmf_basegetid proc~esmf_tracegetcplcompid ESMF_TraceGetCplCompID proc~esmf_tracegetcplcompid->proc~esmf_basegetid proc~esmf_tracegetgridcompid ESMF_TraceGetGridCompID proc~esmf_tracegetgridcompid->proc~esmf_basegetid proc~json_cplcompgetid JSON_CplCompGetID proc~json_cplcompgetid->proc~esmf_basegetid proc~json_fieldgetid JSON_FieldGetID proc~json_fieldgetid->proc~esmf_basegetid proc~json_fieldgetid~2 JSON_FieldGetID proc~json_fieldgetid~2->proc~esmf_basegetid proc~json_gridcompgetid JSON_GridCompGetID proc~json_gridcompgetid->proc~esmf_basegetid proc~json_gridcompgetid~2 JSON_GridCompGetID proc~json_gridcompgetid~2->proc~esmf_basegetid proc~json_stategetid JSON_StateGetID proc~json_stategetid->proc~esmf_basegetid proc~json_stategetid~2 JSON_StateGetID proc~json_stategetid~2->proc~esmf_basegetid proc~updategeneric ESMF_InfoDescribe%updateGeneric proc~updategeneric->proc~esmf_basegetid program~esmf_infosyncutest ESMF_InfoSyncUTest program~esmf_infosyncutest->proc~esmf_basegetid

Source Code

  subroutine ESMF_BaseGetId(base, id, rc)
!
! !ARGUMENTS:
      type(ESMF_Base), intent(in)             :: base
      integer,         intent(out)            :: id
      integer,         intent(out), optional  :: rc

!
! !DESCRIPTION:
!     Return the ESMF object Id.
!
!     The arguments are:
!     \begin{description}
!     \item[base]
!       Any ESMF type.
!     \item[id]
!       The object ID 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_GetId (base , id, localrc)
      if (present(rc)) rc = localrc

  end subroutine ESMF_BaseGetId