Ignore:
Timestamp:
07/05/16 15:59:29 (8 years ago)
Author:
mhnguyen
Message:

Adding new class to auto-generate global index based on DHT

Test
+ NO

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/client_client_dht_template_impl.hpp

    r867 r892  
    1313namespace xios 
    1414{ 
     15template<typename T, typename H> 
     16CClientClientDHTTemplate<T,H>::CClientClientDHTTemplate(const MPI_Comm& clientIntraComm) 
     17  : H(clientIntraComm), index2InfoMapping_(), indexToInfoMappingLevel_(), nbClient_(0) 
     18{ 
     19  MPI_Comm_size(clientIntraComm, &nbClient_); 
     20  this->computeMPICommLevel(); 
     21  int nbLvl = this->getNbLevel(); 
     22  sendRank_.resize(nbLvl); 
     23  recvRank_.resize(nbLvl); 
     24} 
     25 
    1526/*! 
    1627  Constructor with initial distribution information and the corresponding index 
Note: See TracChangeset for help on using the changeset viewer.