50 (mesh_.time().value() >= timeStart_)
51 && (mesh_.time().value() <= (timeStart_ + duration_))
59 return selectionMode_ != selectionModeType::smAll;
66 return selectionMode_;
73 return selectionNames_;
79 return (selectionNames_.empty() ?
wordRe::null : selectionNames_.first());
97 scalar old(timeStart_);
105 scalar old(duration_);
scalar timeStart() const noexcept
Return const access to the time start.
const labelList & cells() const noexcept
Return const access to the cell selection.
scalar duration() const noexcept
Return const access to the duration.
scalar V() const noexcept
Return const access to the total cell volume.
const wordRe & zoneName() const
Return const access to the first set/zone name.
A List of wordRe with additional matching capabilities.
bool inTimeLimits(const scalar timeValue) const
True if within time limits.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
selectionModeType
Enumeration for selection mode types.
selectionModeType selectionMode() const noexcept
Return the cell selection mode.
const wordRes & selectionNames() const noexcept
Return const access to the selection names (set or zone selection)
bool useSubMesh() const noexcept
True if sub-selection should be used.
scalar timeStart_
Start time of fvOption.
static const wordRe null
An empty wordRe.