ESMF_GridConnEqual Function

private impure elemental function ESMF_GridConnEqual(GridConn1, GridConn2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_GridConn_Flag), intent(in) :: GridConn1
type(ESMF_GridConn_Flag), intent(in) :: GridConn2

Return Value logical


Source Code

      impure elemental function ESMF_GridConnEqual(GridConn1, GridConn2)

! !RETURN VALUE:
      logical :: ESMF_GridConnEqual

! !ARGUMENTS:

      type (ESMF_GridConn_Flag), intent(in) :: &
         GridConn1,      &! Two igrid statuses to compare for
         GridConn2        ! equality

! !DESCRIPTION:
!     This routine compares two ESMF GridConn statuses to see if
!     they are equivalent.
!
!     The arguments are:
!     \begin{description}
!     \item[GridConn1, GridConn2]
!          Two igrid statuses to compare for equality
!     \end{description}
!
!EOPI

      ESMF_GridConnEqual = (GridConn1%gridconn == &
                              GridConn2%gridconn)

      end function ESMF_GridConnEqual