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.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
bool insert(const label &key)
Insert a new entry.
bool set(const label &key)
Same as insert (cannot overwrite nil content)
bool found(const Key &) const
Return true if hashedEntry is found in table.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
readOption
Enumeration defining the read options.
writeOption
Enumeration defining the write options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
virtual void sync(const polyMesh &mesh)
Sync faceSet across coupled patches.
faceSet(const IOobject &obj)
Construct from IOobject.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
virtual ~faceSet()
Destructor.
virtual void topoChange(const polyTopoChangeMap &map)
Update any stored data for new labels.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & reverseFaceMap() const
Reverse face map.
Cell-face mesh analysis engine.
const vectorField & faceCentres() const
General set of labels of mesh quantity (points, cells, faces).
void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
void check(const label maxLabel)
Check validity of contents.
void updateLabels(const labelList &map)
Update map from map. Used to update cell/face labels.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
defineTypeNameAndDebug(combustionModel, 0)