Changeset 1988 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_axis.cpp
- Timestamp:
- 12/14/20 09:59:23 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_axis.cpp
r1985 r1988 36 36 int axisSrcIndex = elementPositionInGridSrc2AxisPosition[elementPositionInGrid]; 37 37 38 return (new CScalarAlgorithmReduceAxis( scalarListDestP[scalarDstIndex], axisListSrcP[axisSrcIndex], reduceAxis));38 return (new CScalarAlgorithmReduceAxis(isSource, scalarListDestP[scalarDstIndex], axisListSrcP[axisSrcIndex], reduceAxis)); 39 39 } 40 40 CATCH … … 48 48 CATCH 49 49 50 CScalarAlgorithmReduceAxis::CScalarAlgorithmReduceAxis(CScalar* scalarDestination, CAxis* axisSource, CReduceAxisToScalar* algo) 51 : CScalarAlgorithmTransformation(scalarDestination, axisSource), 52 reduction_(0) 50 CScalarAlgorithmReduceAxis::CScalarAlgorithmReduceAxis(bool isSource, CScalar* scalarDestination, CAxis* axisSource, CReduceAxisToScalar* algo) 51 : CScalarAlgorithmTransformation(isSource, scalarDestination, axisSource),reduction_(0) 53 52 TRY 54 53 {
Note: See TracChangeset
for help on using the changeset viewer.