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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Cell-face mesh analysis engine.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
bool found(const label &) const
Return true if hashedEntry is found in table.
A class for handling words, derived from string.
void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
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...
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
const labelList & reverseFaceMap() const
Reverse face map.