Ignore:
Timestamp:
06/09/16 11:33:19 (8 years ago)
Author:
mhnguyen
Message:

Various clean up

+) Remove some redundant codes

Test
+) On Curie
+) tests pass

File:
1 edited

Legend:

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

    r860 r867  
    3434    typedef T InfoType; 
    3535    static const int infoTypeSize = sizeof(InfoType); 
    36     typedef typename boost::unordered_map<InfoType, std::vector<size_t> > InfoType2IndexMap; 
     36//    typedef typename boost::unordered_map<InfoType, std::vector<size_t> > InfoType2IndexMap; 
    3737    typedef typename boost::unordered_map<size_t,InfoType> Index2InfoTypeMap; 
    3838    typedef typename boost::unordered_map<size_t,std::vector<InfoType> > Index2VectorInfoTypeMap; 
     
    4747    void computeIndexInfoMapping(const CArray<size_t,1>& indices); 
    4848 
    49 //    const Index2InfoTypeMap& getInfoIndexMap() const {return indexToInfoMappingLevel_; } 
    5049    const Index2VectorInfoTypeMap& getInfoIndexMap() const {return indexToInfoMappingLevel_; } 
    51  
    5250    int getNbClient() { return nbClient_; } 
    5351 
     
    102100  protected: 
    103101    //! Mapping of global index to the corresponding client 
    104 //    Index2InfoTypeMap index2InfoMapping_; 
    105102    Index2VectorInfoTypeMap index2InfoMapping_; 
    106103 
    107104    //! A mapping of index to the corresponding information in each level of hierarchy 
    108 //    Index2InfoTypeMap indexToInfoMappingLevel_; 
    109105    Index2VectorInfoTypeMap indexToInfoMappingLevel_; 
    110106 
     107    //! Rank of client to send on each DHT level 
    111108    std::vector<std::vector<int> > sendRank_; 
    112109 
     110    //! Rank of client to receive on each DHT level 
    113111    std::vector<std::vector<int> > recvRank_; 
    114112 
Note: See TracChangeset for help on using the changeset viewer.