Changeset 379 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 10/22/12 13:47:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r369 r379 187 187 void CField::writeField(void) 188 188 { 189 // if (! grid->domain->isEmpty() || getRelFile()->type.getValue()=="one_file")190 if (! grid->domain->isEmpty() || getRelFile()->type == CFile::type_attr::one_file)191 {192 getRelFile()->checkFile();193 this->incrementNStep();194 getRelFile()->getDataOutput()->writeFieldData(CField::get(this));195 }189 if (! getRelFile()->allDomainEmpty ) 190 if (! grid->domain->isEmpty() || getRelFile()->type == CFile::type_attr::one_file) 191 { 192 getRelFile()->checkFile(); 193 this->incrementNStep(); 194 getRelFile()->getDataOutput()->writeFieldData(CField::get(this)); 195 } 196 196 } 197 197 //---------------------------------------------------------------- … … 411 411 const CDuration toffset = this->freq_operation - freq_offset_ - context->getCalendar()->getTimeStep(); 412 412 *this->last_operation = *this->last_operation - toffset; 413 cout<<operation<<endl ; 414 413 415 414 #define DECLARE_FUNCTOR(MType, mtype) \ 416 415 if (operation.getValue().compare(#mtype) == 0) \
Note: See TracChangeset
for help on using the changeset viewer.