Changeset 185 for XMLIO_V2/dev/dev_rv/src/xmlio/node
- Timestamp:
- 04/28/11 10:53:26 (13 years ago)
- Location:
- XMLIO_V2/dev/dev_rv/src/xmlio/node
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/node/domain.cpp
r184 r185 398 398 void CDomain::completeLonLat(void) 399 399 { 400 //ARRAY_CREATE(value, valuetype, numdims, extent)// todo 401 //ARRAY_CREATE(value, valuetype, numdims, extent) 402 400 403 ARRAY(double, 1) lonvalue_ = this->lonvalue.getValue(), 401 404 latvalue_ = this->latvalue.getValue(); … … 403 406 if (this->data_dim.getValue() == 2) 404 407 { 405 StdSize dn = this->ni.getValue() *this->nj.getValue();408 StdSize dn = this->ni.getValue() * this->nj.getValue(); 406 409 lonvalue_->resize(boost::extents[dn]); 407 410 latvalue_->resize(boost::extents[dn]); … … 424 427 } 425 428 } 426 427 429 } 428 430 else … … 560 562 void CDomain::completeMask(void) 561 563 { 562 this->local_mask->resize(boost::extents[ ni.getValue()][nj.getValue()]);564 this->local_mask->resize(boost::extents[zoom_ni_loc.getValue()][zoom_nj_loc.getValue()]); 563 565 } 564 566 -
XMLIO_V2/dev/dev_rv/src/xmlio/node/grid.cpp
r184 r185 383 383 } 384 384 385 StdOFStream ofs(this->getId().c_str());386 for (StdSize h = 0; h < storeIndex_srv->size(); h++)387 {388 ofs << "(" << (*storeIndex_srv)[h] << ";"389 << (*out_i_index_srv)[h] << ","390 << (*out_j_index_srv)[h] << ","391 << (*out_l_index_srv)[h] << ")" << std::endl;392 }393 ofs.close();385 //~ StdOFStream ofs(this->getId().c_str()); 386 //~ for (StdSize h = 0; h < storeIndex_srv->size(); h++) 387 //~ { 388 //~ ofs << "(" << (*storeIndex_srv)[h] << ";" 389 //~ << (*out_i_index_srv)[h] << "," 390 //~ << (*out_j_index_srv)[h] << "," 391 //~ << (*out_l_index_srv)[h] << ")" << std::endl; 392 //~ } 393 //~ ofs.close(); 394 394 395 395 } … … 401 401 ARRAY(double, 1) storedServer) const 402 402 { 403 if ((this->storeIndex.size() 403 if ((this->storeIndex.size()-1 ) != storedClient.size()) 404 404 ERROR("CGrid::inputFieldServer(...)", 405 405 << "[ Nombre de tableau attendu = " << (this->storeIndex.size()-1) << ", "
Note: See TracChangeset
for help on using the changeset viewer.