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);
83 label facei = eFaces[i];
86 label ownCelli = own[facei];
91 if (storage[j] == ownCelli)
100 storage.append(ownCelli);
104 if (isInternalFace(facei))
106 label neiCelli = nei[facei];
110 if (storage[j] == neiCelli)
119 storage.append(neiCelli);
131 return edgeCells(edgeI, labels_);
List< labelList > labelListList
A List of labelList.
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.
Various functions to operate on Lists.
#define forAll(list, i)
Loop across all elements in list.
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.