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

Method clearAll

SRC/analysis/handler/LagrangeConstraintHandler.cpp:297–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297void
298LagrangeConstraintHandler::clearAll(void)
299{
300 // for the nodes reset the DOF_Group pointers to 0
301 Domain *theDomain = this->getDomainPtr();
302 if (theDomain == 0)
303 return;
304
305 NodeIter &theNod = theDomain->getNodes();
306 Node *nodPtr;
307 while ((nodPtr = theNod()) != 0)
308 nodPtr->setDOF_GroupPtr(0);
309}
310
311int
312LagrangeConstraintHandler::sendSelf(int cTag, Channel &theChannel)

Callers

nothing calls this directly

Calls 3

getNodesMethod · 0.80
getDomainPtrMethod · 0.45
setDOF_GroupPtrMethod · 0.45

Tested by

no test coverage detected