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