Ignore:
Timestamp:
02/14/12 15:36:14 (12 years ago)
Author:
ymipsl
Message:

suppress old fortran interface

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/fortran/idate.F90

    r300 r312  
    55   ! enum XCalendarType 
    66   INTEGER(kind = C_INT), PARAMETER :: D360 = 0 , ALLLEAP = 1 , NOLEAP = 2 , JULIAN = 3 , GREGORIAN = 4 
    7  
    8    TYPE XDate 
    9       INTEGER :: year, month, day, hour, minute, second 
    10    END TYPE XDate 
    11  
    12    TYPE XDuration 
    13       REAL(kind = 8) :: year, month, day, hour, minute, second 
    14    END TYPE XDuration 
    157 
    168   TYPE txios(date) 
     
    6355   END SUBROUTINE xios(update_calendar) 
    6456 
    65  
    66 !!!!!!!!!!!! anciennes interfaces !!!!!!!!!!!!!!!! 
    67 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
    68     
    69    SUBROUTINE set_timestep(timestep) 
    70       TYPE(XDuration), INTENT(IN):: timestep 
    71       CALL cxios_set_timestep(timestep%year, timestep%month , timestep%day, & 
    72                              timestep%hour, timestep%minute, timestep%second) 
    73    END SUBROUTINE set_timestep 
    74     
    75    SUBROUTINE update_calendar(step) 
    76       INTEGER, INTENT(IN):: step 
    77       IF (step < 0) THEN 
    78          PRINT *, "L'argument 'step' ne peut être négatif" 
    79          STOP 
    80       END IF 
    81       CALL cxios_update_calendar(step) 
    82    END SUBROUTINE update_calendar 
    8357    
    8458END MODULE IDATE 
Note: See TracChangeset for help on using the changeset viewer.