@@ -78,7 +78,6 @@ void AllEdges::setupEdges(const int numVertices, const int maxEdges)
7878 W_.assign (maxTotalEdges, 0 );
7979 type_.assign (maxTotalEdges, ETYPE_UNDEF);
8080 edgeCounts_.assign (numVertices, 0 );
81- summationPoint_.assign (maxTotalEdges, nullptr );
8281 destVertexIndex_.assign (maxTotalEdges, 0 );
8382 sourceVertexIndex_.assign (maxTotalEdges, 0 );
8483
@@ -243,7 +242,6 @@ void AllEdges::eraseEdge(const int iVert, const BGSIZE iEdg)
243242{
244243 edgeCounts_[iVert]--;
245244 inUse_[iEdg] = false ;
246- summationPoint_[iEdg] = nullptr ;
247245 W_[iEdg] = 0 ;
248246}
249247
@@ -256,10 +254,9 @@ void AllEdges::eraseEdge(const int iVert, const BGSIZE iEdg)
256254// / @param type The type of the edge to add.
257255// / @param srcVertex The Vertex that sends to this edge.
258256// / @param destVertex The Vertex that receives from the edge.
259- // / @param sumPoint Summation point address.
260257// / @param deltaT Inner simulation step duration
261258void AllEdges::addEdge (BGSIZE &iEdg, edgeType type, const int srcVertex, const int destVertex,
262- BGFLOAT *sumPoint, const BGFLOAT deltaT)
259+ const BGFLOAT deltaT)
263260{
264261 if (edgeCounts_[destVertex] >= maxEdgesPerVertex_) {
265262 LOG4CPLUS_FATAL (edgeLogger_, " Vertex : " << destVertex << " ran out of space for new edges." );
@@ -280,5 +277,5 @@ void AllEdges::addEdge(BGSIZE &iEdg, edgeType type, const int srcVertex, const i
280277 edgeCounts_[destVertex]++;
281278
282279 // create an edge
283- createEdge (iEdg, srcVertex, destVertex, sumPoint, deltaT, type);
280+ createEdge (iEdg, srcVertex, destVertex, deltaT, type);
284281}
0 commit comments