Go to the documentation of this file.
39 Pout<<
"primitiveMesh::edgeFaces() : calculating edgeFaces" <<
endl;
67 return edgeFaces()[edgeI];
72 const edge&
e = edges()[edgeI];
81 while (i0 < pFaces0.size() && i1 < pFaces1.size())
83 if (pFaces0[i0] < pFaces1[i1])
87 else if (pFaces0[i0] > pFaces1[i1])
94 storage.
append(pFaces0[i0]);
107 return edgeFaces(edgeI, labels_);
int debug
Static debugging option.
const labelListList & edgeFaces() const
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label nEdges() const
Number of mesh edges.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
An Ostream wrapper for parallel output to std::cout.
void invertManyToMany(const label len, const UList< InputIntListType > &input, List< OutputIntListType > &output)
Invert many-to-many.
DynamicList< T, SizeMin > & append(const T &val)
Append an element to the end of this list.
void clear()
Clear the addressed list, i.e. set the size to zero.
const labelListList & faceEdges() const
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar e
Elementary charge.
Various functions to operate on Lists.