ESMF_MeshStatusEqual Function

private function ESMF_MeshStatusEqual(MeshStatus1, MeshStatus2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus1
type(ESMF_MeshStatus_Flag), intent(in) :: MeshStatus2

Return Value logical


Source Code

      function ESMF_MeshStatusEqual(MeshStatus1, MeshStatus2)

! !RETURN VALUE:
      logical :: ESMF_MeshStatusEqual

! !ARGUMENTS:

      type (ESMF_MeshStatus_Flag), intent(in) :: &
         MeshStatus1,      &! Two igrid statuses to compare for
         MeshStatus2        ! equality

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

      ESMF_MeshStatusEqual = (MeshStatus1%meshstatus == &
                              MeshStatus2%meshstatus)

      end function ESMF_MeshStatusEqual