35 #ifndef nearestToCell_H 36 #define nearestToCell_H 57 static addToUsageTable usage_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("nearestToCell")
Runtime type information.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
nearestToCell(const polyMesh &mesh, const pointField &points)
Construct from components.
Base class of a source for a topoSet.
const polyMesh & mesh() const
setAction
Enumeration defining the valid actions.
virtual sourceType setType() const
A topoSetSource to select cells nearest to points.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
General set of labels of mesh quantity (points, cells, faces).
virtual ~nearestToCell()
Destructor.
sourceType
Enumeration defining the types of sources.
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const