source: XIOS/trunk/src/node/transformation.hpp @ 827

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: 978 bytes
Line 
1#ifndef __XIOS_CTransformation__
2#define __XIOS_CTransformation__
3
4#include "xios_spl.hpp"
5#include "transformation_enum.hpp"
6
7namespace xios {
8
9  ///--------------------------------------------------------------
10  /*!
11    \class CTransformation
12    This class describes inverse_axis in xml file.
13  */
14  template<typename T>
15  class CTransformation
16  {
17  public:
18    typedef typename std::list<std::pair<ETranformationType, CTransformation<T>* > > TransformationMapTypes;
19    typedef TransformationMapTypes TransMapTypes;
20
21    public :
22      /// Constructeurs ///
23      CTransformation(void) {}
24      virtual void checkValid(T* dest) = 0;
25
26      std::vector<StdString> checkAuxInputs() { return checkAuxInputs_(); }
27
28      /// Destructeur ///
29      virtual ~CTransformation(void) {}
30
31    protected:
32      virtual std::vector<StdString> checkAuxInputs_() { return std::vector<StdString>(); }
33  }; // class CTransformation
34
35} // namespace xios
36
37#endif // __XIOS_CTransformation__
Note: See TracBrowser for help on using the repository browser.