Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/domain_algorithm/domain_algorithm_interpolate.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/domain_algorithm/domain_algorithm_interpolate.cpp
r2006 r2270 22 22 23 23 namespace xios { 24 CGenericAlgorithmTransformation*CDomainAlgorithmInterpolate::create(bool isSource, CGrid* gridDst, CGrid* gridSrc,24 shared_ptr<CGenericAlgorithmTransformation> CDomainAlgorithmInterpolate::create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 25 25 CTransformation<CDomain>* transformation, 26 26 int elementPositionInGrid, … … 40 40 int domainSrcIndex = elementPositionInGridSrc2DomainPosition[elementPositionInGrid]; 41 41 42 return (new CDomainAlgorithmInterpolate(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], interpolateDomain));42 return make_shared<CDomainAlgorithmInterpolate>(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], interpolateDomain); 43 43 } 44 44 CATCH
Note: See TracChangeset
for help on using the changeset viewer.