Go to the documentation of this file.
35 #ifndef nearestToPoint_H
36 #define nearestToPoint_H
sourceType
Enumeration defining the types of sources.
void combine(topoSet &set, const bool add) const
Class with constructor to add usage string to table.
A topoSetSource to select points nearest to points.
setAction
Enumeration defining the valid actions.
pointField points_
Points to select nearest to.
const polyMesh & mesh() const
Mesh consisting of general polyhedral cells.
virtual ~nearestToPoint()
Destructor.
TypeName("nearestToPoint")
Runtime type information.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
nearestToPoint(const polyMesh &mesh, const pointField &points)
Construct from components.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Base class of a source for a topoSet.
virtual sourceType setType() const
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
static addToUsageTable usage_
Add usage string.