48 pointToPoint::typeName,
49 "\n Usage: pointToPoint <pointSet>\n\n" 50 " Select all points in the pointSet\n\n" 63 names_(
one{}, setName)
70 const dictionary&
dict 73 topoSetPointSource(
mesh),
77 if (!
dict.readIfPresent(
"sets", names_))
91 topoSetPointSource(
mesh),
108 Info<<
" Adding all elements of pointSet " 112 for (
const word& setName : names_)
114 pointSet loadedSet(mesh_, setName);
116 set.addSet(loadedSet);
123 Info<<
" Removing all elements of pointSet " 127 for (
const word& setName : names_)
129 pointSet loadedSet(mesh_, setName);
131 set.subtractSet(loadedSet);
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points...
void resize(const label len)
Adjust allocated size of list.
Create a new set and ADD elements to it.
Add elements to current set.
constexpr char nl
The newline '\n' character (0x0a)
T & first()
Access first element of the list, position [0].
Macros for easy insertion into run-time selection tables.
pointToPoint(const polyMesh &mesh, const word &setName)
Construct from components.
A class for handling words, derived from Foam::string.
setAction
Enumeration defining various actions.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
defineTypeNameAndDebug(combustionModel, 0)
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)
Mesh consisting of general polyhedral cells.
A class representing the concept of 1 (one) that can be used to avoid manipulating objects known to b...
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.