Go to the documentation of this file.
41 Pout<<
"primitiveMesh::calcPointEdges() : "
42 <<
"calculating pointEdges"
51 <<
"pointEdges already calculated"
64 npe[
e[edgeI].start()]++;
65 npe[
e[edgeI].end()]++;
74 forAll (pointEdgeAddr, pointI)
76 pointEdgeAddr[pointI].
setSize(npe[pointI]);
82 label v0 =
e[edgeI].start();
84 pointEdgeAddr[v0][npe[v0]++] = edgeI;
88 pointEdgeAddr[v1][npe[v1]++] = edgeI;
labelListList * pePtr_
Point-edges.
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const edgeList & edges() const
Return mesh edges. Uses calcEdges.
const labelListList & pointEdges() const
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)
const double e
Elementary charge.
void setSize(const label)
Reset size of List.
List< labelList > labelListList
A List of labelList.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
void calcPointEdges() const
Calculate point-edge addressing.
void size(const label)
Override size to be inconsistent with allocated storage.