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

Method clearAll

SRC/analysis/handler/AutoConstraintHandler.cpp:524–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522}
523
524void
525AutoConstraintHandler::clearAll(void)
526{
527 // reset the TransformationDOF_Group vector
528 // don't delete the pointer inside the vector (owned by the model)
529 theDOFs.clear();
530
531 // for the nodes reset the DOF_Group pointers to 0
532 Domain* theDomain = this->getDomainPtr();
533 if (theDomain == 0)
534 return;
535 NodeIter& theNod = theDomain->getNodes();
536 Node* nodPtr;
537 while ((nodPtr = theNod()) != 0)
538 nodPtr->setDOF_GroupPtr(0);
539}
540
541int
542AutoConstraintHandler::sendSelf(int cTag, Channel& theChannel)

Callers

nothing calls this directly

Calls 4

getNodesMethod · 0.80
clearMethod · 0.45
getDomainPtrMethod · 0.45
setDOF_GroupPtrMethod · 0.45

Tested by

no test coverage detected