source: XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/algorithm_transformation_no_data_modification.hpp @ 2267

Last change on this file since 2267 was 2007, checked in by ymipsl, 3 years ago
  • fix some problem in transformation
  • implement new temporal splitting transformation

YM

  • Property svn:executable set to *
File size: 815 bytes
Line 
1#ifndef __XIOS_ALGORITHM_TRANSFORMATION_NO_DATA_MODIFICATION_HPP__
2#define __XIOS_ALGORITHM_TRANSFORMATION_NO_DATA_MODIFICATION_HPP__
3
4#include "generic_algorithm_transformation.hpp"
5#include "array_new.hpp"
6
7namespace xios
8{
9
10  class CAlgorithmTransformationNoDataModification : public CGenericAlgorithmTransformation
11  {
12    public:
13
14      CAlgorithmTransformationNoDataModification(bool isSource) : CGenericAlgorithmTransformation(isSource) {}
15      virtual ~CAlgorithmTransformationNoDataModification() {};
16      virtual void apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn, CArray<double,1>& dataOut);
17      virtual CGridAlgorithm* createGridAlgorithm(CGrid* gridSrc, CGrid* newGrid, int pos) ;
18  };
19
20}
21#endif //__XIOS_ALGORITHM_TRANSFORMATION_NO_DATA_MODIFICATION_HPP__
Note: See TracBrowser for help on using the repository browser.