Changeset 1542 for XIOS/trunk/src/server_distribution_description.hpp
- Timestamp:
- 06/13/18 16:48:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/server_distribution_description.hpp
r1258 r1542 13 13 #include "xios_spl.hpp" 14 14 #include "array_new.hpp" 15 #include < boost/unordered_map.hpp>15 #include <unordered_map> 16 16 17 17 namespace xios … … 39 39 void computeServerDistribution(bool doComputeGlobalIndex = false, int positionDimensionDistributed = 1); 40 40 std::vector<int> computeServerGlobalIndexInRange(const std::pair<size_t, size_t>& indexBeginEnd, int positionDimensionDistributed = 1); 41 std::vector<int> computeServerGlobalByElement(std::vector< boost::unordered_map<size_t,std::vector<int> > >& indexServerOnElement,41 std::vector<int> computeServerGlobalByElement(std::vector<std::unordered_map<size_t,std::vector<int> > >& indexServerOnElement, 42 42 int rank, 43 43 int clientSize, … … 48 48 std::vector<std::vector<int> > getServerDimensionSizes() const; 49 49 const std::vector<CArray<size_t,1> >& getGlobalIndex() const; 50 const boost::unordered_map<size_t,int>& getGlobalIndexRange() const;50 const std::unordered_map<size_t,int>& getGlobalIndexRange() const; 51 51 int getDimensionDistributed(); 52 52 … … 73 73 74 74 //!< In case we need only global index of one server with specific rank 75 boost::unordered_map<size_t,int> globalIndex_;75 std::unordered_map<size_t,int> globalIndex_; 76 76 77 77 //!< Type of distribution on server side
Note: See TracChangeset
for help on using the changeset viewer.