38 #ifndef Foam_cellZoneSet_H 39 #define Foam_cellZoneSet_H 120 virtual void invert(
const label maxLen);
146 const bool writeOnProc
writeOption
Enumeration defining write preferences.
const word & name() const noexcept
Return the object name.
Cell-face mesh analysis engine.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
TypeName("cellZoneSet")
Runtime type information.
Like cellSet but -reads data from cellZone -updates cellZone when writing.
virtual void addSet(const topoSet &set)
Add elements present in set.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc) const
Write cellZone using stream options.
A simple container for options an IOstream can normally have.
Ignore writing from objectRegistry::writeObject()
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
label size() const noexcept
The number of elements in table.
A class for handling words, derived from Foam::string.
void updateSet()
Sort addressing and make cellSet part consistent with addressing.
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...
virtual void invert(const label maxLen)
Invert contents.
OBJstream os(runTime.globalPath()/outputName)
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).
A collection of cell labels.
const labelList & addressing() const
virtual ~cellZoneSet()=default
Destructor.
Mesh consisting of general polyhedral cells.
cellZoneSet(const polyMesh &mesh, const word &name, IOobjectOption::readOption rOpt=IOobjectOption::MUST_READ, IOobjectOption::writeOption wOpt=IOobjectOption::NO_WRITE)
Construct from objectRegistry and name.
virtual void sync(const polyMesh &mesh)
Sync cellSet across coupled patches; update cellZone from cellSet.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
readOption
Enumeration defining read preferences.