59 public Zone<faceZone, faceZoneList>
64 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.
const word & name() const
Return name.
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.
bool checkDefinition(const bool report=false) const
Check zone definition. Return true if in error.
const boolList & flipMap() const
Return face flip map.
void swap(faceZone &)
Swap two faceZones.
const pointField & meshCentres() const
Return the mesh face centres.
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.
const primitiveFacePatch & patch() const
Return reference to primitive patch.
const labelList & masterCells() const
Return labels of master cells (cells next to the master face.
virtual void topoChange(const polyTopoChangeMap &)
Update zone 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.
faceZone(const word &name, const labelUList &addr, const boolList &fm, const faceZoneList &mz)
Construct from components.
void reset(const Map< bool > &indices)
Reset the indices and flipMap from the given map.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
virtual void writeDict(Ostream &) const
Write dictionary.
labelList * slaveCellsPtr_
Slave cell layer.
void insert(const Map< bool > &newIndices)
Insert given indices and corresponding face flips into zone.
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.
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 after a change in polyMesh topology.
A class for handling words, derived from string.