Go to the documentation of this file.
86 #ifndef sphereToPoint_H
87 #define sphereToPoint_H
102 public topoSetPointSource
107 static addToUsageTable usage_;
121 void combine(topoSet&
set,
const bool add)
const;
135 const polyMesh&
mesh,
138 const scalar innerRadius = 0
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
sphereToPoint(const polyMesh &mesh, const point &origin, const scalar radius, const scalar innerRadius=0)
Construct from components.
setAction
Enumeration defining the valid actions.
Mesh consisting of general polyhedral cells.
TypeName("sphereToPoint")
Runtime type information.
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).
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points.
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 ~sphereToPoint()=default
Destructor.
A topoSetPointSource to select points which are inside a given bounding sphere.
const polyMesh & mesh() const noexcept
Reference to the mesh.
vector point
Point is a vector.