Go to the documentation of this file.
39 #ifndef pointZoneSet_H
40 #define pointZoneSet_H
121 virtual void invert(
const label maxLen);
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 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.
virtual void sync(const polyMesh &mesh)
Sync pointZoneSet across coupled patches.
virtual bool set(const label id)
Set an index.
The IOstreamOption is a simple container for options an IOstream can normally have.
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 bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write pointZone using stream options.
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.
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.