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

Method clearAll

SRC/analysis/handler/PlainHandler.cpp:303–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301
302
303void
304PlainHandler::clearAll(void)
305{
306 // for the nodes reset the DOF_Group pointers to 0
307 Domain *theDomain = this->getDomainPtr();
308 if (theDomain == 0)
309 return;
310
311 NodeIter &theNod = theDomain->getNodes();
312 Node *nodPtr;
313 while ((nodPtr = theNod()) != 0)
314 nodPtr->setDOF_GroupPtr(0);
315}
316
317int
318PlainHandler::sendSelf(int cTag,

Callers

nothing calls this directly

Calls 3

getNodesMethod · 0.80
getDomainPtrMethod · 0.45
setDOF_GroupPtrMethod · 0.45

Tested by

no test coverage detected