Go to the documentation of this file.
49 #ifndef regionToCell_H
50 #define regionToCell_H
TopoSetSource. Select cells belonging to topological connected region (that contains given points)
sourceType
Enumeration defining the types of sources.
A class for handling words, derived from string.
void markRegionFaces(const boolList &selectedCell, boolList ®ionFace) const
Mark faces inbetween selected and unselected elements.
const pointField insidePoints_
Coordinate(s) that is inside connected region.
boolList findRegions(const bool verbose, const regionSplit &) const
Determine for every disconnected region in the mesh whether.
void unselectOutsideRegions(boolList &selectedCell) const
Unselect regions not containing a locationInMesh.
Class with constructor to add usage string to table.
const label nErode_
Number of layers to erode.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Mesh consisting of general polyhedral cells.
regionToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const word setName_
Name of cellSet to keep to.
void erode(boolList &selectedCell) const
Erode a given number of layers from selectedCell. Remove any.
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).
virtual sourceType setType() const
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
void combine(topoSet &set, const bool add) const
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Base class of a source for a topoSet.
static addToUsageTable usage_
Add usage string.
void shrinkRegions(boolList &selectedCell) const
Unselect one layer of cells from selectedCell.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("regionToCell")
Runtime type information.
virtual ~regionToCell()
Destructor.