Changeset 1473 for XIOS/dev/XIOS_DEV_CMIP6/src/filter
- Timestamp:
- 04/04/18 12:42:24 (6 years ago)
- Location:
- XIOS/dev/XIOS_DEV_CMIP6/src/filter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/filter/temporal_filter.cpp
r1472 r1473 24 24 , nextSamplingDate(initDate + (this->samplingOffset + initDate.getRelCalendar().getTimeStep())) 25 25 , nbOperationDates(1) 26 , nbSamplingDates(0) 26 27 // , nextOperationDate(initDate + opFreq + this->samplingOffset) 27 28 , isFirstOperation(true) … … 48 49 if (usePacket) 49 50 { 51 nbSamplingDates ++; 50 52 if (!copyLess) 51 53 { … … 56 58 } 57 59 58 nextSamplingDate = nextSamplingDate + samplingFreq;60 nextSamplingDate = ((initDate + offsetMonth) + nbSamplingDates * samplingFreq) + offsetAllButMonth + initDate.getRelCalendar().getTimeStep(); 59 61 } 60 62 -
XIOS/dev/XIOS_DEV_CMIP6/src/filter/temporal_filter.hpp
r1440 r1473 67 67 CDate nextSamplingDate; //!< The date of the next sampling 68 68 int nbOperationDates; //!< The number of times an operation is performed 69 int nbSamplingDates; 69 70 // CDate nextOperationDate; //!< The date of the next operation 70 71 bool isFirstOperation; //!< True before the first operation was been computed
Note: See TracChangeset
for help on using the changeset viewer.