Ignore:
Timestamp:
06/22/15 13:36:37 (9 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/distribution_client.cpp

    r623 r624  
    148148    axisMasks_[i].resize(axisList[i]->mask.numElements()); 
    149149    axisMasks_[i] = axisList[i]->mask; 
    150     std::cout << "axisMask " << axisMasks_[i] << std::endl; 
    151150  } 
    152151 
     
    201200      nBeginLocal_.at(indexMap_[idx]+1) = 0; 
    202201      nBeginGlobal_.at(indexMap_[idx]+1) = domList[domIndex]->jbegin; 
    203 //      nZoomBegin_.at((indexMap_[idx]+1)) = domList[domIndex]->zoom_jbegin; 
    204 //      nZoomEnd_.at((indexMap_[idx]+1))   = domList[domIndex]->zoom_jbegin + domList[domIndex]->zoom_nj-1; 
     202      nZoomBegin_.at((indexMap_[idx]+1)) = domList[domIndex]->zoom_jbegin; 
     203      nZoomEnd_.at((indexMap_[idx]+1))   = domList[domIndex]->zoom_jbegin + domList[domIndex]->zoom_nj-1; 
    205204 
    206205      dataBegin_.at(indexMap_[idx]+1) = (2 == domList[domIndex]->data_dim) ? domList[domIndex]->data_jbegin.getValue() : -1; 
     
    213212      nBeginLocal_.at(indexMap_[idx]) = 0; 
    214213      nBeginGlobal_.at(indexMap_[idx]) = domList[domIndex]->ibegin; 
    215 //      nZoomBegin_.at((indexMap_[idx])) = domList[domIndex]->zoom_ibegin; 
    216 //      nZoomEnd_.at((indexMap_[idx]))   = domList[domIndex]->zoom_ibegin + domList[domIndex]->zoom_ni-1; 
     214      nZoomBegin_.at((indexMap_[idx])) = domList[domIndex]->zoom_ibegin; 
     215      nZoomEnd_.at((indexMap_[idx]))   = domList[domIndex]->zoom_ibegin + domList[domIndex]->zoom_ni-1; 
    217216 
    218217      dataBegin_.at(indexMap_[idx]) = domList[domIndex]->data_ibegin.getValue(); 
Note: See TracChangeset for help on using the changeset viewer.