Go to the documentation of this file.
61 labelToFace::typeName,
62 "\n Usage: labelToFace (i0 i1 .. in)\n\n"
63 " Select faces by label\n\n"
87 labels_(std::move(labels))
114 check(labels_,
mesh.nFaces());
126 if (action == topoSetSource::ADD || action == topoSetSource::NEW)
130 Info<<
" Adding faces mentioned in dictionary"
134 addOrDelete(set, labels_,
true);
136 else if (action == topoSetSource::SUBTRACT)
140 Info<<
" Removing faces mentioned dictionary"
144 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.
Base class of a topoSet source for selecting faces.
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)
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
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.
defineTypeNameAndDebug(combustionModel, 0)
A topoSetFaceSource to select faces given explicitly provided face labels.
labelToFace(const polyMesh &mesh, const labelList &labels)
Construct from components, copying labels.