Changeset 1119 for XIOS/trunk/src/node/field.cpp
- Timestamp:
- 05/05/17 08:58:33 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/field.cpp
r1018 r1119 518 518 //---------------------------------------------------------------- 519 519 520 bool CField::isActive(void) const 521 { 522 return (instantDataFilter != NULL); 520 bool CField::isActive(bool atCurrentTimestep /*= false*/) const 521 { 522 if (atCurrentTimestep && clientSourceFilter) 523 return clientSourceFilter->isDataExpected(CContext::getCurrent()->getCalendar()->getCurrentDate()); 524 else 525 return (instantDataFilter != NULL); 523 526 } 524 527
Note: See TracChangeset
for help on using the changeset viewer.