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:
951 bytes
|
Line | |
---|
1 | #ifndef __XIOS_TRANSFORM_FILTER_HPP__ |
---|
2 | #define __XIOS_TRANSFORM_FILTER_HPP__ |
---|
3 | |
---|
4 | #include "filter.hpp" |
---|
5 | #include "grid_algorithm.hpp" |
---|
6 | |
---|
7 | namespace xios |
---|
8 | { |
---|
9 | |
---|
10 | /*! |
---|
11 | * A generic filter with multiple input slots wrapping any type of spatial transformations. |
---|
12 | */ |
---|
13 | class CTransformFilter : public CFilter, IFilterEngine |
---|
14 | { |
---|
15 | public: |
---|
16 | |
---|
17 | CTransformFilter(CGarbageCollector& gc, CGridAlgorithm* algo, bool detectMissingValues, double defaultValue) ; |
---|
18 | |
---|
19 | protected: |
---|
20 | /*! |
---|
21 | Overriding this function to process transformations with auxillary inputs |
---|
22 | */ |
---|
23 | CDataPacketPtr virtual apply(std::vector<CDataPacketPtr> data) ; |
---|
24 | // void apply(const CArray<double, 1>& dataSrc, CArray<double,1>& dataDest); |
---|
25 | |
---|
26 | CGridAlgorithm* algorithm_ ; |
---|
27 | bool detectMissingValues_ ; |
---|
28 | bool defaultValue_ ; |
---|
29 | |
---|
30 | }; // class CTransformFilter |
---|
31 | |
---|
32 | |
---|
33 | } // namespace xios |
---|
34 | |
---|
35 | #endif //__XIOS_CSpatialTransformFilter__ |
---|
Note: See
TracBrowser
for help on using the repository browser.