Changeset 842 for XIOS/trunk/src/filter/spatial_transform_filter.cpp
- Timestamp:
- 04/26/16 16:03:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/filter/spatial_transform_filter.cpp
r841 r842 169 169 { 170 170 int countSize = itRecv->second.size(); 171 const std::vector<std::pair<int,double> >& localIndex_p = itRecv->second; 171 172 for (int idx = 0; idx < countSize; ++idx) 172 173 { 173 const std::vector<std::pair<int,double> >& localIndex_p = itRecv->second[idx]; 174 int numIndex = localIndex_p.size(); 175 for (int i = 0; i < numIndex; ++i) 176 { 177 dataCurrentDest(localIndex_p[i].first) += *(recvBuff+currentBuff+idx) * localIndex_p[i].second; 178 } 174 dataCurrentDest(localIndex_p[idx].first) += *(recvBuff+currentBuff+idx) * localIndex_p[idx].second; 179 175 } 180 176 currentBuff += countSize;
Note: See TracChangeset
for help on using the changeset viewer.