38 #ifndef Foam_faceZoneSet_H 39 #define Foam_faceZoneSet_H 134 virtual void invert(
const label maxLen);
160 const bool writeOnProc
writeOption
Enumeration defining write preferences.
const word & name() const noexcept
Return the object name.
Cell-face mesh analysis engine.
virtual void invert(const label maxLen)
Invert contents.
A simple container for options an IOstream can normally have.
Ignore writing from objectRegistry::writeObject()
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
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 writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
A class for handling words, derived from Foam::string.
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.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
TypeName("faceZoneSet")
Runtime type information.
OBJstream os(runTime.globalPath()/outputName)
const labelList & addressing() const noexcept
virtual void sync(const polyMesh &mesh)
Sync faceZoneSet across coupled patches.
faceZoneSet(const polyMesh &mesh, const word &name, IOobjectOption::readOption rOpt=IOobjectOption::MUST_READ, IOobjectOption::writeOption wOpt=IOobjectOption::NO_WRITE)
Construct from objectRegistry and name.
void updateSet()
Sort addressing and make faceSet part consistent with addressing.
Like faceSet but -reads data from faceZone -updates faceZone when writing.
General set of labels of mesh quantity (points, cells, faces).
virtual void addSet(const topoSet &set)
Add elements present in set.
virtual ~faceZoneSet()=default
Destructor.
Mesh consisting of general polyhedral cells.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc) const
Write faceZone using stream options.
const boolList & flipMap() const noexcept
readOption
Enumeration defining read preferences.