Changeset 1482 for XIOS/dev/branch_openmp/src/filter/temporal_filter.cpp
- Timestamp:
- 04/13/18 16:25:46 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/filter/temporal_filter.cpp
r1460 r1482 17 17 , samplingOffset(samplingOffset) 18 18 , opFreq(opFreq) 19 , offsetMonth( {0, this->samplingOffset.month, 0, 0, 0, 0, 0})20 , offsetAllButMonth( {this->samplingOffset.year, 0 , this->samplingOffset.day,21 this->samplingOffset.hour, this->samplingOffset.minute,22 this->samplingOffset.second, this->samplingOffset.timestep})19 , offsetMonth(0, this->samplingOffset.month, 0, 0, 0, 0, 0) 20 , offsetAllButMonth(this->samplingOffset.year, 0 , this->samplingOffset.day, 21 this->samplingOffset.hour, this->samplingOffset.minute, 22 this->samplingOffset.second, this->samplingOffset.timestep) 23 23 , initDate(initDate) 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
Note: See TracChangeset
for help on using the changeset viewer.