Changeset 1988 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_scalar.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_scalar.cpp
r1985 r1988 31 31 int scalarSrcIndex = elementPositionInGridSrc2AxisPosition[elementPositionInGrid]; 32 32 33 return (new CScalarAlgorithmReduceScalar( scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar));33 return (new CScalarAlgorithmReduceScalar(isSource, scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar)); 34 34 } 35 35 CATCH … … 43 43 CATCH 44 44 45 CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo) 46 : CScalarAlgorithmTransformation(scalarDestination, scalarSource), 47 reduction_(0) 45 CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(bool isSource, CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo) 46 : CScalarAlgorithmTransformation(isSource, scalarDestination, scalarSource), reduction_(0) 48 47 TRY 49 48 {
Note: See TracChangeset
for help on using the changeset viewer.