Changeset 2270 for XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/domain_algorithm/domain_algorithm_reorder.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_reorder.cpp
r2226 r2270 10 10 11 11 namespace xios { 12 CGenericAlgorithmTransformation*CDomainAlgorithmReorder::create(bool isSource, CGrid* gridDst, CGrid* gridSrc,12 shared_ptr<CGenericAlgorithmTransformation> CDomainAlgorithmReorder::create(bool isSource, CGrid* gridDst, CGrid* gridSrc, 13 13 CTransformation<CDomain>* transformation, 14 14 int elementPositionInGrid, … … 28 28 int domainSrcIndex = elementPositionInGridSrc2DomainPosition[elementPositionInGrid]; 29 29 30 return (new CDomainAlgorithmReorder(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], reorderDomain));30 return make_shared<CDomainAlgorithmReorder>(isSource, domainListDestP[domainDstIndex], domainListSrcP[domainSrcIndex], reorderDomain); 31 31 } 32 32 CATCH
Note: See TracChangeset
for help on using the changeset viewer.