Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/filter
- Timestamp:
- 12/07/21 12:07:33 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src/filter
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/temporal_transform_filter.cpp
r2195 r2270 5 5 { 6 6 7 CTemporalTransformFilter::CTemporalTransformFilter(CGarbageCollector& gc, int slots, CGridAlgorithm*algo, int nrecords, bool detectMissingValues, double defaultValue)7 CTemporalTransformFilter::CTemporalTransformFilter(CGarbageCollector& gc, int slots, shared_ptr<CGridAlgorithm> algo, int nrecords, bool detectMissingValues, double defaultValue) 8 8 : CTransformFilter(gc, slots, algo, detectMissingValues, defaultValue), nrecords_(nrecords), graphCycleCompleted(true) 9 9 { -
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/temporal_transform_filter.hpp
r2195 r2270 14 14 public: 15 15 16 CTemporalTransformFilter(CGarbageCollector& gc, int slots, CGridAlgorithm*algo, int nrecords, bool detectMissingValues, double defaultValue) ;16 CTemporalTransformFilter(CGarbageCollector& gc, int slots, shared_ptr<CGridAlgorithm> algo, int nrecords, bool detectMissingValues, double defaultValue) ; 17 17 18 18 protected: -
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/transform_filter.cpp
r2143 r2270 5 5 { 6 6 7 CTransformFilter::CTransformFilter( CGarbageCollector& gc, int slots, CGridAlgorithm*algo, bool detectMissingValues, double defaultValue)7 CTransformFilter::CTransformFilter( CGarbageCollector& gc, int slots, shared_ptr<CGridAlgorithm> algo, bool detectMissingValues, double defaultValue) 8 8 : CFilter(gc, slots, this), algorithm_(algo), 9 9 detectMissingValues_(detectMissingValues), defaultValue_(defaultValue) … … 35 35 } 36 36 37 void CTransformFilter::buildWorkflowGraph(std::vector<CDataPacketPtr> data, CDataPacketPtr packet, CGridAlgorithm*algorithm)37 void CTransformFilter::buildWorkflowGraph(std::vector<CDataPacketPtr> data, CDataPacketPtr packet, shared_ptr<CGridAlgorithm> algorithm) 38 38 { 39 39 if(this->graphEnabled) -
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/transform_filter.hpp
r2143 r2270 15 15 public: 16 16 17 CTransformFilter(CGarbageCollector& gc, int slots, CGridAlgorithm*algo, bool detectMissingValues, double defaultValue) ;17 CTransformFilter(CGarbageCollector& gc, int slots, shared_ptr<CGridAlgorithm> algo, bool detectMissingValues, double defaultValue) ; 18 18 19 19 protected: … … 22 22 */ 23 23 CDataPacketPtr virtual apply(std::vector<CDataPacketPtr> data) ; 24 void buildWorkflowGraph(std::vector<CDataPacketPtr> data, CDataPacketPtr packet, CGridAlgorithm*algorithm);24 void buildWorkflowGraph(std::vector<CDataPacketPtr> data, CDataPacketPtr packet, shared_ptr<CGridAlgorithm> algorithm); 25 25 26 26 // void apply(const CArray<double, 1>& dataSrc, CArray<double,1>& dataDest); 27 27 28 CGridAlgorithm*algorithm_ ;28 shared_ptr<CGridAlgorithm> algorithm_ ; 29 29 bool detectMissingValues_ ; 30 30 bool defaultValue_ ;
Note: See TracChangeset
for help on using the changeset viewer.