virtual sourceType setType() const
sourceType
Enumeration defining the types of sources.
virtual ~pointToCell()
Destructor.
A class for handling words, derived from string.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Class with constructor to add usage string to table.
A topoSetSource to select cells based on usage of points.
pointAction
Enumeration defining the valid options.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Mesh consisting of general polyhedral cells.
static const NamedEnum< pointAction, 2 > pointActionNames_
TypeName("pointToCell")
Runtime type information.
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).
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.
void combine(topoSet &set, const bool add) const
Depending on point-to-cell option add to or delete from cellSet.
static addToUsageTable usage_
Add usage string.
pointAction option_
Option.
pointToCell(const polyMesh &mesh, const word &setName, const pointAction option)
Construct from components.
word setName_
Name of set to use.