40 Pout<<
"primitiveMesh::edgeFaces() : calculating edgeFaces" <<
endl;
63 DynamicList<label>& storage
68 return edgeFaces()[edgei];
75 const edge&
e = edges()[edgei];
84 while (i0 < pFaces0.size() && i1 < pFaces1.size())
86 const label f0 = pFaces0[i0];
87 const label f1 = pFaces1[i1];
105 const face&
f = faces()[f0];
106 const label fp0 =
f.
find(
e[0]);
128 return edgeFaces(edgei, labels_);
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
const labelListList & faceEdges() const
#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.
label fcIndex(const label i) const noexcept
The forward circular index. The next index in the list which returns to the first at the end of the l...
const dimensionedScalar e
Elementary charge.
void clear()
Clear the list, i.e. set size to zero.
errorManip< error > abort(error &err)
label nEdges() const
Number of mesh edges.
label find(const T &val) const
Find index of the first occurrence of the value.
int debug
Static debugging option.
List< label > labelList
A List of labels.
label rcIndex(const label i) const noexcept
The reverse circular index. The previous index in the list which returns to the last at the beginning...
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.
const labelListList & edgeFaces() const