48 setToCellZone::typeName,
49 "\n Usage: setToCellZone <cellSet>\n\n" 50 " Select all cells in the cellSet.\n\n" 76 setName_(dict.
lookup(
"set"))
106 if (!isA<cellZoneSet>(
set))
110 "setToCellZone::applyToSet(const topoSetSource::setAction" 112 ) <<
"Operation only allowed on a cellZoneSet." <<
endl;
120 Info<<
" Adding all cells from cellSet " << setName_
131 label cellI = iter.key();
133 if (!fzSet.
found(cellI))
135 newAddressing.append(cellI);
144 Info<<
" Removing all cells from cellSet " << setName_
148 cellSet loadedSet(mesh_, setName_);
const labelList & addressing() const
Like cellSet but updates cellZone when writing.
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
General set of labels of mesh quantity (points, cells, faces).
virtual ~setToCellZone()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A collection of cell labels.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void updateSet()
Sort addressing and make cellSet part consistent with addressing.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
setToCellZone(const polyMesh &mesh, const word &setName)
Construct from components.
setAction
Enumeration defining the valid actions.
Macros for easy insertion into run-time selection tables.
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.
Class with constructor to add usage string to table.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
bool found(const Key &) const
Return true if hashedEntry is found in table.
defineTypeNameAndDebug(combustionModel, 0)