Go to the documentation of this file.
48 pointToPoint::typeName,
49 "\n Usage: pointToPoint <pointSet>\n\n"
50 " Select all points in the pointSet\n\n"
63 names_(
one{}, setName)
77 if (!
dict.readIfPresent(
"sets", names_))
80 dict.readEntry(
"set", names_.first());
92 names_(
one{},
word(checkIs(is)))
104 if (action == topoSetSource::ADD || action == topoSetSource::NEW)
108 Info<<
" Adding all elements of pointSet "
112 for (
const word& setName : names_)
116 set.addSet(loadedSet);
119 else if (action == topoSetSource::SUBTRACT)
123 Info<<
" Removing all elements of pointSet "
127 for (
const word& setName : names_)
131 set.subtractSet(loadedSet);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
A class for handling words, derived from Foam::string.
Class with constructor to add usage string to table.
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
setAction
Enumeration defining the valid actions.
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 (stdout output on master, null elsewhere)
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.
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
pointToPoint(const polyMesh &mesh, const word &setName)
Construct from components.
defineTypeNameAndDebug(combustionModel, 0)
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.