Go to the documentation of this file.
37 Pout<<
"primitiveMesh::edgeFaces() : calculating edgeFaces"
61 dynamicLabelList& storage
66 return edgeFaces()[edgeI];
71 const edge&
e = edges()[edgeI];
80 while (i0 < pFaces0.
size() && i1 < pFaces1.
size())
82 if (pFaces0[i0] < pFaces1[i1])
86 else if (pFaces0[i0] > pFaces1[i1])
93 storage.append(pFaces0[i0]);
106 return edgeFaces(edgeI, labels_);
const labelListList & edgeFaces() const
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Ostream & endl(Ostream &os)
Add newline and flush stream.
void invertManyToMany(const label len, const UList< InList > &, List< OutList > &)
Invert many-to-many.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const labelListList & faceEdges() const
errorManip< error > abort(error &err)
const double e
Elementary charge.
List< labelList > labelListList
A List of labelList.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelListList * efPtr_
Edge-faces.
void clear()
Clear the list, i.e. set size to zero.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Various functions to operate on Lists.
void size(const label)
Override size to be inconsistent with allocated storage.