Ignore:
Timestamp:
02/01/22 15:28:48 (2 years ago)
Author:
ymipsl
Message:

Improve reduction transformation

  • make the difference between reduction over geometry or reduction between process.
  • geometrical reduction :

domain -> axis
axis -> scalar
domain -> scalar

  • reduction across processes for redondant geometrical cell :

axis -> axis
scalar -> scalar

Reduction can be local (only for the geometrical cell owned by current process) or global, using the "local" attribute (bool) over the reduction.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/grid_algorithm_generic.hpp

    r2270 r2291  
    2626    virtual ~CGridAlgorithmGeneric() {} ; 
    2727 
    28     void computeAlgorithm(void) ; 
     28    void computeAlgorithm(bool eliminateRedundant=true) ; 
    2929    virtual void apply(const CArray<double,1>& dataIn, CArray<double,1>& dataOut) ; 
    3030    virtual void apply(const CArray<double,1>& dataIn, const vector<CArray<double,1>>& auxData, CArray<double,1>& dataOut) ; 
    3131     
    3232  protected: 
     33 
    3334    shared_ptr<CGridTransformConnector> gridTransformConnector_=nullptr ; 
    3435    CGrid* gridSrc_ = nullptr ; 
Note: See TracChangeset for help on using the changeset viewer.