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;
117 void combine(
topoSet& set,
const bool add)
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
virtual ~regionsToCell()=default
Destructor.
TypeName("regionsToCell")
Runtime type information.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
regionsToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Construct from components.
topoSetCellSource(const polyMesh &mesh)
Construct from mesh.
Class with constructor to add usage string to table.
setAction
Enumeration defining various actions.
bool verbose() const noexcept
Get output verbosity.
const polyMesh & mesh() const noexcept
Reference to the mesh.
General set of labels of mesh quantity (points, cells, faces).
A class for handling words, derived from Foam::string.
void add(DimensionedField< scalar, GeoMesh > &result, const dimensioned< scalar > &dt1, const DimensionedField< scalar, GeoMesh > &f2)
List< bool > boolList
A List of bools.
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.