Changeset 199 for XMLIO_V2/dev/dev_rv/src/xmlio/node/grid.cpp
- Timestamp:
- 05/19/11 23:51:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/node/grid.cpp
r185 r199 346 346 const int ibegin_srv = this->domain->ibegin.getValue(); 347 347 const int jbegin_srv = this->domain->jbegin.getValue(); 348 const int zoom_ni_srv = this->domain->zoom_ni.getValue(); 349 const int zoom_nj_srv = this->domain->zoom_nj.getValue(); 348 350 349 351 const int ibegin_zoom_srv = this->domain->zoom_ibegin_loc.getValue(); … … 379 381 } 380 382 381 dn += storeIndex_cl->size(); 382 383 dn += storeIndex_cl->size(); 384 } 385 386 if (storeIndex_srv->size() != 0) 387 { 388 const int ibegin_t = 389 *std::min_element(out_i_index_srv->begin(), out_i_index_srv->end()); 390 const int iend_t = 391 *std::max_element(out_i_index_srv->begin(), out_i_index_srv->end()); 392 const int jbegin_t = 393 *std::min_element(out_j_index_srv->begin(), out_j_index_srv->end()); 394 const int jend_t = 395 *std::max_element(out_j_index_srv->begin(), out_j_index_srv->end()); 396 397 if (ibegin_t < 0) 398 { 399 std::cout << "Erreur 1 " << std::endl; 400 } 401 if (jbegin_t < 0) 402 { 403 std::cout << "Erreur 2 " << std::endl; 404 } 405 if (iend_t >= zoom_ni_srv) 406 { 407 std::cout << "Erreur 3 " << std::endl; 408 } 409 if (jend_t >= zoom_nj_srv) 410 { 411 std::cout << "Erreur 4 " << std::endl; 412 } 383 413 } 384 414 … … 392 422 //~ } 393 423 //~ ofs.close(); 424 this->storeIndex.resize(1); 425 this->out_i_index.resize(1); 426 this->out_j_index.resize(1); 427 this->out_l_index.resize(1); 394 428 395 429 }
Note: See TracChangeset
for help on using the changeset viewer.