source: XIOS/dev/dev_ym/XIOS_COUPLING/src/interface/c/icdate.hpp @ 2121

Last change on this file since 2121 was 537, checked in by rlacroix, 10 years ago

Add a new attribute type for durations and use it for the context's timestep.

Note that the "xios_time" type and the "xios_set_timestep" procedure have been removed from the Fortran interface. Instead, the "xios_duration" type and the "xios_get_context_attr"/"xios_set_context_attr" procedures should now be used to get/set the timestep.

File size: 282 bytes
Line 
1extern "C"
2{
3  /////////////////////////////// Définitions ////////////////////////////// //
4
5  typedef struct { int year, month, day, hour, minute, second; } cxios_date;
6  typedef struct { double year, month, day, hour, minute, second, timestep; } cxios_duration;
7} // extern "C"
Note: See TracBrowser for help on using the repository browser.