Changeset 623 for XIOS/trunk/src/node/grid.cpp
- Timestamp:
- 06/22/15 13:36:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.cpp
r622 r623 298 298 } 299 299 } 300 301 void CGrid::modifyMask(const CArray<int,1>& indexToModify) 302 { 303 using namespace std; 304 std::vector<CDomain*> domainP = this->getDomains(); 305 std::vector<CAxis*> axisP = this->getAxis(); 306 int dim = domainP.size() * 2 + axisP.size(); 307 308 switch (dim) { 309 case 1: 310 modifyGridMask(mask1, indexToModify); 311 break; 312 case 2: 313 modifyGridMask(mask2, indexToModify); 314 break; 315 case 3: 316 modifyGridMask(mask3, indexToModify); 317 break; 318 319 default: 320 break; 321 } 322 } 323 300 324 //--------------------------------------------------------------- 301 325 … … 850 874 nZoomBegin[indexMap[i]] = axisList[axisId]->zoom_begin_srv; 851 875 nZoomSize[indexMap[i]] = axisList[axisId]->zoom_size_srv; 852 nZoomBeginGlobal[indexMap[i]] = axisList[axisId]-> zoom_begin;876 nZoomBeginGlobal[indexMap[i]] = axisList[axisId]->global_zoom_begin; 853 877 nGlob[indexMap[i]] = axisList[axisId]->size; 854 878 ++axisId; … … 1158 1182 transformations_ = new CGridTransformation(transformedGrid, this); 1159 1183 transformations_->computeAll(); 1184 1185 // Ok, now need to compute index of grid source 1186 checkMaskIndex(false); 1160 1187 } 1161 1188
Note: See TracChangeset
for help on using the changeset viewer.