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