Changeset 1999 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/axis_algorithm/axis_algorithm_extract_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/axis_algorithm/axis_algorithm_extract_domain.hpp
r1988 r1999 10 10 #define __XIOS_AXIS_ALGORITHM_EXTRACT_DOMAIN_HPP__ 11 11 12 #include "a xis_algorithm_transformation.hpp"12 #include "algorithm_transformation_transfer.hpp" 13 13 #include "transformation.hpp" 14 14 … … 25 25 Extract a domain to an axis 26 26 */ 27 class CAxisAlgorithmExtractDomain : public CA xisAlgorithmTransformation27 class CAxisAlgorithmExtractDomain : public CAlgorithmTransformationTransfer 28 28 { 29 29 public: 30 30 CAxisAlgorithmExtractDomain(bool isSource, CAxis* axisDestination, CDomain* domainSource, CExtractDomainToAxis* algo); 31 31 32 virtual void apply(const std::vector<std::pair<int,double> >& localIndex, 33 const double* dataInput, 34 CArray<double,1>& dataOut, 35 std::vector<bool>& flagInitial, 36 bool ignoreMissingValue, bool firstPass); 37 38 virtual ~CAxisAlgorithmExtractDomain(); 32 virtual ~CAxisAlgorithmExtractDomain(); 39 33 40 34 static bool registerTrans(); … … 48 42 ExtractDirection dir_; 49 43 int pos_; //! Position to extract 50 protected: 51 void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >& dataAuxInputs); 52 53 protected: 54 CReductionAlgorithm* reduction_; 55 44 56 45 private: 46 CDomain* domainSrc_; 47 CAxis* axisDest_ ; 57 48 static CGenericAlgorithmTransformation* create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 58 49 CTransformation<CAxis>* transformation,
Note: See TracChangeset
for help on using the changeset viewer.