| 542 | |
| 543 | |
| 544 | int KRAlphaExplicit::commit(void) |
| 545 | { |
| 546 | AnalysisModel *theModel = this->getAnalysisModel(); |
| 547 | if (theModel == 0) { |
| 548 | opserr << "WARNING KRAlphaExplicit::commit() - no AnalysisModel set\n"; |
| 549 | return -1; |
| 550 | } |
| 551 | |
| 552 | // set the time to be t+deltaT |
| 553 | double time = theModel->getCurrentDomainTime(); |
| 554 | time += (1.0-alphaF)*deltaT; |
| 555 | theModel->setCurrentDomainTime(time); |
| 556 | |
| 557 | // update the displacements in the elements |
| 558 | if (updElemDisp == true) |
| 559 | theModel->updateDomain(); |
| 560 | |
| 561 | return theModel->commitDomain(); |
| 562 | } |
| 563 | |
| 564 | const Vector & |
| 565 | KRAlphaExplicit::getVel() |
nothing calls this directly
no test coverage detected