Changeset 830 for XIOS/trunk/src/client_client_dht_template.hpp
- Timestamp:
- 03/23/16 16:11:06 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/client_client_dht_template.hpp
r829 r830 16 16 #include "policy.hpp" 17 17 #include <boost/unordered_map.hpp> 18 //#include "utils.hpp"19 18 #include "dht_data_types.hpp" 20 19 … … 39 38 40 39 public: 41 /** Default constructor */42 40 CClientClientDHTTemplate(const Index2InfoTypeMap& indexInfoInitMap, 43 41 const MPI_Comm& clientIntraComm, … … 46 44 void computeIndexInfoMapping(const CArray<size_t,1>& indices); 47 45 48 const Index2InfoTypeMap& getInfoIndexMap() const {return in foIndexMapping_; }46 const Index2InfoTypeMap& getInfoIndexMap() const {return indexToInfoMappingLevel_; } 49 47 50 48 /** Default destructor */ … … 74 72 const int recvNbIndexCount, 75 73 int& countIndexServer, 76 std::map<int, unsigned char*>& in dexServerBuffBegin,74 std::map<int, unsigned char*>& infoBuffBegin, 77 75 std::map<int, MPI_Request>& requestRecvIndexServer, 78 76 const MPI_Comm& intraComm); 79 77 80 // Send server indexto clients81 void sendInfoToClients(int clientDestRank, std::vector<InfoType>& indexServer,78 // Send information to clients 79 void sendInfoToClients(int clientDestRank, unsigned char* info, int infoSize, 82 80 const MPI_Comm& clientIntraComm, std::list<MPI_Request>& requestSendIndexServer); 83 81 … … 99 97 Index2InfoTypeMap index2InfoMapping_; 100 98 101 //! A temporarymapping of index to the corresponding information in each level of hierarchy99 //! A mapping of index to the corresponding information in each level of hierarchy 102 100 Index2InfoTypeMap indexToInfoMappingLevel_; 103 104 //! Data (information) corresponding to global index105 Index2InfoTypeMap infoIndexMapping_;106 101 107 102 //! intracommuntion of clients
Note: See TracChangeset
for help on using the changeset viewer.