58 Ostream&
operator<<(Ostream&,
const faceZone&);
72 static const word labelsName_;
151 (name, dict, index, zm)
229 new faceZone(*
this, addr, fm, index, zm)
A simple container for copying or transferring objects of type <T>.
const labelList & slaveCells() const
Return labels of slave cells.
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)
const labelList & meshEdges() const
Return global edge index for local edges.
const boolList & flipMap() const
Return face flip map.
label index() const
Return the index of this zone in zone list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~faceZone()
Destructor.
void checkAddressing() const
Check addressing.
virtual void write(Ostream &) const
Write.
static autoPtr< faceZone > New(const word &name, const dictionary &, const label index, const faceZoneMesh &)
Return a pointer to a new face zone.
labelList * mePtr_
Global edge addressing.
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.
label whichFace(const label globalCellID) const
Helper function to re-direct to zone::localID(...)
const word & name() const
Return name.
A list of faces which address into the list of points.
const Map< label > & faceLookupMap() const
Return map of local face indices.
A class for handling words, derived from string.
primitiveFacePatch * patchPtr_
Primitive patch made out of correctly flipped faces.
void calcFaceZonePatch() const
Build primitive patch.
virtual bool checkParallelSync(const bool report=false) const
Check whether all procs have faces synchronised. Return.
const faceZoneMesh & zoneMesh() const
Return zoneMesh reference.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void writeDict(Ostream &) const
Write dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const faceZoneMesh & zoneMesh_
Reference to zone list.
virtual bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
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.
virtual void updateMesh(const mapPolyMesh &)
Update for changes in topology.
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
declareRunTimeSelectionTable(autoPtr, faceZone, dictionary,(const word &name, const dictionary &dict, const label index, const faceZoneMesh &zm),(name, dict, index, zm))
A subset of mesh faces organised as a primitive patch.
void calcCellLayers() const
Calculate master and slave face layer.
autoPtr< List< label > > clone() const
Clone.
friend Ostream & operator<<(Ostream &, const faceZone &)
Ostream Operator.
const labelList & masterCells() const
Return labels of master cells (cells next to the master face.
const primitiveFacePatch & operator()() const
Return reference to primitive patch.
TypeName("faceZone")
Runtime type information.