39 template<
class>
class FaceList,
57 <<
"pointEdges already calculated" 77 template<
class>
class FaceList,
95 <<
"pointFaces already calculated" 99 const List<Face>& f = localFaces();
102 List<SLList<label>> pointFcs(meshPoints().size());
106 const Face& curPoints = f[facei];
110 pointFcs[curPoints[pointi]].append(facei);
121 pf[pointi].setSize(pointFcs[pointi].size());
124 forAllIter(SLList<label>, pointFcs[pointi], curFacesIter)
126 pf[pointi][i++] = curFacesIter();
List< labelList > labelListList
A List of labelList.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Various functions to operate on Lists.
A list of faces which address into the list of points.
errorManip< error > abort(error &err)
void invertManyToMany(const label len, const UList< InList > &, List< OutList > &)
Invert many-to-many.
Non-intrusive singly-linked list.
#define InfoInFunction
Report an information message using Foam::Info.