Ignore:
Timestamp:
04/28/11 10:53:26 (13 years ago)
Author:
hozdoba
Message:
 
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  
    398398   void CDomain::completeLonLat(void) 
    399399   { 
     400      //ARRAY_CREATE(value, valuetype, numdims, extent)// todo 
     401      //ARRAY_CREATE(value, valuetype, numdims, extent) 
     402       
    400403      ARRAY(double, 1) lonvalue_ = this->lonvalue.getValue(), 
    401404                       latvalue_ = this->latvalue.getValue(); 
     
    403406      if (this->data_dim.getValue() == 2) 
    404407      { 
    405          StdSize dn = this->ni.getValue()*this->nj.getValue(); 
     408         StdSize dn = this->ni.getValue() * this->nj.getValue(); 
    406409         lonvalue_->resize(boost::extents[dn]); 
    407410         latvalue_->resize(boost::extents[dn]); 
     
    424427            } 
    425428         }    
    426           
    427429      } 
    428430      else 
     
    560562   void CDomain::completeMask(void) 
    561563   { 
    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()]); 
    563565   } 
    564566 
  • XMLIO_V2/dev/dev_rv/src/xmlio/node/grid.cpp

    r184 r185  
    383383      } 
    384384       
    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(); 
    394394       
    395395   } 
     
    401401                           ARRAY(double, 1)  storedServer) const 
    402402   { 
    403       if ((this->storeIndex.size() -1 ) != storedClient.size()) 
     403      if ((this->storeIndex.size()-1 ) != storedClient.size()) 
    404404         ERROR("CGrid::inputFieldServer(...)", 
    405405                << "[ Nombre de tableau attendu = " << (this->storeIndex.size()-1) << ", " 
Note: See TracChangeset for help on using the changeset viewer.