Changeset 936
- Timestamp:
- 09/22/16 10:59:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_inverse.cpp
r933 r936 137 137 } 138 138 139 140 139 boost::unordered_map<int, std::vector<size_t> >::const_iterator itbIndex = globalSrcIndexSendToProc.begin(), itIndex, 141 140 iteIndex = globalSrcIndexSendToProc.end(); … … 249 248 250 249 250 size_t nGloAxisDest = axisDest_->n_glo.getValue() - 1; 251 251 for (std::map<int,int>::const_iterator itSend = sendRankSizeMap.begin(); itSend != sendRankSizeMap.end(); ++itSend) 252 252 { … … 259 259 { 260 260 size_t globalIndex = *(recvIndex+idx); 261 int localIndex = globalIndex - axisDest_->begin;261 int localIndex = ((nGloAxisDest-globalIndex) - axisDest_->begin); 262 262 axisDest_->value(localIndex) = *(recvValue + idx); 263 263 }
Note: See TracChangeset
for help on using the changeset viewer.