source: XIOS/trunk/src/transformation/axis_algorithm_inverse.hpp @ 630

Last change on this file since 630 was 630, checked in by mhnguyen, 9 years ago

Implementing interpolation (polynomial) and correct some bugs

+) Implement interpolation (polynomial)
+) Correct some minor bugs relating to memory allocation
+) Clear some redundant codes

Test
+) On Curie
+) test_client and test_complete pass

File size: 700 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
15namespace xios {
16/*!
17  \class CAxisAlgorithmInverse
18  Inversing an axis
19*/
20class CAxisAlgorithmInverse : public CAxisAlgorithmTransformation
21{
22public:
23  CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource);
24
25  virtual ~CAxisAlgorithmInverse() {}
26
27  virtual void computeIndexSourceMapping();
28
29private:
30  void updateAxisValue();
31};
32
33}
34#endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
Note: See TracBrowser for help on using the repository browser.