Changeset 1542 for XIOS/trunk/src/transformation/axis_algorithm_inverse.cpp
- Timestamp:
- 06/13/18 16:48:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_inverse.cpp
r936 r1542 108 108 } 109 109 110 typedef boost::unordered_map<size_t, std::vector<double> > GlobalIndexMapFromSrcToDest;110 typedef std::unordered_map<size_t, std::vector<double> > GlobalIndexMapFromSrcToDest; 111 111 GlobalIndexMapFromSrcToDest globalIndexMapFromSrcToDest; 112 112 TransformationIndexMap& transMap = this->transformationMapping_[0]; … … 126 126 dhtIndexProcRank.computeIndexInfoMapping(globalSrcIndex); 127 127 CClientClientDHTInt::Index2VectorInfoTypeMap& computedGlobalIndexOnProc = dhtIndexProcRank.getInfoIndexMap(); 128 boost::unordered_map<int, std::vector<size_t> > globalSrcIndexSendToProc;128 std::unordered_map<int, std::vector<size_t> > globalSrcIndexSendToProc; 129 129 for (int idx = 0; idx < localIndex; ++idx) 130 130 { … … 137 137 } 138 138 139 boost::unordered_map<int, std::vector<size_t> >::const_iterator itbIndex = globalSrcIndexSendToProc.begin(), itIndex,139 std::unordered_map<int, std::vector<size_t> >::const_iterator itbIndex = globalSrcIndexSendToProc.begin(), itIndex, 140 140 iteIndex = globalSrcIndexSendToProc.end(); 141 141 std::map<int,int> sendRankSizeMap,recvRankSizeMap; … … 175 175 std::vector<MPI_Request> requests; 176 176 std::vector<MPI_Status> status; 177 boost::unordered_map<int, unsigned long* > recvGlobalIndexSrc;178 boost::unordered_map<int, double* > sendValueToDest;177 std::unordered_map<int, unsigned long* > recvGlobalIndexSrc; 178 std::unordered_map<int, double* > sendValueToDest; 179 179 for (std::map<int,int>::const_iterator itRecv = recvRankSizeMap.begin(); itRecv != recvRankSizeMap.end(); ++itRecv) 180 180 { … … 188 188 } 189 189 190 boost::unordered_map<int, unsigned long* > sendGlobalIndexSrc;191 boost::unordered_map<int, double* > recvValueFromSrc;190 std::unordered_map<int, unsigned long* > sendGlobalIndexSrc; 191 std::unordered_map<int, double* > recvValueFromSrc; 192 192 for (itIndex = itbIndex; itIndex != iteIndex; ++itIndex) 193 193 { … … 271 271 delete [] recvSizeBuff; 272 272 273 boost::unordered_map<int, double* >::const_iterator itChar;273 std::unordered_map<int, double* >::const_iterator itChar; 274 274 for (itChar = sendValueToDest.begin(); itChar != sendValueToDest.end(); ++itChar) 275 275 delete [] itChar->second; 276 276 for (itChar = recvValueFromSrc.begin(); itChar != recvValueFromSrc.end(); ++itChar) 277 277 delete [] itChar->second; 278 boost::unordered_map<int, unsigned long* >::const_iterator itLong;278 std::unordered_map<int, unsigned long* >::const_iterator itLong; 279 279 for (itLong = sendGlobalIndexSrc.begin(); itLong != sendGlobalIndexSrc.end(); ++itLong) 280 280 delete [] itLong->second;
Note: See TracChangeset
for help on using the changeset viewer.