37 for (
const label facei :
faces_)
39 filtered[facei] =
field[facei];
68 (mesh_.time().value() >= timeStart_)
123 scalar old(duration_);
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar timeStart() const noexcept
Return const access to the time start.
labelList faces_
Set of faces to apply source to.
scalar duration() const noexcept
Return const access to the duration.
void subsetFilter(List< Type > &field) const
Zero all non-selected locations within field.
wordRes selectionNames_
Face selection names (for set, zone or patch selections).
scalar A_
Sum of face area.
selectionModeType
Enumeration for selection mode types.
@ smAll
"all" finite-area faces
selectionModeType selectionMode() const noexcept
Return the face selection mode.
bool useSubMesh() const noexcept
True if sub-selection should be used.
scalar duration_
Duration.
scalar timeStart_
Time start.
const wordRe & zoneName() const
Return const access to the first set/zone/patch name.
selectionModeType selectionMode_
Face selection mode.
const labelList & faces() const noexcept
Return const access to the local finite-area face selection.
const wordRes & selectionNames() const noexcept
Return const access to the selection names (set, zone or patch selection).
scalar A() const noexcept
Return const access to the total face area.
bool inTimeLimits(const scalar timeValue) const
Return true if within time limits.
const fvMesh & mesh_
Reference to the mesh database.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
static const wordRe null
An empty wordRe.
A List of wordRe with additional matching capabilities.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0).