Changeset 666 for XIOS/trunk/src/distribution_client.cpp
- Timestamp:
- 08/24/15 14:53:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/distribution_client.cpp
r664 r666 99 99 for (int k = 0; k < axisSize; ++k) 100 100 { 101 int n = axisList[k]->n i;101 int n = axisList[k]->n; 102 102 nIndexAxis_[k].resize(n); 103 103 for (int i = 0; i < n; ++i) … … 221 221 else // So it's an axis 222 222 { 223 nLocal_.at(indexMap_[idx]) = axisList[axisIndex]->n i.getValue();224 nGlob_.at(indexMap_[idx]) = axisList[axisIndex]-> size.getValue();223 nLocal_.at(indexMap_[idx]) = axisList[axisIndex]->n.getValue(); 224 nGlob_.at(indexMap_[idx]) = axisList[axisIndex]->n_glo.getValue(); 225 225 nBeginLocal_.at(indexMap_[idx]) = 0; 226 nBeginGlobal_.at(indexMap_[idx]) = axisList[axisIndex]-> ibegin.getValue();226 nBeginGlobal_.at(indexMap_[idx]) = axisList[axisIndex]->begin.getValue(); 227 227 nZoomBegin_.at((indexMap_[idx])) = axisList[axisIndex]->global_zoom_begin; 228 228 nZoomEnd_.at((indexMap_[idx])) = axisList[axisIndex]->global_zoom_begin + axisList[axisIndex]->global_zoom_size-1; … … 636 636 { 637 637 int tempI = dataIndex + dataBegin; 638 return ((tempI -1)%ni);638 return ((tempI)%ni); 639 639 } 640 640
Note: See TracChangeset
for help on using the changeset viewer.