Go to the documentation of this file.
61 labelToCell::typeName,
62 "\n Usage: labelToCell (i0 i1 .. in)\n\n"
63 " Select cells by cellLabel\n\n"
87 labels_(std::move(labels))
110 check(labels_,
mesh.nCells());
122 if (action == topoSetSource::ADD || action == topoSetSource::NEW)
126 Info<<
" Adding cells mentioned in dictionary"
130 addOrDelete(set, labels_,
true);
132 else if (action == topoSetSource::SUBTRACT)
136 Info<<
" Removing cells mentioned in dictionary"
140 addOrDelete(set, labels_,
false);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Class with constructor to add usage string to table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
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)....
messageStream Info
Information stream (uses stdout - output is on the master only)
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
labelToCell(const polyMesh &mesh, const labelList &labels)
Construct from components, copying labels.
Base class of a topoSet source for selecting cells.
A topoSetCellSource to select cells based on explicitly given labels.
defineTypeNameAndDebug(combustionModel, 0)