Changeset 831 for XIOS/trunk/src/distribution_client.hpp
- Timestamp:
- 03/23/16 16:11:09 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/distribution_client.hpp
r818 r831 14 14 #include "domain.hpp" 15 15 #include "grid.hpp" 16 #include <boost/unordered_map.hpp> 16 17 17 18 namespace xios { … … 28 29 class CDistributionClient : public CDistribution 29 30 { 31 public: 32 typedef boost::unordered_map<size_t,int> GlobalLocalDataMap; 33 30 34 public: 31 35 /** Default constructor */ … … 37 41 38 42 virtual const std::vector<int>& getLocalDataIndexOnClient() const; 39 virtual const std::vector<int>& getLocalDataIndexSendToServer() const; 40 const std::vector<size_t>& getGlobalDataIndexSendToServer() const; 43 const GlobalLocalDataMap& getGlobalLocalDataSendToServer() const; 41 44 const std::vector<int>& getLocalMaskIndexOnClient() const; 42 45 … … 72 75 private: 73 76 //!< LocalData index on client 74 std::vector<size_t> globalDataSendToServer_;77 GlobalLocalDataMap globalLocalDataSendToServerMap_; 75 78 std::vector<int> localDataIndex_; 76 std::vector<int> localDataIndexSendToServer_;77 79 std::vector<int> localMaskIndex_; 78 80 … … 164 166 } 165 167 166 167 168 } // namespace xios 168 169 #endif // __XIOS_DISTRIBUTIONCLIENT_HPP__
Note: See TracChangeset
for help on using the changeset viewer.