Go to the documentation of this file.
40 Pout<<
"primitiveMesh::edgeFaces() : calculating edgeFaces" <<
endl;
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]);
108 if (
f[
f.fcIndex(fp0)] ==
e[1] ||
f[
f.rcIndex(fp0)] ==
e[1])
128 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
OSstream wrapped stdout (std::cout) with parallel prefix.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
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.
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.
A face is a list of labels corresponding to mesh vertices.
Various functions to operate on Lists.