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);
116 set.addSet(loadedSet);
119 else if (action == topoSetSource::SUBTRACT)
123 Info<<
" Removing all elements of faceSet "
127 for (
const word& setName : names_)
129 faceSet loadedSet(mesh_, setName);
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.
faceToFace(const polyMesh &mesh, const word &setName)
Construct from components.
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.
The topoSetFaceSource is a intermediate class for handling topoSet sources for selecting faces.
Mesh consisting of general polyhedral cells.
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 (stdout output on master, null elsewhere)
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::OutputAdaptor< Container, Delimiters > flatOutput(const Container &obj, Delimiters delim)
Global flatOutput() function with specified output delimiters.
defineTypeNameAndDebug(combustionModel, 0)