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_interpolate.cpp

    r831 r833  
    128128void CAxisAlgorithmInterpolate::computeWeightedValueAndMapping(const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues, int transPos) 
    129129{ 
    130   std::map<int, std::vector<int> >& transMap = this->transformationMapping_[transPos]; 
    131   std::map<int, std::vector<double> >& transWeight = this->transformationWeight_[transPos]; 
     130  TransformationIndexMap& transMap = this->transformationMapping_[transPos]; 
     131  TransformationWeightMap& transWeight = this->transformationWeight_[transPos]; 
    132132  std::map<int, std::vector<std::pair<int,double> > >::const_iterator itb = interpolatingIndexValues.begin(), it, 
    133133                                                                      ite = interpolatingIndexValues.end(); 
Note: See TracChangeset for help on using the changeset viewer.