Changeset 906 for XIOS/trunk/src/client_server_mapping_distributed.cpp
- Timestamp:
- 07/28/16 10:56:52 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/client_server_mapping_distributed.cpp
r860 r906 13 13 #include "utils.hpp" 14 14 #include "mpi_tag.hpp" 15 #include "context.hpp" 16 #include "context_client.hpp" 15 17 16 18 namespace xios … … 36 38 void CClientServerMappingDistributed::computeServerIndexMapping(const CArray<size_t,1>& globalIndexOnClient) 37 39 { 40 CContext* context=CContext::getCurrent() ; 41 CContextClient* client=context->client ; 42 int nbServer=client->serverSize; 43 38 44 ccDHT_->computeIndexInfoMapping(globalIndexOnClient); 39 45 const CClientClientDHTInt::Index2VectorInfoTypeMap& infoIndexMap = (ccDHT_->getInfoIndexMap()); 40 46 CClientClientDHTInt::Index2VectorInfoTypeMap::const_iterator itb = infoIndexMap.begin(), ite = infoIndexMap.end(), it; 41 std::vector<size_t> nbInfoIndex( ccDHT_->getNbClient(),0);47 std::vector<size_t> nbInfoIndex(nbServer,0); 42 48 43 49 for (it = itb; it != ite; ++it)
Note: See TracChangeset
for help on using the changeset viewer.