Go to the documentation of this file.
39 #ifndef pointZoneSet_H
40 #define pointZoneSet_H
virtual ~pointZoneSet()=default
Destructor.
label size() const noexcept
The number of elements in table.
Like pointSet but -reads data from pointZone -updates pointZone when writing.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
const word & name() const
Return name.
A class for handling words, derived from Foam::string.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool valid) const
Write pointZone.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
virtual void invert(const label maxLen)
Invert contents.
Mesh consisting of general polyhedral cells.
writeOption
Enumeration defining the write options.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Representation of a major/minor version number.
virtual void sync(const polyMesh &mesh)
Sync pointZoneSet across coupled patches.
virtual bool set(const label id)
Set an index.
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).
streamFormat
Data format (ascii | binary)
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.
TypeName("pointZoneSet")
Runtime type information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
readOption
Enumeration defining the read options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void subtractSet(const topoSet &set)
Subtract elements present in set.
pointZoneSet(const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
Construct from objectRegistry and name.
const labelList & addressing() const
void updateSet()
Sort addressing and make pointSet part consistent with addressing.
Cell-face mesh analysis engine.