Ignore:
Timestamp:
12/11/14 14:32:37 (10 years ago)
Author:
rlacroix
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.cpp

    r534 r537  
    111111            "time_origin: Bad format or date not conform to the calendar");        \ 
    112112                                                                                   \ 
    113     this->calendar->setTimeStep                                                    \ 
    114           (CDuration::FromString(this->timestep.getValue()));                      \ 
     113    this->calendar->setTimeStep(this->timestep.getValue());                        \ 
     114                                                                                   \ 
    115115    return;                                                                        \ 
    116116  } 
Note: See TracChangeset for help on using the changeset viewer.