Ignore:
Timestamp:
09/15/15 17:30:55 (9 years ago)
Author:
mhnguyen
Message:

Implementing auto-generate rectilinear domain

+) Add a new special transformation to generate (complete) rectilinear domain

Test
+) On Curie
+) test_new_feature passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/grid_transformation.hpp

    r668 r687  
    33   \author Ha NGUYEN 
    44   \since 14 May 2015 
    5    \date 18 June 2015 
     5   \date 26 Aug 2015 
    66 
    77   \brief Interface for all transformations. 
     
    3434{ 
    3535public: 
     36  typedef std::list<std::pair<int,std::pair<ETranformationType,int> > > ListAlgoType; 
     37 
     38public: 
    3639  /** Default constructor */ 
    3740  CGridTransformation(CGrid* destination, CGrid* source); 
     
    4447  CGrid* getGridSource() {return gridSource_; } 
    4548  CGrid* getGridDestination() { return gridDestination_; } 
     49  ListAlgoType getAlgoList() const {return listAlgos_; } 
    4650 
    47 private: 
     51protected: 
    4852  void computeTransformation(); 
    4953  void initializeAlgorithms(); 
     
    6064  void updateFinalGridDestination(); 
    6165 
    62 private: 
     66protected: 
    6367  //! Grid source on transformation 
    6468  CGrid* gridSource_; 
     
    7074  CGrid* originalGridSource_; 
    7175 
    72   //! Grid source dimension size 
    73   std::vector<int> gridSourceDimensionSize_; 
    74  
    75   //! Grid destination dimension size 
    76   std::vector<int> gridDestinationDimensionSize_; 
    77  
    78 private: 
    79   typedef std::list<std::pair<int,std::pair<ETranformationType,int> > > ListAlgoType; 
     76protected: 
    8077  //! List of algorithm types and their order 
    8178  ListAlgoType listAlgos_; 
Note: See TracChangeset for help on using the changeset viewer.