void combine(topoSet &set, const bool add) const
virtual ~nbrToCell()
Destructor.
sourceType
Enumeration defining the types of sources.
nbrToCell(const polyMesh &mesh, const label minNbrs)
Construct from components.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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).
virtual sourceType setType() const
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.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
A topoSetSource to select cells based on number of neighbouring cells (i.e. number of internal or cou...
static addToUsageTable usage_
Add usage string.
TypeName("nbrToCell")
Runtime type information.
label minNbrs_
Number of internal faces on cell.