Last change
on this file since 827 was
827,
checked in by mhnguyen, 5 years ago

Implementing dynamic interpolation on axis
+) Change grid transformation to make it more flexible
+) Make some small improvements
Test
+) On Curie
+) All test pass

File size:
756 bytes

Line  

1  /*! 

2  \file axis_algorithm_inverse.hpp 

3  \author Ha NGUYEN 

4  \since 14 May 2015 

5  \date 09 June 2015 

6  

7  \brief Algorithm for inversing an axis.. 

8  */ 

9  #ifndef __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ 

10  #define __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ 

11  

12  #include "axis_algorithm_transformation.hpp" 

13  #include "axis.hpp" 

14  

15  namespace xios { 

16  /*! 

17  \class CAxisAlgorithmInverse 

18  Inversing an axis 

19  */ 

20  class CAxisAlgorithmInverse : public CAxisAlgorithmTransformation 

21  { 

22  public: 

23  CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource); 

24  

25  virtual ~CAxisAlgorithmInverse() {} 

26  

27  protected: 

28  void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs); 

29  

30  private: 

31  void updateAxisValue(); 

32  }; 

33  

34  } 

35  #endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ 

Note: See
TracBrowser
for help on using the repository browser.