Go to the documentation of this file.
96 #ifndef regionToCell_H
97 #define regionToCell_H
115 public topoSetCellSource
120 static addToUsageTable usage_;
146 void unselectOutsideRegions(
boolList& selectedCell)
const;
149 void shrinkRegions(
boolList& selectedCell)
const;
153 void erode(
boolList& selectedCell)
const;
155 void combine(topoSet&
set,
const bool add)
const;
169 const polyMesh&
mesh,
vectorField pointField
pointField is a vectorField.
A topoSetCellSource to select cells belonging to a topologically connected region (that contains give...
void set(List< bool > &bools, const labelRange &range)
A class for handling words, derived from Foam::string.
List< bool > boolList
A List of bools.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
bool verbose() const noexcept
Mesh consisting of general polyhedral cells.
regionToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Generic templated field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
General set of labels of mesh quantity (points, cells, faces).
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)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
const polyMesh & mesh() const noexcept
virtual ~regionToCell()=default