49 "\n Usage: cellToCell <cellSet>\n\n" 50 " Select all cells in the cellSet\n\n" 71 const dictionary&
dict 87 names_(
Foam::
one{}, word(checkIs(is))),
104 Info<<
" Adding all elements of cell " 105 << (isZone_ ?
"zones: " :
"sets: ")
109 for (
const word& setName : names_)
113 set.addSet(mesh_.cellZones()[setName]);
118 set.addSet(loadedSet);
126 Info<<
" Removing all elements of cell " 127 << (isZone_ ?
"zones: " :
"sets: ")
131 for (
const word& setName : names_)
135 set.subtractSet(mesh_.cellZones()[setName]);
140 set.subtractSet(loadedSet);
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)...
constexpr char nl
The newline '\n' character (0x0a)
cellToCell(const polyMesh &mesh, const word &setName)
Construct from components.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells...
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
A class for handling words, derived from Foam::string.
setAction
Enumeration defining various actions.
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
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.
Do not request registration (bool: false)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
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.