Go to the documentation of this file.
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;
154 return mesh.nFaces();
void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
virtual void sync(const polyMesh &mesh)
Sync faceSet across coupled patches.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~faceSet()
Destructor.
writeOption
Enumeration defining the write options.
General set of labels of mesh quantity (points, cells, faces).
faceSet(const IOobject &obj)
Construct from IOobject.
Macros for easy insertion into run-time selection tables.
bool found(const Key &) const
Return true if hashedEntry is found in table.
errorManip< error > abort(error &err)
const labelList & reverseFaceMap() const
Reverse face map.
void updateLabels(const labelList &map)
Update map from map. Used to update cell/face labels.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const vectorField & faceCentres() const
bool insert(const Key &key)
Insert a new entry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
readOption
Enumeration defining the read options.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
bool set(const Key &key)
Same as insert (cannot overwrite nil content)
Cell-face mesh analysis engine.