Go to the documentation of this file.
47 #ifndef sphereToCell_H
48 #define sphereToCell_H
63 public topoSetCellSource
69 static addToUsageTable usage_;
83 void combine(topoSet& set,
const bool add)
const;
100 const scalar innerRadius = 0
sphereToCell(const polyMesh &mesh, const point &origin, const scalar radius, const scalar innerRadius=0)
Construct from components.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Reference to the mesh.
A topoSetCellSource to select cells based on cell centres inside 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
Destructor.
General set of labels of mesh quantity (points, cells, faces).
TypeName("sphereToCell")
Runtime type information.
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
Apply specified action to the topoSet.
Base class of a topoSet source for selecting cells.
vector point
Point is a vector.