Go to the documentation of this file.
85 #ifndef nearestToPoint_H
86 #define nearestToPoint_H
101 public topoSetPointSource
106 static addToUsageTable usage_;
114 void combine(topoSet&
set,
const bool add)
const;
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
vectorField pointField
pointField is a vectorField.
void set(List< bool > &bools, const labelRange &range)
A topoSetPointSource to select points nearest to given points.
Mesh consisting of general polyhedral cells.
TypeName("nearestToPoint")
Generic templated 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)
General set of labels of mesh quantity (points, cells, faces).
The topoSetPointSource is a intermediate class for handling topoSet sources 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 ~nearestToPoint()=default
const polyMesh & mesh() const noexcept