36 #ifndef pointZoneSet_H
37 #define pointZoneSet_H
148 const bool write =
true
bool set(const label &key)
Same as insert (cannot overwrite nil content)
readOption
Enumeration defining the read options.
const word & name() const
Return name.
writeOption
Enumeration defining the write options.
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,...
Like pointSet but -reads data from pointZone -updates pointZone when writing.
virtual ~pointZoneSet()
Destructor.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
pointZoneSet(const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
Construct from objectRegistry and name.
virtual void invert(const label maxLen)
Invert contents. (insert all members 0..maxLen-1 which were not in.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write=true) const
Write pointZone.
virtual void deleteSet(const topoSet &set)
Delete elements present in set.
virtual void sync(const polyMesh &mesh)
Sync pointZoneSet across coupled patches.
TypeName("pointZoneSet")
Runtime type information.
virtual void addSet(const topoSet &set)
Add elements present in set.
const labelList & addressing() const
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
virtual void topoChange(const polyTopoChangeMap &map)
Update any stored data for new labels.
void updateSet()
Sort addressing and make pointSet part consistent with addressing.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Cell-face mesh analysis engine.
virtual bool write(const bool write=true) const
Write using setting from DB.
General set of labels of mesh quantity (points, cells, faces).
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.