source: XIOS/trunk/src/filter/axis_filter.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: 496 bytes
Line 
1#ifndef __XIOS_AXIS_FILTER_HPP__
2#define __XIOS_AXIS_FILTER_HPP__
3
4#include "generic_filter.hpp"
5#include "axis.hpp"
6
7namespace xios {
8
9class CAxisFilter : public CGenericFilter
10{
11public:
12  DEFINE_VISITABLE()
13public:
14  /** Default constructor */
15  CAxisFilter(CGrid* gridInput, CGrid* gridOutput);
16
17  const CArray<size_t,1>& getGlobalDataIndexInput() const;
18  void setGridTransformed();
19  bool isGridTransformed();
20
21protected:
22  bool isGridTransformed_;
23
24};
25
26}
27#endif // __XIOS_AXIS_FILTER_HPP__
Note: See TracBrowser for help on using the repository browser.