| 432 | |
| 433 | |
| 434 | void |
| 435 | AnalysisModel::setResponse(const Vector &disp, |
| 436 | const Vector &vel, |
| 437 | const Vector &accel) |
| 438 | { |
| 439 | DOF_GrpIter &theDOFGrps = this->getDOFs(); |
| 440 | DOF_Group *dofPtr; |
| 441 | |
| 442 | while ((dofPtr = theDOFGrps()) != 0) { |
| 443 | dofPtr->setNodeDisp(disp); |
| 444 | dofPtr->setNodeVel(vel); |
| 445 | dofPtr->setNodeAccel(accel); |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | void |
| 450 | AnalysisModel::setDisp(const Vector &disp) |