Ignore:
Timestamp:
06/22/15 13:36:21 (9 years ago)
Author:
mhnguyen
Message:

Implementing generic transformation algorithm (local commit)

+) Change a little bit to make sure everything work in order

Test
+) test_new_features passe with inverse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/filter/axis_algorithm_transformation.hpp

    r620 r621  
    44#include "generic_algorithm_transformation.hpp" 
    55#include "axis.hpp" 
     6#include "concrete_algo.hpp" 
    67 
    78namespace xios { 
     
    1011{ 
    1112public: 
    12   CAxisAlgorithmTransformation(CAxis* axisDestination); 
    13   virtual ~CAxisAlgorithmTransformation() {} 
     13  CAxisAlgorithmTransformation(CAxis* axisDestination, CAxis* axisSource, std::vector<ETranformationType>&); 
     14 
     15  virtual ~CAxisAlgorithmTransformation(); 
    1416 
    1517protected: 
     
    2123                                                        CArray<size_t,1>& globalIndexDestGrid, 
    2224                                                        std::vector<CArray<size_t,1> >& globalIndexSrcGrid); 
    23   virtual void computeIndexSourceMapping() = 0; 
    24  
     25  void computeIndexSourceMapping(); 
    2526protected: 
    26   std::vector<int> axisDestGlobalIndex_; 
     27  std::vector<CConcreteAlgo*> algosOfAnAxis_; 
    2728 
    2829}; 
Note: See TracChangeset for help on using the changeset viewer.