void AnalysisModel::setVel(const Vector &vel) { DOF_GrpIter &theDOFGrps = this->getDOFs(); DOF_Group *dofPtr; while ((dofPtr = theDOFGrps()) != 0) dofPtr->setNodeVel(vel); }
void AnalysisModel::setResponse(const Vector &disp, const Vector &vel, const Vector &accel) { DOF_GrpIter &theDOFGrps = this->getDOFs(); DOF_Group *dofPtr; while ((dofPtr = theDOFGrps()) != 0) { dofPtr->setNodeDisp(disp); dofPtr->setNodeVel(vel); dofPtr->setNodeAccel(accel); } }