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]);
128 return edgeFaces(edgeI, labels_);
Various functions to operate on Lists.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
void append(const T &val)
Copy append an element to the end of this list.
label find(const T &val, label pos=0) const
Find index of the first occurrence of the value.
label rcIndex(const label i) const noexcept
void size(const label n)
Older name for setAddressableSize.
label fcIndex(const label i) const noexcept
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A face is a list of labels corresponding to mesh vertices.
const labelListList & edgeFaces() const
const labelListList & faceEdges() const
label nEdges() const
Number of mesh edges.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void invertManyToMany(const label len, const UList< InputIntListType > &input, List< OutputIntListType > &output)
Invert many-to-many.
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< labelList > labelListList
A List of labelList.
errorManip< error > abort(error &err)
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.