Ignore:
Timestamp:
06/13/18 16:48:53 (6 years ago)
Author:
oabramkina
Message:

Replacing Boost's unordered_map and shared_pointer by its STL counterparts.

Two notes for Curie:

  • one can see the content of unordered_map with ddt only if XIOS has been compiled with gnu
  • XIOS will not compile any more with pgi (all available versions use old STL which are not up to the c++11 norms)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/server_distribution_description.cpp

    r1312 r1542  
    196196  \param [in] positionDimensionDistributed dimension of server on which we make the cut. 
    197197*/ 
    198 std::vector<int> CServerDistributionDescription::computeServerGlobalByElement(std::vector<boost::unordered_map<size_t,std::vector<int> > >& indexServerOnElement, 
     198std::vector<int> CServerDistributionDescription::computeServerGlobalByElement(std::vector<std::unordered_map<size_t,std::vector<int> > >& indexServerOnElement, 
    199199                                                                              int clientRank, 
    200200                                                                              int clientSize, 
     
    510510  Get global index calculated by computeServerGlobalIndexInRange 
    511511*/ 
    512 const boost::unordered_map<size_t,int>& CServerDistributionDescription::getGlobalIndexRange() const 
     512const std::unordered_map<size_t,int>& CServerDistributionDescription::getGlobalIndexRange() const 
    513513{ 
    514514  return globalIndex_; 
Note: See TracChangeset for help on using the changeset viewer.