- Timestamp:
- 06/18/18 20:32:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/transformation/scalar_algorithm_reduce_scalar.cpp
r1460 r1545 9 9 #include "grid.hpp" 10 10 #include "grid_transformation_factory_impl.hpp" 11 //#include "reduction.hpp" 11 12 12 13 13 … … 76 76 } 77 77 78 //if (CReductionAlgorithm::ReductionOperations.end() == CReductionAlgorithm::ReductionOperations.find(op))79 78 if (CReductionAlgorithm::ReductionOperations_ptr->end() == CReductionAlgorithm::ReductionOperations_ptr->find(op)) 80 79 ERROR("CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo)", … … 82 81 << "Scalar source " <<scalarSource->getId() << std::endl 83 82 << "Scalar destination " << scalarDestination->getId()); 84 85 //reduction_ = CReductionAlgorithm::createOperation(CReductionAlgorithm::ReductionOperations[op]); 83 86 84 reduction_ = CReductionAlgorithm::createOperation(CReductionAlgorithm::ReductionOperations_ptr->at(op)); 87 85 }
Note: See TracChangeset
for help on using the changeset viewer.