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

Final tests of zoom and inverse on axis

+) Modify test_client and test_complete to work with new grid definition
+) Correct some bugs causing memory leak
+) Clean abundant code
+) Add more comments to new files

Test
+) On Curie
+) test_client and test_complete pass with correct results

Location:
XIOS/trunk/src/transformation
Files:
1 added
1 moved

Legend:

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

    r623 r624  
     1/*! 
     2   \file axis_algorithm_zoom.hpp 
     3   \author Ha NGUYEN 
     4   \since 03 June 2015 
     5   \date 12 June 2015 
     6 
     7   \brief Algorithm for zooming on an axis. 
     8 */ 
    19#ifndef __XIOS_AXIS_ALGORITHM_ZOOM_HPP__ 
    210#define __XIOS_AXIS_ALGORITHM_ZOOM_HPP__ 
     
    715 
    816namespace xios { 
    9  
     17/*! 
     18  \class CAxisAlgorithmZoom 
     19  Implementing zoom on axis 
     20  A zoomed region can be considered as region that isnt masked. 
     21  Only this zoomed region is extracted to write on Netcdf. 
     22*/ 
    1023class CAxisAlgorithmZoom : public CAxisAlgorithmTransformation 
    1124{ 
     
    2033  void updateAxisDestinationMask(); 
    2134  void updateZoom(); 
     35 
    2236private: 
     37  //! Global zoom begin on axis 
    2338  StdSize zoomBegin_; 
     39 
     40  //! Global zoom end on axis 
    2441  StdSize zoomEnd_; 
     42 
     43  //! Global zoom size on axis 
    2544  StdSize zoomSize_; 
    2645 
    2746private: 
     47  //! Axis on grid destination 
    2848  CAxis* axisDest_; 
     49 
     50  //! Axis on grid source 
    2951  CAxis* axisSrc_; 
    3052}; 
Note: See TracChangeset for help on using the changeset viewer.