Ignore:
Timestamp:
12/17/20 13:18:57 (4 years ago)
Author:
ymipsl
Message:

Adapt transformation algorithm to new infrastructure (on going...)

YM

File:
1 edited

Legend:

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

    r1988 r1998  
    5252 
    5353public: 
    54   CGenericAlgorithmTransformation(); 
     54  //CGenericAlgorithmTransformation(); 
    5555  CGenericAlgorithmTransformation(bool isSource); 
    5656 
     
    100100 
    101101protected: 
    102   virtual void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >&) = 0; 
     102  virtual void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >&) {}; 
    103103 
    104104  /*! 
     
    110110  virtual void computeExchangeGlobalIndex(const CArray<size_t,1>& globalElementIndex, 
    111111                                          int elementType, 
    112                                           CClientClientDHTInt::Index2VectorInfoTypeMap& globalElementIndexOnProc) = 0; 
     112                                          CClientClientDHTInt::Index2VectorInfoTypeMap& globalElementIndexOnProc){}; 
    113113 
    114114protected: 
     
    181181  public :  
    182182   
    183     void computeAlgorithm(CLocalView* srcView, CLocalView* dstView) ; 
    184     void apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn, CArray<double,1>& dataOut); 
     183    virtual void computeAlgorithm(CLocalView* srcView, CLocalView* dstView) ; 
     184    virtual void apply(int dimBefore, int dimAfter, const CArray<double,1>& dataIn, CArray<double,1>& dataOut); 
    185185     
    186186    CTransformConnector* transformConnector_ ; 
Note: See TracChangeset for help on using the changeset viewer.