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

Method calculateNodalReactions

DEVELOPER/core/Domain.cpp:3478–3497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3476}
3477
3478int
3479Domain::calculateNodalReactions(int flag)
3480{
3481
3482 // apply load again! (for case ele load removed and record before an analysis)
3483 this->applyLoad(committedTime);
3484
3485 Node *theNode;
3486 Element *theElement;
3487 NodeIter &theNodes = this->getNodes();
3488 while ((theNode = theNodes()) != 0) {
3489 theNode->resetReactionForce(flag);
3490 }
3491
3492 ElementIter &theElements = this->getElements();
3493 while ((theElement = theElements()) != 0)
3494 if (theElement->isSubdomain() == false)
3495 theElement->addResistingForceToNodalReaction(flag);
3496 return 0;
3497}

Callers

nothing calls this directly

Calls 6

applyLoadMethod · 0.95
getNodesMethod · 0.80
resetReactionForceMethod · 0.45
getElementsMethod · 0.45
isSubdomainMethod · 0.45

Tested by

no test coverage detected