49 #ifndef regionToCell_H 50 #define regionToCell_H 98 void unselectOutsideRegions(
boolList& selectedCell)
const;
101 void shrinkRegions(
boolList& selectedCell)
const;
105 void erode(
boolList& selectedCell)
const;
107 void combine(
topoSet&
set,
const bool add)
const;
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
virtual sourceType setType() const
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
virtual ~regionToCell()
Destructor.
regionToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Construct from components.
Base class of a source for a topoSet.
const polyMesh & mesh() const
A class for handling words, derived from string.
setAction
Enumeration defining the valid actions.
TypeName("regionToCell")
Runtime type information.
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).
sourceType
Enumeration defining the types of sources.
TopoSetSource. Select cells belonging to topological connected region (that contains given points) ...
Mesh consisting of general polyhedral cells.