MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / commit

Method commit

SRC/analysis/integrator/HHTExplicit_TP.cpp:468–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466
467
468int 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
492const Vector &
493HHTExplicit_TP::getVel()

Callers

nothing calls this directly

Calls 4

getBMethod · 0.80
getLinearSOEMethod · 0.45
getAnalysisModelMethod · 0.45
commitDomainMethod · 0.45

Tested by

no test coverage detected