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

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

Implementing generic transformation algorithm (local commit)

+) Change a little bit to make sure everything work in order

Test
+) test_new_features passe with inverse

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