48 faceZoneToFaceZone::typeName,
49 "\n Usage: faceZoneToFaceZone <faceZone>\n\n" 50 " Select all faces in the faceZone\n\n" 76 setName_(dict.
lookup(
"zone"))
106 if (!isA<faceZoneSet>(
set))
110 "faceZoneToFaceZone::applyToSet(const topoSetSource::setAction" 112 ) <<
"Operation only allowed on a faceZoneSet." <<
endl;
120 Info<<
" Adding all faces from faceZone " << setName_ <<
" ..." 133 newAddressing.append(loadedSet.
addressing()[i]);
134 newFlipMap.append(loadedSet.
flipMap()[i]);
143 Info<<
" Removing all faces from faceZone " << setName_ <<
" ..." 157 newFlipMap.append(fSet.
flipMap()[i]);
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
General set of labels of mesh quantity (points, cells, faces).
faceZoneToFaceZone(const polyMesh &mesh, const word &setName)
Construct from components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
const labelList & addressing() const
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
setAction
Enumeration defining the valid actions.
Macros for easy insertion into run-time selection tables.
Like faceSet but updates faceZone when writing.
Mesh consisting of general polyhedral cells.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Base class of a source for a topoSet.
const boolList & flipMap() const
virtual ~faceZoneToFaceZone()
Destructor.
Class with constructor to add usage string to table.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
bool found(const Key &) const
Return true if hashedEntry is found in table.
defineTypeNameAndDebug(combustionModel, 0)
void updateSet()
Sort addressing and make faceSet part consistent with addressing.