Ignore:
Timestamp:
06/18/18 20:32:55 (6 years ago)
Author:
yushan
Message:

branch_openmp merged with trunk r1544

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/transformation/grid_transformation.cpp

    r1460 r1545  
    1515#include "mpi_tag.hpp" 
    1616#include "grid.hpp" 
    17 #include <boost/unordered_map.hpp> 
     17#include <unordered_map> 
    1818#include "timer.hpp" 
    1919 
     
    479479  SourceDestinationIndexMap::const_iterator itbIndex = globaIndexWeightFromSrcToDst.begin(), 
    480480                                            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; 
    482482  std::map<int,int> sendRankSizeMap,recvRankSizeMap; 
    483483  int connectedClient = globaIndexWeightFromSrcToDst.size(); 
     
    522522  std::vector<ep_lib::MPI_Request> requests(recvRankSizeMap.size()*2 + globaIndexWeightFromSrcToDst.size()*2); 
    523523  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; 
    526526  int requests_position = 0; 
    527527  for (std::map<int,int>::const_iterator itRecv = recvRankSizeMap.begin(); itRecv != recvRankSizeMap.end(); ++itRecv) 
     
    536536  } 
    537537 
    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; 
    542542  for (itIndex = itbIndex; itIndex != iteIndex; ++itIndex) 
    543543  { 
     
    666666  delete [] recvSizeBuff; 
    667667 
    668   boost::unordered_map<int, unsigned char* >::const_iterator itChar; 
     668  std::unordered_map<int, unsigned char* >::const_iterator itChar; 
    669669  for (itChar = sendMaskDst.begin(); itChar != sendMaskDst.end(); ++itChar) 
    670670    delete [] itChar->second; 
    671671  for (itChar = recvMaskDst.begin(); itChar != recvMaskDst.end(); ++itChar) 
    672672    delete [] itChar->second; 
    673   boost::unordered_map<int, unsigned long* >::const_iterator itLong; 
     673  std::unordered_map<int, unsigned long* >::const_iterator itLong; 
    674674  for (itLong = sendGlobalIndexSrc.begin(); itLong != sendGlobalIndexSrc.end(); ++itLong) 
    675675    delete [] itLong->second; 
Note: See TracChangeset for help on using the changeset viewer.