Changeset 1306
- Timestamp:
- 10/13/17 17:42:10 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/node/field.cpp
r1303 r1306 827 827 828 828 solveGridReference(); 829 grid->solveDomainAxisRefInheritance(true); // make it again to solve grid reading from file830 829 831 830 if (context->hasClient && !context->hasServer) … … 1578 1577 if (freq_op.isEmpty()) 1579 1578 { 1580 /*1581 if (!freq_offset.isEmpty())1582 ERROR("CField::checkAttributes(void)",1583 << "[ id = " << this->getId() << " , context = '" << CObjectFactory::GetCurrentContextId() << " ] "1584 << "Attribute freq_offset cannot be defined if attribute freq_op is not defined. "1585 << "Please define freq_op.") */1586 1579 if (operation.getValue()=="instant") 1587 {1588 1580 freq_op.setValue(file->output_freq.getValue()); 1589 if (freq_offset.isEmpty()) freq_offset.setValue(file->output_freq.getValue()-TimeStep);1590 }1591 1581 else 1592 {1593 1582 freq_op.setValue(TimeStep); 1594 if (freq_offset.isEmpty()) freq_offset.setValue(freq_op.getValue()-TimeStep); 1595 } 1596 } 1597 else 1598 { 1599 if (freq_offset.isEmpty()) 1600 freq_offset.setValue(freq_op.getValue()-TimeStep); 1601 } 1583 } 1584 if (freq_offset.isEmpty()) 1585 freq_offset.setValue(freq_op.getValue()-TimeStep); 1602 1586 } 1603 1587
Note: See TracChangeset
for help on using the changeset viewer.