Changeset 952
- Timestamp:
- 09/26/16 16:26:38 (8 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/io/nc4_data_output.cpp
r931 r952 1908 1908 CGrid* grid = field->grid; 1909 1909 1910 if (field->getNStep()<1) return ; 1911 1910 1912 if (!grid->doGridHaveDataToWrite()) 1911 1913 if (SuperClass::type == MULTI_FILE || !isCollective) return; -
XIOS/trunk/src/node/field.cpp
r934 r952 434 434 } 435 435 436 StdSizeCField::getNStep(void) const436 int CField::getNStep(void) const 437 437 { 438 438 return this->nstep; … … 451 451 } 452 452 453 void CField::resetNStep( StdSizenstep /*= 0*/)453 void CField::resetNStep(int nstep /*= 0*/) 454 454 { 455 455 this->nstep = nstep; -
XIOS/trunk/src/node/field.hpp
r887 r952 81 81 82 82 public: 83 StdSizegetNStep(void) const;83 int getNStep(void) const; 84 84 85 85 template <int N> void getData(CArray<double, N>& _data) const; … … 90 90 void setRelFile(CFile* _file); 91 91 void incrementNStep(void); 92 void resetNStep( StdSizenstep = 0);92 void resetNStep(int nstep = 0); 93 93 void resetNStepMax(); 94 94 … … 189 189 190 190 bool written; //<! Was the field written at least once 191 StdSizenstep, nstepMax;191 int nstep, nstepMax; 192 192 bool isEOF; 193 193 CDate lastlast_Write_srv, last_Write_srv, last_operation_srv; -
XIOS/trunk/src/node/file.cpp
r920 r952 243 243 allDomainEmpty = true; 244 244 245 if (!record_offset.isEmpty() && record_offset < 0)246 ERROR("void CFile::initFile(void)",247 "Invalid 'record_offset', this attribute cannot be negative.");248 const size_t recordOffset = record_offset.isEmpty() ? 0 : record_offset;245 // if (!record_offset.isEmpty() && record_offset < 0) 246 // ERROR("void CFile::initFile(void)", 247 // "Invalid 'record_offset', this attribute cannot be negative."); 248 const int recordOffset = record_offset.isEmpty() ? 0 : record_offset; 249 249 250 250 set<CAxis*> setAxis;
Note: See TracChangeset
for help on using the changeset viewer.