Changeset 666 for XIOS/trunk/src/transformation/axis_algorithm_zoom.cpp
- Timestamp:
- 08/24/15 14:53:27 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/transformation/axis_algorithm_zoom.cpp
r630 r666 19 19 zoomSize_ = zoomAxis->zoom_size.getValue(); 20 20 21 if (zoomSize_ > axisSource-> size.getValue())21 if (zoomSize_ > axisSource->n_glo.getValue()) 22 22 { 23 23 ERROR("CAxisAlgorithmZoom::CAxisAlgorithmZoom(CAxis* axisDestination, CAxis* axisSource, CZoomAxis* zoomAxis)", 24 << "Zoom size is greater than size of axis source"25 << " Size of axis source " <<axisSource->getId() << " is " << axisSource->size.getValue() << std::endl24 << "Zoom size is greater than global size of axis source" 25 << "Global size of axis source " <<axisSource->getId() << " is " << axisSource->n_glo.getValue() << std::endl 26 26 << "Zoom size is " << zoomSize_ ); 27 27 } … … 35 35 void CAxisAlgorithmZoom::computeIndexSourceMapping() 36 36 { 37 StdSize niSource = axisSrc_->n i.getValue();38 StdSize ibeginSource = axisSrc_-> ibegin.getValue();37 StdSize niSource = axisSrc_->n.getValue(); 38 StdSize ibeginSource = axisSrc_->begin.getValue(); 39 39 StdSize iendSource = ibeginSource + niSource - 1; 40 40 … … 73 73 { 74 74 StdSize niMask = axisDest_->mask.numElements(); 75 StdSize iBeginMask = axisDest_-> ibegin.getValue();75 StdSize iBeginMask = axisDest_->begin.getValue(); 76 76 StdSize globalIndexMask = 0; 77 77 std::map<int, std::vector<int> >& transMap = this->transformationMapping_;
Note: See TracChangeset
for help on using the changeset viewer.