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/node/axis.hpp

    r2282 r2291  
    124124         void checkAttributes(void); 
    125125         bool checkAttributes_done_ = false ; 
     126         bool checkGeometricAttributes(bool generateError) ;  
     127         void setGeometricAttributes(const CAxis& axisSrc) ; 
     128         void resetGeometricAttributes(void) ; 
    126129 
    127130         size_t getGlobalWrittenSize(void) ; 
     
    173176 
    174177      private: 
    175          void checkData(); 
    176          void checkMask(); 
    177          void checkBounds(); 
    178          void checkLabel(); 
     178         bool checkData(bool generateError); 
     179         bool checkMask(bool generateError); 
     180         bool checkBounds(bool generateError); 
     181         bool checkLabel(bool generateError); 
    179182       
    180183      public: 
Note: See TracChangeset for help on using the changeset viewer.