37 for (
const label facei :
faces_)
39 filtered[facei] =
field[facei];
68 (mesh_.time().value() >= timeStart_)
69 && (mesh_.time().value() <= (timeStart_ + duration_))
78 return selectionMode_;
85 return selectionNames_;
91 return (selectionNames_.empty() ?
wordRe::null : selectionNames_.first());
97 return selectionMode_ != selectionModeType::smAll;
115 scalar old(timeStart_);
123 scalar old(duration_);
scalar timeStart() const noexcept
Return const access to the time start.
const wordRes & selectionNames() const noexcept
Return const access to the selection names (set, zone or patch selection)
const wordRe & zoneName() const
Return const access to the first set/zone/patch name.
selectionModeType selectionMode() const noexcept
Return the face selection mode.
scalar A() const noexcept
Return const access to the total face area.
bool useSubMesh() const noexcept
True if sub-selection should be used.
A List of wordRe with additional matching capabilities.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings...
const labelList & faces() const noexcept
Return const access to the local finite-area face selection.
bool inTimeLimits(const scalar timeValue) const
Return true if within time limits.
scalar duration() const noexcept
Return const access to the duration.
selectionModeType selectionMode_
Face selection mode.
void subsetFilter(List< Type > &field) const
Zero all non-selected locations within field.
selectionModeType
Enumeration for selection mode types.
static const wordRe null
An empty wordRe.
labelList faces_
Set of faces to apply source to.
static constexpr const zero Zero
Global zero (0)