Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_scalar.cpp
- Timestamp:
- 12/07/21 12:07:33 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_scalar.cpp
r2011 r2270 13 13 14 14 namespace xios { 15 CGenericAlgorithmTransformation*CScalarAlgorithmReduceScalar::create(bool isSource, CGrid* gridDst, CGrid* gridSrc,15 shared_ptr<CGenericAlgorithmTransformation> CScalarAlgorithmReduceScalar::create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 16 16 CTransformation<CScalar>* transformation, 17 17 int elementPositionInGrid, … … 31 31 int scalarSrcIndex = elementPositionInGridSrc2AxisPosition[elementPositionInGrid]; 32 32 33 return (new CScalarAlgorithmReduceScalar(isSource, scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar));33 return make_shared<CScalarAlgorithmReduceScalar>(isSource, scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar); 34 34 } 35 35 CATCH
Note: See TracChangeset
for help on using the changeset viewer.