146 const bool write =
true virtual ~cellZoneSet()
Destructor.
writeOption
Enumeration defining the write options.
const word & name() const
Return name.
cellZoneSet(const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
Construct from objectRegistry and name.
Cell-face mesh analysis engine.
TypeName("cellZoneSet")
Runtime type information.
Like cellSet but -reads data from cellZone -updates cellZone when writing.
virtual void addSet(const topoSet &set)
Add elements present in set.
readOption
Enumeration defining the read options.
virtual void deleteSet(const topoSet &set)
Delete elements present in set.
virtual void topoChange(const polyTopoChangeMap &map)
Update any stored data for new labels.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void updateSet()
Sort addressing and make cellSet part consistent with addressing.
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void invert(const label maxLen)
Invert contents. (insert all members 0..maxLen-1 which were not in.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
General set of labels of mesh quantity (points, cells, faces).
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
A collection of cell labels.
const labelList & addressing() const
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write=true) const
Write cellZone.
Mesh consisting of general polyhedral cells.
virtual void sync(const polyMesh &mesh)
Sync cellSet across coupled patches; update cellZone from cellSet.
virtual bool write(const bool write=true) const
Write using setting from DB.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.