Changeset 721 for XIOS/trunk/src/client_server_mapping_distributed.cpp
- Timestamp:
- 10/06/15 17:17:11 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/client_server_mapping_distributed.cpp
r720 r721 3 3 \author Ha NGUYEN 4 4 \since 27 Feb 2015 5 \date 0 9 Mars20155 \date 06 Oct 2015 6 6 7 7 \brief Mapping between index client and server. … … 12 12 #include <boost/functional/hash.hpp> 13 13 #include "utils.hpp" 14 #include "client_client_dht.hpp"15 14 #include "mpi_tag.hpp" 16 15 … … 29 28 computeHashIndex(); 30 29 31 ccDHT_ = new CClientClientDHT(globalIndexOfServer, 32 clientIntraComm, 33 isDataDistributed); 34 // const boost::unordered_map<size_t,int>& globalIndexToServerMappingTmp = clientDht.getGlobalIndexServerMapping(); 35 // globalIndexToServerMapping_ = clientDht.getGlobalIndexServerMapping(); 36 37 30 ccDHT_ = new CClientClientDHTInt(globalIndexOfServer, 31 clientIntraComm, 32 isDataDistributed); 38 33 39 34 // computeDistributedServerIndex(globalIndexOfServer, clientIntraComm); … … 51 46 void CClientServerMappingDistributed::computeServerIndexMapping(const CArray<size_t,1>& globalIndexOnClient) 52 47 { 53 ccDHT_->compute ServerIndexMapping(globalIndexOnClient);54 indexGlobalOnServer_ = ccDHT_->getGlobalIndexOnServer();48 ccDHT_->computeIndexInfoMapping(globalIndexOnClient); 49 indexGlobalOnServer_ = (ccDHT_->getInfoIndexMap()); 55 50 56 51 /*
Note: See TracChangeset
for help on using the changeset viewer.