- Timestamp:
- 03/23/16 16:10:45 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_interpolate.hpp
r630 r827 27 27 virtual ~CAxisAlgorithmInterpolate() {} 28 28 29 virtual void computeIndexSourceMapping(); 29 protected: 30 void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs); 30 31 31 32 private: 32 void retrieveAllAxisValue(std::vector<double>& recvBuff, std::vector<int>& indexVec); 33 void computeInterpolantPoint(const std::vector<double>& recvBuff, const std::vector<int>& indexVec); 34 void computeWeightedValueAndMapping(const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues); 33 void retrieveAllAxisValue(const CArray<double,1>& axisValue, const CArray<bool,1>& axisMask, 34 std::vector<double>& recvBuff, std::vector<int>& indexVec); 35 void computeInterpolantPoint(const std::vector<double>& recvBuff, const std::vector<int>& indexVec, int transPos = 0); 36 void computeWeightedValueAndMapping(const std::map<int, std::vector<std::pair<int,double> > >& interpolatingIndexValues, int transPos = 0); 37 void fillInAxisValue(std::vector<CArray<double,1> >& vecAxisValue, 38 const std::vector<CArray<double,1>* >& dataAuxInputs); 35 39 36 40 private: 37 41 // Interpolation order 38 42 int order_; 43 StdString coordinate_; 44 std::vector<std::vector<int> > transPosition_; 39 45 }; 40 46
Note: See TracChangeset
for help on using the changeset viewer.