Go to the documentation of this file.
49 "\n Usage: faceToFace <faceSet>\n\n"
50 " Select all faces in the faceSet\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 faceSet "
112 for (
const word& setName : names_)
114 faceSet loadedSet(mesh_, setName);
119 else if (action == topoSetSource::SUBTRACT)
123 Info<<
" Removing all elements of faceSet "
127 for (
const word& setName : names_)
129 faceSet loadedSet(mesh_, setName);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
A class for handling words, derived from Foam::string.
Class with constructor to add usage string to table.
faceToFace(const polyMesh &mesh, const word &setName)
Construct from components.
A class representing the concept of 1 (one), which can be used to avoid manipulating objects that are...
setAction
Enumeration defining the valid actions.
Base class of a topoSet source for selecting faces.
Mesh consisting of general polyhedral cells.
virtual void addSet(const topoSet &set)
Add elements present in set.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
messageStream Info
Information stream (uses stdout - output is on the master only)
virtual void subtractSet(const topoSet &set)
Subtract elements present in set.
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.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.
defineTypeNameAndDebug(combustionModel, 0)