Go to the documentation of this file.
86 #ifndef nearestToCell_H
87 #define nearestToCell_H
102 public topoSetCellSource
107 static addToUsageTable usage_;
115 void combine(topoSet&
set,
const bool add)
const;
vectorField pointField
pointField is a vectorField.
nearestToCell(const polyMesh &mesh, const pointField &points)
void set(List< bool > &bools, const labelRange &range)
Mesh consisting of general polyhedral cells.
Generic templated field type.
A topoSetCellSource to select cells whose cell centre nearest to given points.
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).
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
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)
TypeName("nearestToCell")
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
virtual ~nearestToCell()=default
const polyMesh & mesh() const noexcept