43 faceZoneToFaceZone::typeName,
44 "\n Usage: faceZoneToFaceZone <faceZone>\n\n" 45 " Select all faces in the faceZone\n\n" 69 setName_(dict.
lookup(
"zone"))
98 if (!isA<faceZoneSet>(
set))
101 <<
"Operation only allowed on a faceZoneSet." <<
endl;
109 Info<<
" Adding all faces from faceZone " << setName_ <<
" ..." 122 newAddressing.append(loadedSet.
addressing()[i]);
123 newFlipMap.append(loadedSet.
flipMap()[i]);
132 Info<<
" Removing all faces from faceZone " << setName_ <<
" ..." 146 newFlipMap.append(fSet.
flipMap()[i]);
const boolList & flipMap() 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.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
bool found(const Key &) const
Return true if hashedEntry is found in table.
A class for handling words, derived from string.
setAction
Enumeration defining the valid actions.
virtual ~faceZoneToFaceZone()
Destructor.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
void updateSet()
Sort addressing and make faceSet part consistent with addressing.
Like faceSet but -reads data from faceZone -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.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Mesh consisting of general polyhedral cells.
const labelList & addressing() const
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.