39 #ifndef Foam_pointZoneSet_H 40 #define Foam_pointZoneSet_H 85 const label initialCapacity,
121 virtual void invert(
const label maxLen);
157 const bool writeOnProc
writeOption
Enumeration defining write preferences.
const word & name() const noexcept
Return the object name.
Cell-face mesh analysis engine.
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.
TypeNameNoDebug("pointZoneSet")
Runtime type information.
virtual void addSet(const labelUList &elems)
Add given elements to the 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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
const labelList & addressing() const noexcept
General set of labels of mesh quantity (points, cells, faces).
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc) const
Write pointZone using stream options.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
virtual void subtractSet(const labelUList &elems)
Subtract given elements from the set.
virtual void invert(const label maxLen)
Invert contents.
Mesh consisting of general polyhedral cells.
virtual void subset(const labelUList &elems)
Subset contents. Only elements present in both sets remain.
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.