ESMF_NormTypeEqual Function

private impure elemental function ESMF_NormTypeEqual(NormType1, NormType2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_NormType_Flag), intent(in) :: NormType1
type(ESMF_NormType_Flag), intent(in) :: NormType2

Return Value logical


Source Code

      impure elemental function ESMF_NormTypeEqual(NormType1, NormType2)

! !RETURN VALUE:
      logical :: ESMF_NormTypeEqual

! !ARGUMENTS:

      type (ESMF_NormType_Flag), intent(in) :: &
         NormType1,      &! Two igrid statuses to compare for
         NormType2        ! equality

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

      ESMF_NormTypeEqual = (NormType1%normtype == &
                              NormType2%normtype)

      end function ESMF_NormTypeEqual