source: XIOS/trunk/src/filter/axis_inverse.hpp @ 620

Last change on this file since 620 was 620, checked in by mhnguyen, 6 years ago

Implementing generic transformation algorithm (local commit)

+) Implement 3 important classes:

-gridTransformation to read transformation info from grid and interface with the rest of XIOS
-transformationMapping to be in charge of sending/receiving transformation info among clients
-transformationAlgorithm to represent various algorithms

+) Make some change on field to use the new classes

Test
+) Only test_new_features with inversed axis

File size: 473 bytes
Line 
1#ifndef __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
2#define __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
3
4#include "axis_algorithm_transformation.hpp"
5#include "axis.hpp"
6
7namespace xios {
8
9class CAxisInverse : public CAxisAlgorithmTransformation
10{
11public:
12  CAxisInverse(CAxis* axisDestination, CAxis* axisSource);
13
14  virtual ~CAxisInverse() {}
15protected:
16  virtual void computeIndexSourceMapping();
17
18private:
19  int axisDestGlobalSize_;
20};
21
22}
23#endif // __XIOS_AXIS_ALGORITHM_INVERSE_HPP__
Note: See TracBrowser for help on using the repository browser.