63 topoSet(mesh, typeName, name, r, w)
119 set[iter.key()] =
true;
134 else if (
found(facei))
137 <<
"Problem : syncing removed faces from set." 143 if (debug && nAdded > 0)
145 Info<<
"Added an additional " << nAdded
146 <<
" faces on coupled patches. " 147 <<
"(processorPolyPatch, cyclicPolyPatch)" <<
endl;
#define forAll(list, i)
Loop across all elements in list.
writeOption
Enumeration defining the write options.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Cell-face mesh analysis engine.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void topoChange(const polyTopoChangeMap &map)
Update any stored data for new labels.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
readOption
Enumeration defining the read options.
bool insert(const label &key)
Insert a new entry.
void check(const label maxLabel)
Check validity of contents.
Macros for easy insertion into run-time selection tables.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
void updateLabels(const labelList &map)
Update map from map. Used to update cell/face labels.
const labelList & reverseFaceMap() const
Reverse face map.
bool found(const label &) const
Return true if hashedEntry is found in table.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
faceSet(const IOobject &obj)
Construct from IOobject.
defineTypeNameAndDebug(combustionModel, 0)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
General set of labels of mesh quantity (points, cells, faces).
virtual ~faceSet()
Destructor.
const vectorField & faceCentres() const
topoSet(const IOobject &, const word &wantedType)
Construct from IOobject as explicitly passed type.
Mesh consisting of general polyhedral cells.
virtual void sync(const polyMesh &mesh)
Sync faceSet across coupled patches.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...