Changeset 274 for XMLIO_V2/dev/common/src/xmlio/node/grid.cpp
- Timestamp:
- 09/15/11 10:19:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/src/xmlio/node/grid.cpp
r266 r274 437 437 const std::vector<int> & ibegin = this->domain->getIBeginSub(); 438 438 const std::vector<int> & jbegin = this->domain->getJBeginSub(); 439 const std::vector<int> & ibegin_zoom = this->domain->getIBeginZoomSub(); 440 const std::vector<int> & jbegin_zoom = this->domain->getJBeginZoomSub(); 439 441 440 442 const int ibegin_srv = this->domain->ibegin.getValue(); … … 465 467 const int jbegin_cl = jbegin[i]; 466 468 469 int ibegin_zoom_cl = ibegin[i]; //ibegin_zoom[i]; 470 int jbegin_zoom_cl = jbegin[i]; //jbegin_zoom[i]; 471 472 if (ibegin_zoom.size() != 0) 473 { 474 ibegin_zoom_cl = ibegin_zoom[i]; 475 jbegin_zoom_cl = jbegin_zoom[i]; 476 } 477 467 478 for (StdSize n = dn, m = 0; n < (dn + storeIndex_cl->size()); n++, m++) 468 479 { 469 480 (*storeIndex_srv)[n] = (*storeIndex_cl)[m]; // Faux mais inutile dans le cas serveur. 470 481 (*out_i_index_srv)[n] = (*out_i_index_cl)[m] 471 + (ibegin_cl - 1) - (ibegin_srv - 1) - (ibegin_zoom_srv - 1);482 /*+ (ibegin_cl - 1)*/ - (ibegin_srv - 1) + (ibegin_zoom_cl - 1) - (ibegin_zoom_srv - 1); 472 483 (*out_j_index_srv)[n] = (*out_j_index_cl)[m] 473 + (jbegin_cl - 1) - (jbegin_srv- 1) - (jbegin_zoom_srv - 1);484 /*+ (jbegin_cl - 1)*/ - (jbegin_srv - 1) + (jbegin_zoom_cl - 1) - (jbegin_zoom_srv - 1); 474 485 (*out_l_index_srv)[n] = (*out_l_index_cl)[m]; 475 486 } … … 493 504 { 494 505 ERROR("CGrid::computeIndexServer(void)", 495 <<"Erreur d'indexation de la grille au niveau du serveur") ; 506 << "[ grille = " << this->getId() 507 << ", ibegin_t = " << ibegin_t 508 << ", jbegin_t = " << jbegin_t 509 << ", iend_t = " << iend_t 510 << ", jend_t = " << jend_t 511 << ", zoom_ni_srv = " << zoom_ni_srv 512 << ", zoom_nj_srv = " << zoom_nj_srv 513 <<" ] Erreur d'indexation de la grille au niveau du serveur") ; 496 514 } 497 515 }
Note: See TracChangeset
for help on using the changeset viewer.