Ignore:
Timestamp:
07/11/16 17:36:08 (8 years ago)
Author:
mhnguyen
Message:

Correcting a bug in axis interpolation

+) Ascending or Descending values of source axis wont affect on the results

Test
+) On Curie
+) Test is correct

File:
1 edited

Legend:

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

    r827 r896  
    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, const std::vector<int>& indexVec, int transPos = 0); 
     35  void computeInterpolantPoint(const std::vector<double>& recvBuff, 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, 
     
    4646 
    4747} 
     48 
    4849#endif // __XIOS_AXIS_ALGORITHM_INTERPOLATE_HPP__ 
Note: See TracChangeset for help on using the changeset viewer.