58 Ostream&
operator<<(Ostream&,
const faceZone&);
72 static const word labelsName_;
142 (name, dict, index, mz)
224 new faceZone(*
this, addr, fm, index, mz)
const Map< label > & faceLookupMap() const
Return map of local face indices.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void resetAddressing(const labelUList &, const boolList &)
Reset addressing and flip map (clearing demand-driven data)
virtual void writeDict(Ostream &) const
Write dictionary.
void calcFaceZonePatch() const
Build primitive patch.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~faceZone()
Destructor.
const boolList & flipMap() const
Return face flip map.
const labelList & masterCells() const
Return labels of master cells (cells next to the master face.
virtual bool checkParallelSync(const bool report=false) const
Check whether all procs have faces synchronised. Return.
label whichFace(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
labelList * mePtr_
Global edge addressing.
const meshFaceZones & meshZones_
Reference to zone list.
labelList * slaveCellsPtr_
Slave cell layer.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void movePoints(const pointField &)
Correct patch after moving points.
void calcCellLayers() const
Calculate master and slave face layer.
label index() const
Return the index of this zone in zone list.
A list of faces which address into the list of points.
A class for handling words, derived from string.
void operator=(const faceZone &)
Assignment to zone, clearing demand-driven data.
const labelList & meshEdges() const
Return global edge index for local edges.
void checkAddressing() const
Check addressing.
const word & name() const
Return name.
primitiveFacePatch * patchPtr_
Primitive patch made out of correctly flipped faces.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
faceZone(const word &name, const labelUList &addr, const boolList &fm, const label index, const meshFaceZones &mz)
Construct from components.
const labelList & slaveCells() const
Return labels of slave cells.
virtual void clearAddressing()
Clear addressing.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
labelList * masterCellsPtr_
Master cell layer.
boolList flipMap_
Flip map for all faces in the zone. Set to true if the.
static autoPtr< faceZone > New(const word &name, const dictionary &, const label index, const meshFaceZones &)
Return a pointer to a new face zone.
virtual void updateMesh(const mapPolyMesh &)
Update for changes in topology.
Ostream & operator<<(Ostream &, const ensightPart &)
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
autoPtr< List< label > > clone() const
Clone.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A subset of mesh faces organised as a primitive patch.
const meshFaceZones & meshZones() const
Return meshZones reference.
friend Ostream & operator<<(Ostream &, const faceZone &)
Ostream Operator.
declareRunTimeSelectionTable(autoPtr, faceZone, dictionary,(const word &name, const dictionary &dict, const label index, const meshFaceZones &mz),(name, dict, index, mz))
TypeName("faceZone")
Runtime type information.
const primitiveFacePatch & operator()() const
Return reference to primitive patch.