Go to the documentation of this file.
36 #ifndef regionToFace_H
37 #define regionToFace_H
41 #include "indirectPrimitivePatch.H"
93 const point& nearPoint
word setName_
Name of set to use.
sourceType
Enumeration defining the types of sources.
TypeName("regionToFace")
Runtime type information.
A class for handling words, derived from string.
Class with constructor to add usage string to table.
setAction
Enumeration defining the valid actions.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
const polyMesh & mesh() const
Mesh consisting of general polyhedral cells.
static addToUsageTable usage_
Add usage string.
virtual sourceType setType() const
regionToFace(const polyMesh &mesh, const word &setName, const point &nearPoint)
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.
A subset of mesh faces organised as a primitive patch.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
General set of labels of mesh quantity (points, cells, faces).
A topoSetSource to select faces belonging to topological connected region (that contains given point)
void markZone(const indirectPrimitivePatch &patch, const label procI, const label faceI, const label zoneI, labelList &faceZone) const
Walk edge-face-edge.
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)
Base class of a source for a topoSet.
point nearPoint_
Coordinate that is nearest/on connected region.
virtual ~regionToFace()
Destructor.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void combine(topoSet &set, const bool add) const
A list of faces which address into the list of points.