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

Method commit

SRC/analysis/integrator/KRAlphaExplicit.cpp:544–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542
543
544int 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
564const Vector &
565KRAlphaExplicit::getVel()

Callers

nothing calls this directly

Calls 5

getAnalysisModelMethod · 0.45
getCurrentDomainTimeMethod · 0.45
setCurrentDomainTimeMethod · 0.45
updateDomainMethod · 0.45
commitDomainMethod · 0.45

Tested by

no test coverage detected