91#ifndef Foam_cylinderToCell_H
92#define Foam_cylinderToCell_H
107 public topoSetCellSource
112 static addToUsageTable usage_;
129 void combine(topoSet& set,
const bool add)
const;
139 const polyMesh&
mesh,
141 const bool mandatoryInnerRadius
156 const polyMesh&
mesh,
160 const scalar innerRadius = 0
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A topoSetCellSource to select all cells whose cell centre inside a given bounding cylinder or cylinde...
TypeName("cylinderToCell")
Runtime type information.
cylinderToCell(const polyMesh &mesh, Istream &is, const bool mandatoryInnerRadius)
Construct from Istream with mandatory inner radius.
virtual ~cylinderToCell()=default
Destructor.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
Class with constructor to add usage string to table.
setAction
Enumeration defining various actions.
const polyMesh & mesh() const noexcept
Reference to the mesh.
General set of labels of mesh quantity (points, cells, faces).
vector point
Point is a vector.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.