Go to the documentation of this file.
87 #ifndef sphereToCell_H
88 #define sphereToCell_H
103 public topoSetCellSource
108 static addToUsageTable usage_;
122 void combine(topoSet&
set,
const bool add)
const;
136 const polyMesh&
mesh,
139 const scalar innerRadius = 0
void set(List< bool > &bools, const labelRange &range)
sphereToCell(const polyMesh &mesh, const point &origin, const scalar radius, const scalar innerRadius=0)
A topoSetCellSource to select cells based on cell centres inside a given bounding sphere.
Mesh consisting of general polyhedral cells.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~sphereToCell()=default
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 void applyToSet(const topoSetSource::setAction action, topoSet &set) const
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
const polyMesh & mesh() const noexcept
vector point
Point is a vector.