40 Pout<<
"primitiveMesh::edgeCells() : calculating edgeCells" <<
endl;
62 DynamicList<label>& storage
67 return edgeCells()[edgei];
75 DynamicList<label> eFacesStorage;
76 const labelList& eFaces = edgeFaces(edgei, eFacesStorage);
81 for (
const label facei : eFaces)
85 if (!storage.contains(own[facei]))
87 storage.push_back(own[facei]);
91 if (isInternalFace(facei))
94 if (!storage.contains(nei[facei]))
96 storage.push_back(nei[facei]);
108 return edgeCells(edgei, labels_);
const labelListList & cellEdges() const
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< labelList > labelListList
List of labelList.
Various functions to operate on Lists.
const labelListList & edgeCells() const
errorManip< error > abort(error &err)
label nEdges() const
Number of mesh edges.
int debug
Static debugging option.
List< label > labelList
A List of labels.
void invertManyToMany(const label len, const UList< InputIntListType > &input, List< OutputIntListType > &output)
Invert many-to-many.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.