Last change
on this file since 778 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
|
Rev | Line | |
---|
[624] | 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 | */ |
---|
[620] | 9 | #ifndef __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ |
---|
| 10 | #define __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ |
---|
| 11 | |
---|
[622] | 12 | #include "axis_algorithm_transformation.hpp" |
---|
[620] | 13 | #include "axis.hpp" |
---|
| 14 | |
---|
| 15 | namespace xios { |
---|
[624] | 16 | /*! |
---|
| 17 | \class CAxisAlgorithmInverse |
---|
| 18 | Inversing an axis |
---|
| 19 | */ |
---|
[623] | 20 | class CAxisAlgorithmInverse : public CAxisAlgorithmTransformation |
---|
[620] | 21 | { |
---|
| 22 | public: |
---|
[623] | 23 | CAxisAlgorithmInverse(CAxis* axisDestination, CAxis* axisSource); |
---|
[620] | 24 | |
---|
[623] | 25 | virtual ~CAxisAlgorithmInverse() {} |
---|
[621] | 26 | |
---|
[622] | 27 | virtual void computeIndexSourceMapping(); |
---|
[630] | 28 | |
---|
| 29 | private: |
---|
| 30 | void updateAxisValue(); |
---|
[620] | 31 | }; |
---|
| 32 | |
---|
| 33 | } |
---|
| 34 | #endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.