Changeset 568 for XIOS/trunk/src/server_distribution_description.hpp
- Timestamp:
- 03/10/15 10:49:09 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/server_distribution_description.hpp
r554 r568 13 13 #include "xmlioserver_spl.hpp" 14 14 #include "array_new.hpp" 15 #include <boost/unordered_map.hpp> 15 16 16 17 namespace xios … … 36 37 ServerDistributionType type = BAND_DISTRIBUTION); 37 38 38 const CArray<size_t,1>& computeServerGlobalIndex(int nServer, int serverRank, 39 ServerDistributionType = BAND_DISTRIBUTION); 39 void computeServerGlobalIndexInRange(int nServer, 40 const std::pair<size_t, size_t>& indexBeginEnd, 41 ServerDistributionType = BAND_DISTRIBUTION); 40 42 41 43 std::vector<std::vector<int> > getServerIndexBegin() const; 42 44 std::vector<std::vector<int> > getServerDimensionSizes() const; 43 45 const std::vector<CArray<size_t,1>* >& getGlobalIndex() const; 46 const boost::unordered_map<size_t,int>& getGlobalIndexRange() const; 44 47 45 48 protected: … … 56 59 57 60 //!< In case we need only global index of one server with specific rank 58 CArray<size_t,1>*globalIndex_;61 boost::unordered_map<size_t,int> globalIndex_; 59 62 }; 60 63
Note: See TracChangeset
for help on using the changeset viewer.