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_axis.cpp

    r1985 r1988  
    3636  int axisSrcIndex = elementPositionInGridSrc2AxisPosition[elementPositionInGrid]; 
    3737 
    38   return (new CScalarAlgorithmReduceAxis(scalarListDestP[scalarDstIndex], axisListSrcP[axisSrcIndex], reduceAxis)); 
     38  return (new CScalarAlgorithmReduceAxis(isSource, scalarListDestP[scalarDstIndex], axisListSrcP[axisSrcIndex], reduceAxis)); 
    3939} 
    4040CATCH 
     
    4848CATCH 
    4949 
    50 CScalarAlgorithmReduceAxis::CScalarAlgorithmReduceAxis(CScalar* scalarDestination, CAxis* axisSource, CReduceAxisToScalar* algo) 
    51  : CScalarAlgorithmTransformation(scalarDestination, axisSource), 
    52    reduction_(0) 
     50CScalarAlgorithmReduceAxis::CScalarAlgorithmReduceAxis(bool isSource, CScalar* scalarDestination, CAxis* axisSource, CReduceAxisToScalar* algo) 
     51 : CScalarAlgorithmTransformation(isSource, scalarDestination, axisSource),reduction_(0) 
    5352TRY 
    5453{ 
Note: See TracChangeset for help on using the changeset viewer.