Last change
on this file since 2143 was
2011,
checked in by ymipsl, 3 years ago
|
- bug fix when createing mask on server side when overlapping grid
- implement axis interpolation on pressure coordinate
- big cleaning in transformation
YM
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2007] | 1 | #ifndef __XIOS_TEMPORAL_TRANSFORM_FILTER_HPP__ |
---|
| 2 | #define __XIOS_TEMPORAL_TRANSFORM_FILTER_HPP__ |
---|
| 3 | |
---|
| 4 | #include "transform_filter.hpp" |
---|
| 5 | |
---|
| 6 | namespace xios |
---|
| 7 | { |
---|
| 8 | |
---|
| 9 | /*! |
---|
| 10 | * A generic filter with multiple input slots wrapping any type of spatial transformations. |
---|
| 11 | */ |
---|
| 12 | class CTemporalTransformFilter : public CTransformFilter |
---|
| 13 | { |
---|
| 14 | public: |
---|
| 15 | |
---|
[2011] | 16 | CTemporalTransformFilter(CGarbageCollector& gc, int slots, CGridAlgorithm* algo, int nrecords, bool detectMissingValues, double defaultValue) ; |
---|
[2007] | 17 | |
---|
| 18 | protected: |
---|
| 19 | /*! |
---|
| 20 | Overriding this function to process transformations with auxillary inputs |
---|
| 21 | */ |
---|
| 22 | CDataPacketPtr virtual apply(std::vector<CDataPacketPtr> data) ; |
---|
| 23 | // void apply(const CArray<double, 1>& dataSrc, CArray<double,1>& dataDest); |
---|
| 24 | |
---|
| 25 | /*! |
---|
| 26 | Overriding this function to process transformations with auxillary inputs |
---|
| 27 | */ |
---|
| 28 | // void virtual onInputReady(std::vector<CDataPacketPtr> data); |
---|
| 29 | //! Current record in the filter |
---|
| 30 | int record_=0 ; |
---|
| 31 | //! Maximum number of records |
---|
| 32 | int nrecords_; |
---|
| 33 | //! Temporary storage for output flux |
---|
| 34 | vector<CArray<double, 1>> tmpData_; |
---|
| 35 | }; // class CTransformFilter |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | } // namespace xios |
---|
| 39 | |
---|
| 40 | #endif //__XIOS_TEMPORAL_TRANSFORM_FILTER_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.