Changeset 321 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 02/23/12 14:57:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r314 r321 176 176 } 177 177 178 this->incrementNStep();179 178 *last_Write_srv = writeDate; 180 179 writeField() ; … … 184 183 void CField::writeField(void) 185 184 { 186 if (! grid->domain->isEmpty() || getRelFile()->type.getValue()=="one_file") 185 if (! grid->domain->isEmpty() || getRelFile()->type.getValue()=="one_file") 186 { 187 getRelFile()->checkFile(); 188 this->incrementNStep(); 187 189 getRelFile()->getDataOutput()->writeFieldData(CObjectFactory::GetObject<CField>(this)); 190 } 188 191 } 189 192 //---------------------------------------------------------------- … … 222 225 { 223 226 this->nstep++; 227 } 228 229 void CField::resetNStep(void) 230 { 231 this->nstep=0; 224 232 } 225 233
Note: See TracChangeset
for help on using the changeset viewer.