Go to the documentation of this file.
103 #ifndef patchToCell_H
104 #define patchToCell_H
120 public topoSetCellSource
125 static addToUsageTable usage_;
128 wordRes selectedPatches_;
133 void combine(topoSet&
set,
const bool add)
const;
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
patchToCell(const polyMesh &mesh, const wordRe &patchName)
Construct from components.
setAction
Enumeration defining the valid actions.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
TypeName("patchToCell")
Runtime type information.
Mesh consisting of general polyhedral cells.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
General set of labels of mesh quantity (points, cells, faces).
A topoSetCellSource to select cells associated with given patch(es).
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)
virtual ~patchToCell()=default
Destructor.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
A List of wordRe with additional matching capabilities.
const polyMesh & mesh() const noexcept
Reference to the mesh.