- Timestamp:
- 05/11/17 18:25:20 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/transformation/axis_algorithm_zoom.cpp
r933 r1129 60 60 void CAxisAlgorithmZoom::computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs) 61 61 { 62 // We use all index of source and destination to calculate the mapping index of zoom. 63 // The server who receives the "zoomed" fields will decide whether it will forward these fields or write "real zoomed" fields into file 64 // That means servers need to change to cover this problem. 62 65 StdSize niSource = axisSrc_->n.getValue(); 63 66 StdSize ibeginSource = axisSrc_->begin.getValue(); … … 66 69 StdSize ibegin = std::max(ibeginSource, zoomBegin_); 67 70 StdSize iend = std::min(iendSource, zoomEnd_); 71 // StdSize ibegin = ibeginSource; 72 // StdSize iend = iendSource; 68 73 StdSize ni = iend + 1 - ibegin; 69 74 if (iend < ibegin) ni = 0; … … 82 87 83 88 updateZoom(); 84 updateAxisDestinationMask();89 // updateAxisDestinationMask(); 85 90 } 86 91
Note: See TracChangeset
for help on using the changeset viewer.