30 void Foam::primitiveMesh::calcPointPoints()
const
34 Pout<<
"primitiveMesh::calcPointPoints() : "
35 <<
"calculating pointPoints"
52 <<
"pointPoints already calculated"
65 pp[pointI].setSize(pe[pointI].size());
69 if (e[pe[pointI][ppi]].start() == pointI)
71 pp[pointI][ppi] = e[pe[pointI][ppi]].end();
73 else if (e[pe[pointI][ppi]].end() == pointI)
75 pp[pointI][ppi] = e[pe[pointI][ppi]].start();
80 <<
"something wrong with edges"
108 if (hasPointPoints())
110 return pointPoints()[pointI];
114 const edgeList& edges = this->edges();
115 const labelList& pEdges = pointEdges()[pointI];
126 storage.
append(edges[pEdges[i]].otherVertex(pointI));
139 return pointPoints(pointI, labels_);