49 #ifndef regionToCell_H 50 #define regionToCell_H 74 static addToUsageTable usage_;
100 void unselectOutsideRegions(
boolList& selectedCell)
const;
103 void shrinkRegions(
boolList& selectedCell)
const;
107 void erode(
boolList& selectedCell)
const;
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual sourceType setType() const
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.