Changeset 1280 for XIOS/dev/XIOS_DEV_CMIP6/src/node/field.cpp
- Timestamp:
- 09/25/17 16:48:44 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/field.cpp
r1279 r1280 1572 1572 else 1573 1573 { 1574 CContext* context = CContext::getCurrent();1575 1574 if (operation.getValue()=="instant") 1576 1575 { 1577 1576 freq_op.setValue(file->output_freq.getValue()); 1578 freq_offset.setValue(file->output_freq.getValue() -TimeStep);1577 freq_offset.setValue(file->output_freq.getValue()-TimeStep); 1579 1578 } 1580 1579 else 1581 1580 { 1582 1581 freq_op.setValue(TimeStep); 1583 freq_o p.setValue(NoneDu);1582 freq_offset.setValue(freq_op.getValue()-TimeStep); 1584 1583 } 1585 1584 } … … 1588 1587 { 1589 1588 if (freq_offset.isEmpty()) 1590 freq_offset.setValue( NoneDu);1589 freq_offset.setValue(freq_op.getValue()-TimeStep); 1591 1590 } 1592 1591 }
Note: See TracChangeset
for help on using the changeset viewer.