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

Final testing transfomation algorithm: inverse axis (local commit)

+) Make some minor change to make sure one element (axis or domain) be able to have several similar transformation

Test
+) On Curie
+) test_new_feature: test passed with correct data written

File:
1 edited

Legend:

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

    r621 r622  
    22#define __XIOS_AXIS_ALGORITHM_ZOOM_HPP__ 
    33 
    4 #include "concrete_algo.hpp" 
     4#include "axis_algorithm_transformation.hpp" 
    55#include "axis.hpp" 
     6#include "zoom_axis.hpp" 
    67 
    78namespace xios { 
    89 
    9 class CAxisZoom : public CConcreteAlgo 
     10class CAxisZoom : public CAxisAlgorithmTransformation 
    1011{ 
    1112public: 
    12   CAxisZoom(CAxis* axisDestination, CAxis* axisSource); 
     13  CAxisZoom(CAxis* axisDestination, CAxis* axisSource, CZoomAxis* zoomAxis); 
    1314 
    1415  virtual ~CAxisZoom() {} 
    1516 
    16   virtual void computeIndexSourceMapping(const std::map<int, std::vector<int> >& transformationMappingOfPreviousAlgo); 
    17  
    18 protected: 
    19   std::vector<int> axisDestGlobalIndex_; 
     17  virtual void computeIndexSourceMapping(); 
    2018 
    2119private: 
    22   int axisDestGlobalSize_; 
     20  StdSize zoomBegin_; 
     21  StdSize zoomEnd_; 
     22  StdSize zoomSize_; 
     23 
     24private: 
     25  CAxis* axisDest_; 
     26  CAxis* axisSrc_; 
    2327}; 
    2428 
Note: See TracChangeset for help on using the changeset viewer.