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))
109 <<
"Operation only allowed on a faceZoneSet." <<
endl;
117 Info<<
" Adding all faces from faceZone " << setName_ <<
" ..." 130 newAddressing.append(loadedSet.
addressing()[i]);
131 newFlipMap.append(loadedSet.
flipMap()[i]);
140 Info<<
" Removing all faces from faceZone " << setName_ <<
" ..." 154 newFlipMap.append(fSet.
flipMap()[i]);
const labelList & addressing() const
#define forAll(list, i)
Loop across all elements in list.
faceZoneToFaceZone(const polyMesh &mesh, const word &setName)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void size(const label)
Override size to be inconsistent with allocated storage.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const boolList & flipMap() const
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 &) const
A class for handling words, derived from string.
setAction
Enumeration defining the valid actions.
virtual ~faceZoneToFaceZone()
Destructor.
bool found(const Key &) const
Return true if hashedEntry is found in table.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
void updateSet()
Sort addressing and make faceSet part consistent with addressing.
Like faceSet but updates faceZone when writing.
General set of labels of mesh quantity (points, cells, faces).
#define WarningInFunction
Report a warning using Foam::Warning.
Class with constructor to add usage string to table.
Mesh consisting of general polyhedral cells.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.