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"
68 List<SLList<label> > pointEdges(meshPoints().size());
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());
88 SLList<label>::iterator curEdgesIter = pointEdges[pointI].begin();
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"
136 const List<Face>&
f = localFaces();
139 List<SLList<label> > pointFcs(meshPoints().size());
143 const Face& curPoints = f[faceI];
145 forAll (curPoints, pointI)
147 pointFcs[curPoints[pointI]].append(faceI);
158 pf[pointI].setSize(pointFcs[pointI].size());
163 SLList<label>::iterator curFacesIter = pointFcs[pointI].begin();
164 curFacesIter != pointFcs[pointI].end();
168 pf[pointI][i] = curFacesIter();
174 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
175 <<
"calcPointFaces() finished calculating pointFaces"