Go to the documentation of this file.
38 template<
class>
class FaceList,
48 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
49 <<
"calcPointEdges() : calculating pointEdges"
59 "PrimitivePatch<Face, FaceList, PointField, PointType>::"
61 ) <<
"pointEdges already calculated"
72 pointEdges[
e[edgeI].start()].
append(edgeI);
73 pointEdges[
e[edgeI].end()].
append(edgeI);
81 forAll (pointEdges, pointI)
83 pe[pointI].
setSize(pointEdges[pointI].size());
89 curEdgesIter != pointEdges[pointI].end();
93 pe[pointI][i] = curEdgesIter();
99 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
100 <<
"calcPointEdges() finished calculating pointEdges"
109 template<
class>
class FaceList,
119 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
120 <<
"calcPointFaces() : calculating pointFaces"
130 "PrimitivePatch<Face, FaceList, PointField, PointType>::"
132 ) <<
"pointFaces already calculated"
143 const Face& curPoints =
f[faceI];
145 forAll (curPoints, pointI)
147 pointFcs[curPoints[pointI]].
append(faceI);
158 pf[pointI].
setSize(pointFcs[pointI].size());
164 curFacesIter != pointFcs[pointI].end();
168 pf[pointI][i] = curFacesIter();
174 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
175 <<
"calcPointFaces() finished calculating pointFaces"
Non-intrusive singly-linked list.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void calcPointFaces() const
Calculate point-face addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void append(const T &)
Append an element at the end of the list.
errorManip< error > abort(error &err)
void setSize(const label)
Reset size of List.
List< labelList > labelListList
A List of labelList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dimensionedScalar e
Elementary charge.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
void calcPointEdges() const
Calculate point-edge addressing.