| 3476 | } |
| 3477 | |
| 3478 | int |
| 3479 | Domain::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 | } |
nothing calls this directly
no test coverage detected