Go to the documentation of this file.
114 #ifndef faceZoneToCell_H
115 #define faceZoneToCell_H
131 public topoSetCellSource
146 static const Enum<faceAction> faceActionNames_;
149 static addToUsageTable usage_;
152 wordRes zoneMatcher_;
168 void combine(topoSet&
set,
const bool add)
const;
faceZoneToCell(const polyMesh &mesh, const wordRes &zoneSelector, const faceAction option)
Construct from mesh, zones selector and selection option.
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
setAction
Enumeration defining the valid actions.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
const labelIOList & zoneIDs
Mesh consisting of general polyhedral cells.
virtual ~faceZoneToCell()=default
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
TypeName("faceZoneToCell")
Runtime type information.
General set of labels of mesh quantity (points, cells, faces).
faceAction
Enumeration defining the valid options.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Base class of a source for a topoSet.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
A List of wordRe with additional matching capabilities.
const wordRes & zones() const noexcept
Return the current zones selector.
const polyMesh & mesh() const noexcept
Reference to the mesh.
A topoSetCellSource to select cells based on master or slave side of given faceZone(s).
UList< label > labelUList
A UList of labels.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.