Ignore:
Timestamp:
06/15/17 16:17:01 (7 years ago)
Author:
mhnguyen
Message:

Non-continuous zoom on axis
Zoomed points are defined by array index of zoom_axis

+) Update axis with new type of zoom

Test
+) On Curie
+) Work
+) Update test_complete with this new zoom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_output.cpp

    r1135 r1169  
    10441044        int zoom_begin_srv = axis->zoom_begin_srv; 
    10451045        int zoom_size  = (MULTI_FILE == SuperClass::type) ? zoom_size_srv 
    1046                                                               : axis->global_zoom_n; 
    1047         int zoom_begin = (MULTI_FILE == SuperClass::type) ? zoom_begin_srv 
    1048                                                               : axis->global_zoom_begin; 
     1046                                                          : axis->global_zoom_size_srv; 
    10491047 
    10501048        if ((0 == zoom_size_srv) && (MULTI_FILE == SuperClass::type)) return; 
     
    11251123                std::vector<StdSize> start(1), startBounds(2) ; 
    11261124                std::vector<StdSize> count(1), countBounds(2) ; 
    1127                 start[0] = startBounds[0] = zoom_begin_srv-axis->global_zoom_begin; 
     1125                start[0] = startBounds[0] = zoom_begin_srv-axis->global_zoom_begin_srv; 
    11281126                count[0] = countBounds[0] = zoom_size_srv; 
    11291127                startBounds[1] = 0; 
Note: See TracChangeset for help on using the changeset viewer.