virtual void deleteSet(const topoSet &set)
Delete elements present in set.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
compressionType
Enumeration for the format of data in the stream.
void updateSet()
Sort addressing and make cellSet part consistent with addressing.
Mesh consisting of general polyhedral cells.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
virtual ~cellZoneSet()
Destructor.
virtual void addSet(const topoSet &set)
Add elements present in set.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
writeOption
Enumeration defining the write options.
virtual void invert(const label maxLen)
Invert contents. (insert all members 0..maxLen-1 which were not in.
const labelList & addressing() const
Like cellSet but updates cellZone when writing.
const word & name() const
Return name.
General set of labels of mesh quantity (points, cells, faces).
virtual void sync(const polyMesh &mesh)
Sync cellZoneSet across coupled patches.
A collection of cell labels.
cellZoneSet(const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
Construct from objectRegistry and name.
TypeName("cellZoneSet")
Runtime type information.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
readOption
Enumeration defining the read options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const
Write cellZone.
bool set(const Key &key)
Same as insert (cannot overwrite nil content)
streamFormat
Enumeration for the format of data in the stream.
Cell-face mesh analysis engine.