Go to the documentation of this file.
35 #ifndef cylinderToCell_H
36 #define cylinderToCell_H
sourceType
Enumeration defining the types of sources.
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 ~cylinderToCell()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void combine(topoSet &set, const bool add) const
vector p2_
Second point on cylinder axis.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
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....
static addToUsageTable usage_
Add usage string.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
TypeName("cylinderToCell")
Runtime type information.
Base class of a source for a topoSet.
virtual sourceType setType() const
cylinderToCell(const polyMesh &mesh, const vector &p1, const vector &p2, const scalar radius)
Construct from components.
vector p1_
First point on cylinder axis.
A topoSetSource to select cells based on cell centres inside a cylinder.