ESMF_LineTypeEqual Function

private impure elemental function ESMF_LineTypeEqual(LineType1, LineType2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_LineType_Flag), intent(in) :: LineType1
type(ESMF_LineType_Flag), intent(in) :: LineType2

Return Value logical


Source Code

      impure elemental function ESMF_LineTypeEqual(LineType1, LineType2)

! !RETURN VALUE:
      logical :: ESMF_LineTypeEqual

! !ARGUMENTS:

      type (ESMF_LineType_Flag), intent(in) :: &
         LineType1,      &! Two igrid statuses to compare for
         LineType2        ! equality

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

      ESMF_LineTypeEqual = (LineType1%linetype == &
                              LineType2%linetype)

      end function ESMF_LineTypeEqual