Changeset 2007 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node
- Timestamp:
- 01/07/21 11:52:55 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src/node
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/axis.hpp
r1984 r2007 146 146 CGenericAlgorithmTransformation* transformationAlgorithm_ = nullptr ; 147 147 public: 148 void setTransformationAlgorithm(CGenericAlgorithmTransformation* transformationAlgorithm) { transformationAlgorithm =transformationAlgorithm ;}148 void setTransformationAlgorithm(CGenericAlgorithmTransformation* transformationAlgorithm) { transformationAlgorithm_=transformationAlgorithm ;} 149 149 CGenericAlgorithmTransformation* getTransformationAlgorithm(void) { return transformationAlgorithm_ ;} 150 150 private: -
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/grid.cpp
r2002 r2007 27 27 #include "transform_filter.hpp" 28 28 #include "grid_algorithm.hpp" 29 #include "grid_algorithm_generic.hpp" 30 #include "generic_algorithm_transformation.hpp" 31 #include "algo_types.hpp" 29 32 30 33 … … 1704 1707 TRY 1705 1708 { 1709 registerAlgorithmTransformation() ; // needed to enable self-registration of the transformations 1710 // big mystery why it doesn't work witout that... 1711 // problem with the linker ?? 1712 1706 1713 std::shared_ptr<CFilter> inputFilter = std::shared_ptr<CPassThroughFilter>(new CPassThroughFilter(gc)); 1707 1714 std::shared_ptr<CFilter> outputFilter = inputFilter ; 1708 1715 1716 1709 1717 string newId ; 1710 1718 if (gridSrc!=nullptr) newId = gridSrc->getId() + " --> " + this->getId() ; … … 1919 1927 else gridAlgorithm = newGrid->getGridAlgorithm() ; 1920 1928 1921 shared_ptr<CTransformFilter> transformFilter = shared_ptr<CTransformFilter>( new CTransformFilter(gc, gridAlgorithm, detectMissingValues, defaultValue)) ;1929 shared_ptr<CTransformFilter> transformFilter = shared_ptr<CTransformFilter>(gridAlgorithm->createTransformFilter(gc, detectMissingValues, defaultValue)) ; 1922 1930 outputFilter->connectOutput(transformFilter,0) ; 1923 1931 outputFilter = transformFilter ;
Note: See TracChangeset
for help on using the changeset viewer.