| 466 | |
| 467 | |
| 468 | int HHTExplicit_TP::commit(void) |
| 469 | { |
| 470 | // get a pointer to the LinearSOE and the AnalysisModel |
| 471 | LinearSOE *theLinSOE = this->getLinearSOE(); |
| 472 | AnalysisModel *theModel = this->getAnalysisModel(); |
| 473 | if (theLinSOE == 0 || theModel == 0) { |
| 474 | opserr << "WARNING HHTExplicit_TP::commit() - "; |
| 475 | opserr << "no LinearSOE or AnalysisModel has been set\n"; |
| 476 | return -1; |
| 477 | } |
| 478 | |
| 479 | // set response at t of next step to be that at t+deltaT |
| 480 | (*Ut) = *U; |
| 481 | (*Utdot) = *Udot; |
| 482 | (*Utdotdot) = *Udotdot; |
| 483 | |
| 484 | // get unbalance Put and store it for next step |
| 485 | alphaD = alphaR = alphaP = (1.0 - alpha); |
| 486 | this->TransientIntegrator::formUnbalance(); |
| 487 | (*Put) = theLinSOE->getB(); |
| 488 | |
| 489 | return theModel->commitDomain(); |
| 490 | } |
| 491 | |
| 492 | const Vector & |
| 493 | HHTExplicit_TP::getVel() |
nothing calls this directly
no test coverage detected