ESMF_GridStatusEqual Function

private impure elemental function ESMF_GridStatusEqual(GridStatus1, GridStatus2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_GridStatus_Flag), intent(in) :: GridStatus1
type(ESMF_GridStatus_Flag), intent(in) :: GridStatus2

Return Value logical


Source Code

      impure elemental function ESMF_GridStatusEqual(GridStatus1, GridStatus2)

! !RETURN VALUE:
      logical :: ESMF_GridStatusEqual

! !ARGUMENTS:

      type (ESMF_GridStatus_Flag), intent(in) :: &
         GridStatus1,      &! Two igrid statuses to compare for
         GridStatus2        ! equality

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

      ESMF_GridStatusEqual = (GridStatus1%gridstatus == &
                              GridStatus2%gridstatus)

      end function ESMF_GridStatusEqual