ESMF_TimeNE Function

private impure elemental function ESMF_TimeNE(time1, time2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Time), intent(in) :: time1
type(ESMF_Time), intent(in) :: time2

Return Value logical


Source Code

      impure elemental function ESMF_TimeNE(time1, time2)
!
! !RETURN VALUE:
      logical :: ESMF_TimeNE
!
! !ARGUMENTS:
      type(ESMF_Time), intent(in) :: time1
      type(ESMF_Time), intent(in) :: time2

! !DESCRIPTION:
!     This method overloads the (/=) operator for the {\tt ESMF\_Time} class.
!     See "interface operator(/=)" above for complete description.
!
!EOPI
      integer :: localrc

      ! Initialize output value in case of error
      ESMF_TimeNE = .true.

      ! check inputs
      ESMF_INIT_CHECK_SHALLOW(ESMF_TimeGetInit,time1,localrc)
      ESMF_INIT_CHECK_SHALLOW(ESMF_TimeGetInit,time2,localrc)

      ! invoke C to C++ entry point for ESMC_BaseTime base class function
      call c_ESMC_BaseTimeNE(time1, time2, ESMF_TimeNE)

      end function ESMF_TimeNE