51 #ifndef regionsToCell_H 52 #define regionsToCell_H 108 void unselectOutsideRegions(
boolList& selectedCell)
const;
111 void shrinkRegions(
boolList& selectedCell)
const;
115 void erode(
boolList& selectedCell)
const;
virtual ~regionsToCell()=default
Destructor.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells...
A class for handling words, derived from Foam::string.
const polyMesh & mesh() const noexcept
Reference to the mesh.
setAction
Enumeration defining various actions.
bool verbose() const noexcept
Get output verbosity.
TopoSetSource. Select cells belonging to topological connected region (that contains given points) ...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
General set of labels of mesh quantity (points, cells, faces).
regionsToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Construct from components.
TypeName("regionsToCell")
Runtime type information.
Class with constructor to add usage string to table.
Mesh consisting of general polyhedral cells.