Ignore:
Timestamp:
04/08/16 15:00:15 (8 years ago)
Author:
mhnguyen
Message:

Improvements for dht

+) Implement adaptive hierarchy for dht, level of hierarchy depends on number of processes
+) Remove some redundant codes

Test
+) On Curie
+) All tests are correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/generic_algorithm_transformation.cpp

    r831 r833  
    3535  for (size_t idxTrans = 0; idxTrans < transformationMapping_.size(); ++idxTrans) 
    3636  { 
    37     std::map<int, std::vector<int> >::const_iterator itbTransMap = transformationMapping_[idxTrans].begin(), itTransMap, 
     37    TransformationIndexMap::const_iterator itbTransMap = transformationMapping_[idxTrans].begin(), itTransMap, 
    3838                                                     iteTransMap = transformationMapping_[idxTrans].end(); 
    39     std::map<int, std::vector<double> >::const_iterator itTransWeight = transformationWeight_[idxTrans].begin(); 
     39    TransformationWeightMap::const_iterator itTransWeight = transformationWeight_[idxTrans].begin(); 
    4040 
    4141    // If transformation position exists 
    42     std::map<int, std::vector<int> >::const_iterator itTransPos, iteTransPos; 
     42    TransformationIndexMap::const_iterator itTransPos, iteTransPos; 
    4343    if (!isTransPosEmpty) 
    4444    { 
Note: See TracChangeset for help on using the changeset viewer.