Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/domain_algorithm/domain_algorithm_expand.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_expand.cpp
r1998 r2270 17 17 18 18 namespace xios { 19 CGenericAlgorithmTransformation*CDomainAlgorithmExpand::create(bool isSource, CGrid* gridDst, CGrid* gridSrc,19 shared_ptr<CGenericAlgorithmTransformation> CDomainAlgorithmExpand::create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 20 20 CTransformation<CDomain>* transformation, 21 21 int elementPositionInGrid, … … 35 35 int domainSrcIndex = elementPositionInGridSrc2DomainPosition[elementPositionInGrid]; 36 36 37 return (new CDomainAlgorithmExpand(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], expandDomain));37 return make_shared<CDomainAlgorithmExpand>(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], expandDomain); 38 38 } 39 39 CATCH
Note: See TracChangeset
for help on using the changeset viewer.