Last change
on this file since 2007 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:
944 bytes
|
Line | |
---|
1 | #ifndef __XIOS_GRID_ALGORITHM_HPP__ |
---|
2 | #define __XIOS_GRID_ALGORITHM_HPP__ |
---|
3 | |
---|
4 | #include "grid_transform_connector.hpp" |
---|
5 | #include <map> |
---|
6 | #include "array_new.hpp" |
---|
7 | #include "local_view.hpp" |
---|
8 | |
---|
9 | namespace xios |
---|
10 | { |
---|
11 | class CGrid; |
---|
12 | class CGenericAlgorithmTransformation ; |
---|
13 | |
---|
14 | /*! |
---|
15 | \class CGenericAlgorithmTransformation |
---|
16 | This class defines the interface for all other inherited algorithms class |
---|
17 | */ |
---|
18 | class CTransformFilter ; |
---|
19 | class CGarbageCollector ; |
---|
20 | |
---|
21 | class CGridAlgorithm |
---|
22 | { |
---|
23 | public: |
---|
24 | CGridAlgorithm(CGenericAlgorithmTransformation* algorithm) : algorithm_(algorithm) {} ; |
---|
25 | virtual ~CGridAlgorithm() {} ; |
---|
26 | virtual void apply(const CArray<double,1>& dataIn, CArray<double,1>& dataOut)=0 ; |
---|
27 | virtual CTransformFilter* createTransformFilter(CGarbageCollector& gc, bool detectMissingValues, double defaultValue) ; |
---|
28 | |
---|
29 | protected: |
---|
30 | CGenericAlgorithmTransformation* algorithm_=nullptr ; |
---|
31 | }; |
---|
32 | |
---|
33 | } |
---|
34 | #endif // __XIOS_GRID_ALGORITHM_TRANSFORMATION_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.