MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / Print

Method Print

SRC/graph/graph/ArrayGraph.cpp:261–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260
261void
262ArrayGraph::Print(OPS_Stream &s) const
263{
264 s << numVertex << " " << numEdge << endln;
265
266 Vertex *vertexPtr;
267
268 // loop over the vertices and print each
269
270 for (int i=0; i<sizeVertices; i++) {
271 vertexPtr = theVertices[i];
272 if (vertexPtr != 0)
273 vertexPtr->Print(s);
274 }
275}
276
277OPS_Stream &operator<<(OPS_Stream &s, const ArrayGraph &M)
278{

Callers 1

ArrayGraph.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected