Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/domain_algorithm/domain_algorithm_extract.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_extract.cpp
r2232 r2270 7 7 8 8 namespace xios { 9 CGenericAlgorithmTransformation*CDomainAlgorithmExtract::create(bool isSource, CGrid* gridDst, CGrid* gridSrc,9 shared_ptr<CGenericAlgorithmTransformation> CDomainAlgorithmExtract::create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 10 10 CTransformation<CDomain>* transformation, 11 11 int elementPositionInGrid, … … 25 25 int domainSrcIndex = elementPositionInGridSrc2DomainPosition[elementPositionInGrid]; 26 26 27 return (new CDomainAlgorithmExtract(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], extractDomain));27 return make_shared<CDomainAlgorithmExtract>(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], extractDomain); 28 28 } 29 29 CATCH
Note: See TracChangeset
for help on using the changeset viewer.