Changeset 312 for XIOS/trunk/src/fortran/idate.F90
- Timestamp:
- 02/14/12 15:36:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/fortran/idate.F90
r300 r312 5 5 ! enum XCalendarType 6 6 INTEGER(kind = C_INT), PARAMETER :: D360 = 0 , ALLLEAP = 1 , NOLEAP = 2 , JULIAN = 3 , GREGORIAN = 4 7 8 TYPE XDate9 INTEGER :: year, month, day, hour, minute, second10 END TYPE XDate11 12 TYPE XDuration13 REAL(kind = 8) :: year, month, day, hour, minute, second14 END TYPE XDuration15 7 16 8 TYPE txios(date) … … 63 55 END SUBROUTINE xios(update_calendar) 64 56 65 66 !!!!!!!!!!!! anciennes interfaces !!!!!!!!!!!!!!!!67 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!68 69 SUBROUTINE set_timestep(timestep)70 TYPE(XDuration), INTENT(IN):: timestep71 CALL cxios_set_timestep(timestep%year, timestep%month , timestep%day, &72 timestep%hour, timestep%minute, timestep%second)73 END SUBROUTINE set_timestep74 75 SUBROUTINE update_calendar(step)76 INTEGER, INTENT(IN):: step77 IF (step < 0) THEN78 PRINT *, "L'argument 'step' ne peut être négatif"79 STOP80 END IF81 CALL cxios_update_calendar(step)82 END SUBROUTINE update_calendar83 57 84 58 END MODULE IDATE
Note: See TracChangeset
for help on using the changeset viewer.