Go to the documentation of this file.
41 template<
class>
class FaceList,
50 <<
"Calculating pointEdges" <<
endl;
56 <<
"pointEdges already calculated"
67 <<
" Finished." <<
endl;
74 template<
class>
class FaceList,
83 <<
"Calculating pointFaces" <<
endl;
89 <<
"pointFaces already calculated"
93 const List<Face>&
f = localFaces();
96 List<SLList<label>> pointFcs(meshPoints().size());
100 const Face& curPoints =
f[facei];
102 for (
const label pointi : curPoints)
104 pointFcs[pointi].append(facei);
115 pf[pointi].setSize(pointFcs[pointi].size());
118 for (
const label facei : pointFcs[pointi])
120 pf[pointi][i++] = facei;
125 <<
" Finished." <<
endl;
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
void invertManyToMany(const label len, const UList< InputIntListType > &input, List< OutputIntListType > &output)
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.
#define DebugInFunction
Report an information message using Foam::Info.
errorManip< error > abort(error &err)
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInfo
Report an information message using Foam::Info.
Non-intrusive singly-linked list.
Various functions to operate on Lists.
A list of faces which address into the list of points.