Changeset 1999 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_domain.hpp
- Timestamp:
- 01/03/21 18:00:43 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_domain.hpp
r1988 r1999 10 10 #define __XIOS_SCALAR_ALGORITHM_REDUCE_DOMAIN_HPP__ 11 11 12 #include " scalar_algorithm_transformation.hpp"12 #include "algorithm_transformation_reduce.hpp" 13 13 #include "transformation.hpp" 14 14 … … 24 24 Reducing an DOMAIN to a scalar 25 25 */ 26 class CScalarAlgorithmReduceDomain : public C ScalarAlgorithmTransformation26 class CScalarAlgorithmReduceDomain : public CAlgorithmTransformationReduce 27 27 { 28 28 public: 29 29 CScalarAlgorithmReduceDomain(bool isSource, CScalar* scalarDestination, CDomain* domainSource, CReduceDomainToScalar* algo); 30 30 31 virtual void apply(const std::vector<std::pair<int,double> >& localIndex,32 const double* dataInput,33 CArray<double,1>& dataOut,34 std::vector<bool>& flagInitial,35 bool ignoreMissingValue, bool firstPass);36 37 virtual void updateData(CArray<double,1>& dataOut);38 39 31 virtual ~CScalarAlgorithmReduceDomain(); 40 32 41 33 static bool registerTrans(); 42 protected:43 bool local ;44 void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs);45 34 46 35 protected: 47 C ReductionAlgorithm* reduction_;36 CDomain* domainSrc_ ; 48 37 49 38 private:
Note: See TracChangeset
for help on using the changeset viewer.