ESMF_TermOrderEq Function

private impure elemental function ESMF_TermOrderEq(termOrder1, termOrder2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_TermOrder_Flag), intent(in) :: termOrder1
type(ESMF_TermOrder_Flag), intent(in) :: termOrder2

Return Value logical


Source Code

      impure elemental function ESMF_TermOrderEq(termOrder1, termOrder2)

! !RETURN VALUE:
      logical :: ESMF_TermOrderEq

! !ARGUMENTS:

      type (ESMF_TermOrder_Flag), intent(in) :: &
         termOrder1,      &
         termOrder2

! !DESCRIPTION:
!     This routine compares two ESMF TermOrder flags to see if
!     they are equivalent.
!
!     The arguments are:
!     \begin{description}
!     \item[termOrder1, termOrder2]
!          termorder flags
!     \end{description}
!
!EOPI

      ESMF_TermOrderEq = (termOrder1%flag == termOrder2%flag)

      end function ESMF_TermOrderEq