Ignore:
Timestamp:
01/22/21 12:00:29 (3 years ago)
Author:
yushan
Message:

Graph intermedia commit to a tmp branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_graph/src/node/expand_domain.hpp

    r935 r2019  
    2020  class CExpandDomain; 
    2121  class CDomain; 
     22  class CGenericAlgorithmTransformation ; 
     23  class CGrid; 
    2224 
    2325  ///-------------------------------------------------------------- 
     
    4143      typedef CObjectTemplate<CExpandDomain> SuperClass; 
    4244      typedef CExpandDomainAttributes SuperClassAttribute; 
     45      typedef CExpandDomain MyClass ; 
     46      typedef CTransformation<CDomain> SuperTransform ; 
    4347 
    4448    public : 
     
    5660      static StdString GetDefName(void); 
    5761      static ENodeType GetType(void); 
     62      const string& getId(void) { return this->SuperClass::getId();} 
     63      ETranformationType getTransformationType(void) { return TRANS_EXPAND_DOMAIN ;} 
     64      static CTransformation<CDomain>* getTransformation(const StdString& id) { return SuperClass::get(id);} 
     65      virtual void inheritFrom(SuperTransform* srcTransform) { solveDescInheritance(true, this->SuperClass::get((MyClass*)srcTransform)) ;} 
     66      virtual CGenericAlgorithmTransformation* createAlgorithm(bool isSource, 
     67                                                               CGrid* gridDst, CGrid* gridSrc, 
     68                                                               int elementPositionInGrid, 
     69                                                               std::map<int, int>& elementPositionInGridSrc2ScalarPosition, 
     70                                                               std::map<int, int>& elementPositionInGridSrc2AxisPosition, 
     71                                                               std::map<int, int>& elementPositionInGridSrc2DomainPosition, 
     72                                                               std::map<int, int>& elementPositionInGridDst2ScalarPosition, 
     73                                                               std::map<int, int>& elementPositionInGridDst2AxisPosition, 
     74                                                               std::map<int, int>& elementPositionInGridDst2DomainPosition)  ; 
    5875    private: 
    5976      static bool registerTrans(); 
Note: See TracChangeset for help on using the changeset viewer.