- Timestamp:
- 10/18/16 11:09:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp
r933 r977 180 180 // Find out global index source of transformed element on corresponding process. 181 181 std::vector<boost::unordered_map<int,std::vector<size_t> > > globalElementIndexOnProc(axisDomainDstOrder.numElements()); 182 CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc; 183 int axisIndex = 0, domainIndex = 0; 182 CClientClientDHTInt::Index2VectorInfoTypeMap globalIndexOfTransformedElementOnProc; 184 183 for (int idx = 0; idx < axisDomainDstOrder.numElements(); ++idx) 185 184 { … … 192 191 domainListSrcP[elementPositionInGridSrc2DomainPosition_[idx]], 193 192 transPos, 194 globalElementIndexOnProc[idx]); 195 ++domainIndex; 193 globalElementIndexOnProc[idx]); 196 194 197 195 } … … 203 201 transPos, 204 202 globalElementIndexOnProc[idx]); 205 ++axisIndex;206 207 203 } 208 204 else //it's a scalar
Note: See TracChangeset
for help on using the changeset viewer.