ESMF_CalendarKindAndCalNE Function

private impure elemental function ESMF_CalendarKindAndCalNE(calkindflag, calendar)

Arguments

Type IntentOptional Attributes Name
type(ESMF_CalKind_Flag), intent(in) :: calkindflag
type(ESMF_Calendar), intent(in) :: calendar

Return Value logical


Source Code

      impure elemental function ESMF_CalendarKindAndCalNE(calkindflag, calendar)
! 
! !RETURN VALUE:
      logical :: ESMF_CalendarKindAndCalNE

! !ARGUMENTS:
      type(ESMF_CalKind_Flag), intent(in) :: calkindflag
      type(ESMF_Calendar),     intent(in) :: calendar

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

      integer :: localrc

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

      ! check input
      ESMF_INIT_CHECK_DEEP(ESMF_CalendarGetInit,calendar,localrc)

      ! invoke C to C++ entry point
      call c_ESMC_CalendarKindAndCalNE(calkindflag, calendar, &
                                       ESMF_CalendarKindAndCalNE)

      end function ESMF_CalendarKindAndCalNE