Ignore:
Timestamp:
12/14/20 09:59:23 (4 years ago)
Author:
ymipsl
Message:

Update to new transformation.
Source filter working again + reading
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/scalar_algorithm/scalar_algorithm_reduce_scalar.cpp

    r1985 r1988  
    3131  int scalarSrcIndex = elementPositionInGridSrc2AxisPosition[elementPositionInGrid]; 
    3232 
    33   return (new CScalarAlgorithmReduceScalar(scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar)); 
     33  return (new CScalarAlgorithmReduceScalar(isSource, scalarListDestP[scalarDstIndex], scalarListSrcP[scalarSrcIndex], reduceScalar)); 
    3434} 
    3535CATCH 
     
    4343CATCH 
    4444 
    45 CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo) 
    46  : CScalarAlgorithmTransformation(scalarDestination, scalarSource), 
    47    reduction_(0) 
     45CScalarAlgorithmReduceScalar::CScalarAlgorithmReduceScalar(bool isSource, CScalar* scalarDestination, CScalar* scalarSource, CReduceScalarToScalar* algo) 
     46 : CScalarAlgorithmTransformation(isSource, scalarDestination, scalarSource), reduction_(0) 
    4847TRY 
    4948{ 
Note: See TracChangeset for help on using the changeset viewer.