Go to the documentation of this file.
35 #ifndef nearestToCell_H
36 #define nearestToCell_H
nearestToCell(const polyMesh &mesh, const pointField &points)
Construct from components.
sourceType
Enumeration defining the types of sources.
static addToUsageTable usage_
Add usage string.
Class with constructor to add usage string to table.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
virtual sourceType setType() const
Pre-declare SubField and related Field type.
A topoSetSource to select cells nearest to points.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual ~nearestToCell()
Destructor.
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.
TypeName("nearestToCell")
Runtime type information.
pointField points_
Points to select nearest to.
void combine(topoSet &set, const bool add) const