35 #ifndef sphereToCell_H 36 #define sphereToCell_H 66 void combine(
topoSet&
set,
const bool add)
const;
A topoSetSource to select cells based on cell centres inside sphere.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~sphereToCell()
Destructor.
Base class of a source for a topoSet.
const polyMesh & mesh() const
sphereToCell(const polyMesh &mesh, const vector ¢re, const scalar radius)
Construct from components.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
setAction
Enumeration defining the valid actions.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
TypeName("sphereToCell")
Runtime type information.
General set of labels of mesh quantity (points, cells, faces).
virtual sourceType setType() const
sourceType
Enumeration defining the types of sources.
Mesh consisting of general polyhedral cells.