Go to the documentation of this file.
101 #ifndef planeToFaceZone_H
102 #define planeToFaceZone_H
115 class planeToFaceZone
117 public topoSetFaceZoneSource
134 static addToUsageTable usage_;
137 static const Enum<faceAction> faceActionNames_;
151 void combine(faceZoneSet&
set,
const bool add)
const;
168 const polyMesh&
mesh,
169 const point& basePoint,
faceAction
Enumeration defining the valid options.
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
The topoSetFaceZoneSource is a intermediate class for handling topoSet sources for selecting face zon...
A topoSetSource to select faces based on the adjacent cell centres spanning a given plane....
setAction
Enumeration defining the valid actions.
planeToFaceZone()=delete
No default construct.
Mesh consisting of general polyhedral cells.
Select all faces that meet the criteria.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Select faces belong to the closest contiguous plane.
TypeName("planeToFaceZone")
Runtime type information.
Like faceSet but -reads data from faceZone -updates faceZone when writing.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Vector< scalar > vector
A scalar version of the templated Vector.
virtual ~planeToFaceZone()=default
Destructor.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Apply specified action to the topoSet.
const polyMesh & mesh() const noexcept
Reference to the mesh.
vector point
Point is a vector.