Go to the documentation of this file.
61 labelToPoint::typeName,
62 "\n Usage: labelToPoint (i0 i1 .. in)\n\n"
63 " Select points by label\n\n"
87 labels_(std::move(labels))
110 check(labels_,
mesh.nPoints());
122 if (action == topoSetSource::ADD || action == topoSetSource::NEW)
126 Info<<
" Adding points mentioned in dictionary"
130 addOrDelete(set, labels_,
true);
132 else if (action == topoSetSource::SUBTRACT)
136 Info<<
" Removing points 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.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
A topoSetPointSource to select points based on explicitly given point labels.
Mesh consisting of general polyhedral cells.
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).
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points.
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.
labelToPoint(const polyMesh &mesh, const labelList &labels)
Construct from components, copying labels.
defineTypeNameAndDebug(combustionModel, 0)