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