ESMF_DistGridConnectionPrint Subroutine

public subroutine ESMF_DistGridConnectionPrint(connection, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_DistGridConnection), intent(in) :: connection
integer, intent(out), optional :: rc

Source Code

  subroutine ESMF_DistGridConnectionPrint(connection, rc)
!
! !ARGUMENTS:
    type(ESMF_DistGridConnection),intent(in )         :: connection
    integer,                     intent(out), optional:: rc
!         
!
! !DESCRIPTION:
!
!   The arguments are:
!   \begin{description}
!   \item[connection] 
!     DistGridConnection object.
!   \item[{[rc]}] 
!     Return code; equals {\tt ESMF\_SUCCESS} if there are no errors.
!   \end{description}
!
!EOP
!------------------------------------------------------------------------------
    integer                 :: localrc      ! local return code

    ! initialize return code; assume routine not implemented
    localrc = ESMF_RC_NOT_IMPL
    if (present(rc)) rc = ESMF_RC_NOT_IMPL
    
    print *, "DistGridConnectionPrint - elementCount=", connection%elementCount
    print *, "DistGridConnectionPrint - connection=", &
      connection%connection(1:connection%elementCount)
    
    ! return successfully
    if (present(rc)) rc = ESMF_SUCCESS
 
  end subroutine ESMF_DistGridConnectionPrint