void AnalysisModel::setDisp(const Vector &disp) { DOF_GrpIter &theDOFGrps = this->getDOFs(); DOF_Group *dofPtr; while ((dofPtr = theDOFGrps()) != 0) dofPtr->setNodeDisp(disp); }
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); } }