- Timestamp:
- 01/03/21 18:00:43 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/filter/transform_filter.cpp
r1984 r1999 1 1 #include "transform_filter.hpp" 2 #include "grid_algorithm.hpp" 2 3 3 4 namespace xios 4 5 { 5 6 6 CTransformFilter::CTransformFilter( CGarbageCollector& gc, CGenericAlgorithmTransformation* algo, int dimBefore, int dimAfter, 7 bool detectMissingValues, double defaultValue) 8 : CFilter(gc, 1, this), algorithm_(algo), dimBefore_(dimBefore), dimAfter_(dimAfter), 7 CTransformFilter::CTransformFilter( CGarbageCollector& gc, CGridAlgorithm* algo, bool detectMissingValues, double defaultValue) 8 : CFilter(gc, 1, this), algorithm_(algo), 9 9 detectMissingValues_(detectMissingValues), defaultValue_(defaultValue) 10 10 { … … 20 20 packet->status = data[0]->status; 21 21 22 if (packet->status == CDataPacket::NO_ERROR) algorithm_->apply(d imBefore_, dimAfter_, data[0]->data, packet->data);22 if (packet->status == CDataPacket::NO_ERROR) algorithm_->apply(data[0]->data, packet->data); 23 23 return packet; 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.