61 labelToPoint::typeName,
62 "\n Usage: labelToPoint (i0 i1 .. in)\n\n" 63 " Select points by label\n\n" 87 labels_(
std::move(labels))
126 Info<<
" Adding points mentioned in dictionary ..." <<
endl;
129 addOrDelete(
set, labels_,
true);
135 Info<<
" Removing points mentioned in dictionary ..." <<
endl;
138 addOrDelete(
set, labels_,
false);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points...
label nPoints() const noexcept
Number of mesh points.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Create a new set and ADD elements to it.
Add elements to current set.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
labelToPoint(const polyMesh &mesh, const labelList &labels)
Construct from components, copying labels.
Macros for easy insertion into run-time selection tables.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
const polyMesh & mesh() const noexcept
Reference to the mesh.
setAction
Enumeration defining various actions.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Subtract elements from current set.
Class with constructor to add usage string to table.
messageStream Info
Information stream (stdout output on master, null elsewhere)
static bool check(labelList &list, const label maxLabel)
Detect and remove any values less than 0 or ge maxLabel.
Mesh consisting of general polyhedral cells.
A topoSetPointSource to select points based on explicitly given point labels.