Ignore:
Timestamp:
08/03/16 15:49:10 (8 years ago)
Author:
mhnguyen
Message:

Fixing bug in axis interpolation

+) Correct index for searching interpolant values

Test
+) On local
+) Ok

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/axis_algorithm_interpolate.hpp

    r896 r912  
    3333  void retrieveAllAxisValue(const CArray<double,1>& axisValue, const CArray<bool,1>& axisMask, 
    3434                            std::vector<double>& recvBuff, std::vector<int>& indexVec); 
    35   void computeInterpolantPoint(const std::vector<double>& recvBuff, int transPos = 0); 
     35  void computeInterpolantPoint(const std::vector<double>& recvBuff, const std::vector<int>&, int transPos = 0); 
    3636  void computeWeightedValueAndMapping(const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues, int transPos = 0); 
    3737  void fillInAxisValue(std::vector<CArray<double,1> >& vecAxisValue, 
Note: See TracChangeset for help on using the changeset viewer.