Changeset 1542 for XIOS/trunk/src/transformation/grid_transformation.cpp
- Timestamp:
- 06/13/18 16:48:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/grid_transformation.cpp
r1412 r1542 15 15 #include "mpi_tag.hpp" 16 16 #include "grid.hpp" 17 #include < boost/unordered_map.hpp>17 #include <unordered_map> 18 18 #include "timer.hpp" 19 19 … … 479 479 SourceDestinationIndexMap::const_iterator itbIndex = globaIndexWeightFromSrcToDst.begin(), 480 480 iteIndex = globaIndexWeightFromSrcToDst.end(), itIndex; 481 typedef boost::unordered_map<size_t, std::vector<std::pair<size_t,double> > > SendIndexMap;481 typedef std::unordered_map<size_t, std::vector<std::pair<size_t,double> > > SendIndexMap; 482 482 std::map<int,int> sendRankSizeMap,recvRankSizeMap; 483 483 int connectedClient = globaIndexWeightFromSrcToDst.size(); … … 522 522 std::vector<MPI_Request> requests; 523 523 std::vector<MPI_Status> status; 524 boost::unordered_map<int, unsigned char* > recvMaskDst;525 boost::unordered_map<int, unsigned long* > recvGlobalIndexSrc;524 std::unordered_map<int, unsigned char* > recvMaskDst; 525 std::unordered_map<int, unsigned long* > recvGlobalIndexSrc; 526 526 for (std::map<int,int>::const_iterator itRecv = recvRankSizeMap.begin(); itRecv != recvRankSizeMap.end(); ++itRecv) 527 527 { … … 537 537 } 538 538 539 boost::unordered_map<int, CArray<size_t,1> > globalIndexDst;540 boost::unordered_map<int, CArray<double,1> > weightDst;541 boost::unordered_map<int, unsigned char* > sendMaskDst;542 boost::unordered_map<int, unsigned long* > sendGlobalIndexSrc;539 std::unordered_map<int, CArray<size_t,1> > globalIndexDst; 540 std::unordered_map<int, CArray<double,1> > weightDst; 541 std::unordered_map<int, unsigned char* > sendMaskDst; 542 std::unordered_map<int, unsigned long* > sendGlobalIndexSrc; 543 543 for (itIndex = itbIndex; itIndex != iteIndex; ++itIndex) 544 544 { … … 670 670 delete [] recvSizeBuff; 671 671 672 boost::unordered_map<int, unsigned char* >::const_iterator itChar;672 std::unordered_map<int, unsigned char* >::const_iterator itChar; 673 673 for (itChar = sendMaskDst.begin(); itChar != sendMaskDst.end(); ++itChar) 674 674 delete [] itChar->second; 675 675 for (itChar = recvMaskDst.begin(); itChar != recvMaskDst.end(); ++itChar) 676 676 delete [] itChar->second; 677 boost::unordered_map<int, unsigned long* >::const_iterator itLong;677 std::unordered_map<int, unsigned long* >::const_iterator itLong; 678 678 for (itLong = sendGlobalIndexSrc.begin(); itLong != sendGlobalIndexSrc.end(); ++itLong) 679 679 delete [] itLong->second;
Note: See TracChangeset
for help on using the changeset viewer.