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