Changeset 2009 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_interpolate.hpp
- Timestamp:
- 01/07/21 23:17:23 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_interpolate.hpp
r1988 r2009 10 10 #define __XIOS_AXIS_ALGORITHM_INTERPOLATE_HPP__ 11 11 12 #include "a xis_algorithm_transformation.hpp"12 #include "algorithm_transformation_weight.hpp" 13 13 #include "transformation.hpp" 14 14 … … 24 24 The values on axis source are assumed monotonic 25 25 */ 26 class CAxisAlgorithmInterpolate : public CA xisAlgorithmTransformation26 class CAxisAlgorithmInterpolate : public CAlgorithmTransformationWeight 27 27 { 28 28 public: … … 32 32 33 33 static bool registerTrans(); 34 protected:35 void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs);36 34 37 35 private: 36 void computeRemap(const std::vector<CArray<double,1>* >& dataAuxInputs) ; 38 37 void retrieveAllAxisValue(const CArray<double,1>& axisValue, const CArray<bool,1>& axisMask, 39 38 std::vector<double>& recvBuff, std::vector<int>& indexVec); … … 48 47 StdString coordinate_; 49 48 std::vector<std::vector<int> > transPosition_; 49 CAxis* axisSrc_=nullptr ; 50 CAxis* axisDest_=nullptr; 51 private: 50 52 51 private:52 53 static CGenericAlgorithmTransformation* create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 53 54 CTransformation<CAxis>* transformation,
Note: See TracChangeset
for help on using the changeset viewer.