39 #ifndef Foam_pointZoneSet_H 40 #define Foam_pointZoneSet_H 121 virtual void invert(
const label maxLen);
147 const bool writeOnProc
writeOption
Enumeration defining write preferences.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
const word & name() const noexcept
Return the object name.
Cell-face mesh analysis engine.
TypeName("pointZoneSet")
Runtime type information.
A simple container for options an IOstream can normally have.
Ignore writing from objectRegistry::writeObject()
void updateSet()
Sort addressing and make pointSet part consistent with addressing.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
label size() const noexcept
The number of elements in table.
virtual void addSet(const topoSet &set)
Add elements present in set.
A class for handling words, derived from Foam::string.
virtual ~pointZoneSet()=default
Destructor.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
virtual void subtractSet(const topoSet &set)
Subtract elements present in set.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
General set of labels of mesh quantity (points, cells, faces).
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc) const
Write pointZone using stream options.
const labelList & addressing() const
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
virtual void invert(const label maxLen)
Invert contents.
Mesh consisting of general polyhedral cells.
virtual void sync(const polyMesh &mesh)
Sync pointZoneSet across coupled patches.
Like pointSet but -reads data from pointZone -updates pointZone when writing.
pointZoneSet(const polyMesh &mesh, const word &name, IOobjectOption::readOption rOpt=IOobjectOption::MUST_READ, IOobjectOption::writeOption wOpt=IOobjectOption::NO_WRITE)
Construct from objectRegistry and name.
readOption
Enumeration defining read preferences.