| 619 | // values in udotdot, components identified by myID; |
| 620 | |
| 621 | void |
| 622 | DOF_Group::setNodeAccel(const Vector &udotdot) |
| 623 | { |
| 624 | |
| 625 | if (myNode == 0) { |
| 626 | opserr << "DOF_Group::setNodeAccel: 0 Node Pointer\n"; |
| 627 | return; |
| 628 | } |
| 629 | |
| 630 | Vector &accel = *unbalance;; |
| 631 | accel = myNode->getTrialAccel(); |
| 632 | int i; |
| 633 | |
| 634 | // get disp for the unconstrained dof |
| 635 | for (i=0; i<numDOF; i++) { |
| 636 | int loc = myID(i); |
| 637 | if (loc >= 0) |
| 638 | accel(i) = udotdot(loc); |
| 639 | } |
| 640 | |
| 641 | myNode->setTrialAccel(accel); |
| 642 | } |
| 643 | |
| 644 | |
| 645 | // void setNodeIncrDisp(const Vector &u); |
no test coverage detected