Go to the documentation of this file.
35 template<
class>
class FaceList,
45 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
46 <<
"calcBdryPoints() : "
47 <<
"calculating boundary points"
51 if (boundaryPointsPtr_)
56 <<
"edge types already calculated"
64 for (
label edgeI = nInternalEdges_; edgeI <
e.size(); edgeI++)
66 const edge& curEdge =
e[edgeI];
68 bp.insert(curEdge.start());
69 bp.insert(curEdge.end());
72 boundaryPointsPtr_ =
new labelList(bp.toc());
73 sort(*boundaryPointsPtr_);
77 Info<<
"PrimitivePatch<Face, FaceList, PointField, PointType>::"
78 <<
"calcBdryPoints() : "
79 <<
"finished calculating boundary points"
List< label > labelList
A List of labels.
Ostream & endl(Ostream &os)
Add newline and flush stream.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void calcBdryPoints() const
Calculated boundary points on a patch.
const dimensionedScalar e
Elementary charge.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.