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