66 public Zone<faceZone, faceZoneList>
71 static const word labelsName_;
99 void calcFaceZonePatch()
const;
105 void calcCellLayers()
const;
108 void checkAddressing()
const;
268 <<
"flipMap requested for the unoriented faceZone "
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.
bool topoUpdate() const
Flag indicating the zone is updated by the generator.
const word & name() const
Return name.
bool moveUpdate() const
Flag indicating the zone is updated by the generator.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Named list of face indices representing a sub-set of the mesh faces.
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.
void operator=(const faceZone &)
Assignment to zone, clearing demand-driven data.
faceZone(const word &name, const labelUList &addr, const boolList &fm, const faceZoneList &mz, const bool moveUpdate=false, const bool topoUpdate=false)
Construct from components.
const primitiveFacePatch & patch() const
Return reference to primitive patch.
bool oriented() const
Return true if the faceZone is oriented, i.e. the flipMap is set.
autoPtr< faceZone > clone() const
Construct and return a clone.
const labelList & masterCells() const
Return labels of master cells (cells next to the master face.
void topoChange(const polyTopoChangeMap &)
Update zone using the given map.
void resetAddressing(const labelUList &, const boolList &)
Reset addressing and flip map (clearing demand-driven data)
ClassName("faceZone")
Runtime type information.
static const char *const labelsName
The name associated with the zone-labels dictionary entry.
void writeDict(Ostream &) const
Write dictionary.
void insert(const Map< bool > &newIndices)
Insert given indices and corresponding face flips into zone.
void clearAddressing()
Clear addressing.
void movePoints(const pointField &)
Correct patch after moving points.
bool checkParallelSync(const bool report=false) const
Check whether all procs have faces synchronised. Return.
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)