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/axis_algorithm_zoom.cpp

    r827 r833  
    4747  this->transformationWeight_.resize(1); 
    4848 
    49   std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0]; 
    50   std::map<int, std::vector<double> >& transWeight = this->transformationWeight_[0]; 
     49  TransformationIndexMap& transMap = this->transformationMapping_[0]; 
     50  TransformationWeightMap& transWeight = this->transformationWeight_[0]; 
    5151 
    5252  for (StdSize idx = 0; idx < ni; ++idx) 
     
    7979  StdSize iBeginMask = axisDest_->begin.getValue(); 
    8080  StdSize globalIndexMask = 0; 
    81   std::map<int, std::vector<int> >& transMap = this->transformationMapping_[0]; 
    82   std::map<int, std::vector<int> >::const_iterator ite = (transMap).end(); 
     81  TransformationIndexMap& transMap = this->transformationMapping_[0]; 
     82  TransformationIndexMap::const_iterator ite = (transMap).end(); 
    8383  for (StdSize idx = 0; idx < niMask; ++idx) 
    8484  { 
Note: See TracChangeset for help on using the changeset viewer.