ESMF_CoordSysEqual Function

private impure elemental function ESMF_CoordSysEqual(CoordSys1, CoordSys2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_CoordSys_Flag), intent(in) :: CoordSys1
type(ESMF_CoordSys_Flag), intent(in) :: CoordSys2

Return Value logical


Source Code

      impure elemental function ESMF_CoordSysEqual(CoordSys1, CoordSys2)

! !RETURN VALUE:
      logical :: ESMF_CoordSysEqual

! !ARGUMENTS:

      type (ESMF_CoordSys_Flag), intent(in) :: &
         CoordSys1,      &! Two igrid statuses to compare for
         CoordSys2        ! equality

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

      ESMF_CoordSysEqual = (CoordSys1%coordsys == &
                              CoordSys2%coordsys)

      end function ESMF_CoordSysEqual