- Timestamp:
- 06/18/18 20:32:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/transformation/grid_transformation.cpp
r1460 r1545 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<ep_lib::MPI_Request> requests(recvRankSizeMap.size()*2 + globaIndexWeightFromSrcToDst.size()*2); 523 523 std::vector<ep_lib::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 int requests_position = 0; 527 527 for (std::map<int,int>::const_iterator itRecv = recvRankSizeMap.begin(); itRecv != recvRankSizeMap.end(); ++itRecv) … … 536 536 } 537 537 538 boost::unordered_map<int, CArray<size_t,1> > globalIndexDst;539 boost::unordered_map<int, CArray<double,1> > weightDst;540 boost::unordered_map<int, unsigned char* > sendMaskDst;541 boost::unordered_map<int, unsigned long* > sendGlobalIndexSrc;538 std::unordered_map<int, CArray<size_t,1> > globalIndexDst; 539 std::unordered_map<int, CArray<double,1> > weightDst; 540 std::unordered_map<int, unsigned char* > sendMaskDst; 541 std::unordered_map<int, unsigned long* > sendGlobalIndexSrc; 542 542 for (itIndex = itbIndex; itIndex != iteIndex; ++itIndex) 543 543 { … … 666 666 delete [] recvSizeBuff; 667 667 668 boost::unordered_map<int, unsigned char* >::const_iterator itChar;668 std::unordered_map<int, unsigned char* >::const_iterator itChar; 669 669 for (itChar = sendMaskDst.begin(); itChar != sendMaskDst.end(); ++itChar) 670 670 delete [] itChar->second; 671 671 for (itChar = recvMaskDst.begin(); itChar != recvMaskDst.end(); ++itChar) 672 672 delete [] itChar->second; 673 boost::unordered_map<int, unsigned long* >::const_iterator itLong;673 std::unordered_map<int, unsigned long* >::const_iterator itLong; 674 674 for (itLong = sendGlobalIndexSrc.begin(); itLong != sendGlobalIndexSrc.end(); ++itLong) 675 675 delete [] itLong->second;
Note: See TracChangeset
for help on using the changeset viewer.