84#ifndef Foam_fa_faceSetOption_H
85#define Foam_fa_faceSetOption_H
169 const word& modelType,
238#include "faceSetOptionI.H"
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Intermediate abstract class for handling face-set options for the derived faOptions.
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 setFaceSelection()
Set face selection based on user input selection mode.
virtual ~faceSetOption()=default
Destructor.
void setSelection(const dictionary &dict)
Set face selection name from dictionary input.
const wordRe & zoneName() const noexcept
scalar A_
Sum of face area.
selectionModeType
Enumeration for selection mode types.
selectionModeType selectionMode() const noexcept
Return const access to the face selection mode.
virtual bool read(const dictionary &dict)
Read source dictionary.
bool useSubMesh() const noexcept
True if sub-selection should be used.
scalar duration_
Duration.
scalar timeStart_
Time start.
virtual bool isActive()
Is the source active?
TypeName("faceSetOption")
Runtime type information.
wordRe zoneName_
Name of zone for (volume) "faceZone" selection.
selectionModeType selectionMode_
Face selection mode.
const labelList & faces() const noexcept
Return const access to the face selection.
static const Enum< selectionModeType > selectionModeTypeNames_
List of selection mode type names.
scalar A() const noexcept
Return const access to the total face area.
bool inTimeLimits(const scalar timeValue) const
Return true if within time limits.
void setArea()
Recalculate the area.
Base abstract class for handling finite area options (i.e. faOption).
const word & name() const noexcept
Return const access to the source name.
const fvPatch & patch() const noexcept
Return const access to fvPatch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.