Changeset 1119 for XIOS/trunk/src/node
- Timestamp:
- 05/05/17 08:58:33 (7 years ago)
- Location:
- XIOS/trunk/src/node
- Files:
-
- 2 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 -
XIOS/trunk/src/node/field.hpp
r1017 r1119 97 97 98 98 public: 99 bool isActive( void) const;99 bool isActive(bool atCurrentTimestep = false) const; 100 100 bool hasOutputFile; 101 101
Note: See TracChangeset
for help on using the changeset viewer.