source: XIOS/trunk/src/filter/axis_transformation.hpp @ 619

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

Implementing the first prototype of filter

+) Create new class filter
+) Implement class for specific algorithm
+) Implement inversing algorithm

Test
+) On Curie
+) Grid with one axis: passed

File size: 669 bytes
Line 
1#ifndef __XIOS_AXIS_TRANSFORMATION_HPP__
2#define __XIOS_AXIS_TRANSFORMATION_HPP__
3
4#include "visitable.hpp"
5#include "axis.hpp"
6
7namespace xios {
8
9class CAxisTransformation : public CGenericTransformation
10{
11public:
12  DEFINE_VISITABLE()
13public:
14  /** Default constructor */
15  CAxisTransformation(std::vector<CAxis*> inputs, std::vector<CAxis*> outputs);
16
17  std::vector<CAxis*> getOutputs();
18  std::vector<CAxis*> getInputs();
19protected:
20  void setInputs(const std::vector<CAxis*>& inputs);
21  void setOutputs(const std::vector<CAxis*>& outputs);
22
23protected:
24  std::vector<CAxis*> inputs_;
25  std::vector<CAxis*> outputs_;
26
27};
28
29}
30#endif // __XIOS_AXIS_TRANSFORMATION_HPP__
Note: See TracBrowser for help on using the repository browser.