Last change
on this file since 827 was
827,
checked in by mhnguyen, 8 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
|
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 | |
---|
[827] | 27 | protected: |
---|
| 28 | void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs); |
---|
[630] | 29 | |
---|
| 30 | private: |
---|
| 31 | void updateAxisValue(); |
---|
[620] | 32 | }; |
---|
| 33 | |
---|
| 34 | } |
---|
| 35 | #endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.