- Timestamp:
- 04/26/16 16:03:51 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp
r833 r841 83 83 { 84 84 size_t srcGridSize = globalIndexSrcGrid[idx].size(); 85 globaIndexWeightFromDestToSource[(it->first)].reserve(srcGridSize); 85 // globaIndexWeightFromDestToSource[(it->first)].reserve(srcGridSize); 86 globaIndexWeightFromDestToSource[(it->first)].resize(srcGridSize); 86 87 for (int i = 0; i < srcGridSize; ++i) 87 88 { 88 globaIndexWeightFromDestToSource[(it->first)] .push_back(make_pair(it->second, make_pair(globalIndexSrcGrid[idx][i], currentVecWeight[i])));89 globaIndexWeightFromDestToSource[(it->first)][i] = (make_pair(it->second, make_pair(globalIndexSrcGrid[idx][i], currentVecWeight[i]))); 89 90 } 90 91 }
Note: See TracChangeset
for help on using the changeset viewer.