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))
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)
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
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.
static void check(const int retVal, const char *what)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
messageStream Info
Information stream (stdout output on master, null elsewhere)
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.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
A topoSetCellSource to select cells based on explicitly given cell labels.
defineTypeNameAndDebug(combustionModel, 0)