Go to the documentation of this file.
90 #ifndef cylinderAnnulusToFace_H
91 #define cylinderAnnulusToFace_H
104 class cylinderAnnulusToFace
106 public topoSetFaceSource
111 static addToUsageTable usage_;
128 void combine(topoSet&
set,
const bool add)
const;
142 const polyMesh&
mesh,
146 const scalar innerRadius = 0
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
A topoSetFaceSource to select all faces whose face centre inside a given bounding cylinder annulus.
setAction
Enumeration defining the valid actions.
The topoSetFaceSource is a intermediate class for handling topoSet sources for selecting faces.
Mesh consisting of general polyhedral cells.
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
Apply specified action to the topoSet.
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)
virtual ~cylinderAnnulusToFace()=default
Destructor.
const polyMesh & mesh() const noexcept
Reference to the mesh.
vector point
Point is a vector.
TypeName("cylinderAnnulusToFace")
Runtime type information.
cylinderAnnulusToFace(const polyMesh &mesh, const point &point1, const point &point2, const scalar radius, const scalar innerRadius=0)
Construct from components.