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

Method clearAll

SRC/analysis/handler/PenaltyConstraintHandler.cpp:250–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248
249
250void
251PenaltyConstraintHandler::clearAll(void)
252{
253 // for the nodes reset the DOF_Group pointers to 0
254 Domain *theDomain = this->getDomainPtr();
255 if (theDomain == 0)
256 return;
257
258 NodeIter &theNod = theDomain->getNodes();
259 Node *nodPtr;
260 while ((nodPtr = theNod()) != 0)
261 nodPtr->setDOF_GroupPtr(0);
262}
263
264int
265PenaltyConstraintHandler::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