37 Pout<<
"primitiveMesh::edgeFaces() : calculating edgeFaces" <<
endl;
65 return edgeFaces()[edgeI];
70 const edge&
e = edges()[edgeI];
79 while (i0 < pFaces0.
size() && i1 < pFaces1.
size())
81 if (pFaces0[i0] < pFaces1[i1])
85 else if (pFaces0[i0] > pFaces1[i1])
92 storage.
append(pFaces0[i0]);
105 return edgeFaces(edgeI, labels_);
Various functions to operate on Lists.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
void clear()
Clear the addressed list, i.e. set the size to zero.
void size(const label)
Override size to be inconsistent with allocated storage.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
const labelListList & edgeFaces() const
const labelListList & faceEdges() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
prefixOSstream Pout(cout, "Pout")
void invertManyToMany(const label len, const UList< InList > &, List< OutList > &)
Invert many-to-many.