ESMF_Decomp_FlagEQ Function

private function ESMF_Decomp_FlagEQ(decompFlag1, decompFlag2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Decomp_Flag), intent(in) :: decompFlag1
type(ESMF_Decomp_Flag), intent(in) :: decompFlag2

Return Value logical


Source Code

      function ESMF_Decomp_FlagEQ(decompFlag1, decompFlag2)

! !RETURN VALUE:
      logical :: ESMF_Decomp_FlagEQ

! !ARGUMENTS:

      type (ESMF_Decomp_Flag), intent(in) :: &
         decompFlag1,      &! Two igrid statuses to compare for
         decompFlag2        ! equality

! !DESCRIPTION:
!     This routine compares two ESMF DecompFlag statuses to see if
!     they are equivalent.
!
!     The arguments are:
!     \begin{description}
!     \item[decompFlag1, decompFlag2]
!          Two decomposition flags to compare for equality
!     \end{description}
!
!EOPI

      ESMF_Decomp_FlagEQ = (decompFlag1%value == &
                            decompFlag2%value)

      end function ESMF_Decomp_FlagEQ