Go to the documentation of this file.
46 #ifndef sphereToPoint_H
47 #define sphereToPoint_H
62 public topoSetPointSource
68 static addToUsageTable usage_;
82 void combine(topoSet& set,
const bool add)
const;
99 const scalar innerRadius = 0
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.
const polyMesh & mesh() const
Reference to the mesh.
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).
Base class of a topoSet source 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 based on mesh points inside sphere.
vector point
Point is a vector.