ESMF_RouteHandleCopyThis Subroutine

public subroutine ESMF_RouteHandleCopyThis(rhandleIn, rhandleOut, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_RouteHandle), intent(in) :: rhandleIn
type(ESMF_RouteHandle), intent(inout) :: rhandleOut
integer, intent(out), optional :: rc

Called by

proc~~esmf_routehandlecopythis~~CalledByGraph proc~esmf_routehandlecopythis ESMF_RouteHandleCopyThis proc~f_esmf_regrid f_esmf_regrid proc~f_esmf_regrid->proc~esmf_routehandlecopythis proc~f_esmf_regridrelease f_esmf_regridrelease proc~f_esmf_regridrelease->proc~esmf_routehandlecopythis proc~f_esmf_regridstore f_esmf_regridstore proc~f_esmf_regridstore->proc~esmf_routehandlecopythis proc~f_esmf_regridstorefile f_esmf_regridstorefile proc~f_esmf_regridstorefile->proc~esmf_routehandlecopythis proc~f_esmf_smmstore f_esmf_smmstore proc~f_esmf_smmstore->proc~esmf_routehandlecopythis

Source Code

  subroutine ESMF_RouteHandleCopyThis(rhandleIn, rhandleOut, rc)
!
! !ARGUMENTS:
    type(ESMF_RouteHandle), intent(in)              :: rhandleIn
    type(ESMF_RouteHandle), intent(inout)           :: rhandleOut
    integer,                intent(out),  optional  :: rc
!
!
! !DESCRIPTION:
!     Copy RouteHandle this member. Do not set init code.
!
!     The arguments are:
!     \begin{description}
!     \item[rhandleIn]
!          Input {\tt ESMF\_RouteHandle} object.
!     \item[rhandleOut]
!          Output {\tt ESMF\_RouteHandle} object.
!     \item[{[rc]}]
!          Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!     \end{description}
!
!EOPI
!------------------------------------------------------------------------------
    integer :: localrc                        ! local return code

    ! Assume failure until success
    if (present(rc)) rc = ESMF_RC_NOT_IMPL
    localrc = ESMF_RC_NOT_IMPL

    ! Copy this member
    rhandleOut%this = rhandleIn%this

    ! Return success
    if (present(rc)) rc = ESMF_SUCCESS

  end subroutine ESMF_RouteHandleCopyThis