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

Method endMode

SRC/analysis/analysis/ResponseSpectrumAnalysis.cpp:488–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488int ResponseSpectrumAnalysis::endMode()
489{
490 // update domain
491 if (m_model->updateDomain() < 0) {
492 opserr << "ResponseSpectrumAnalysis::analyze() - the AnalysisModel failed in updateDomain"
493 " at mode " << m_current_mode << "\n";
494 return -1;
495 }
496
497 // commit domain
498 if (m_model->commitDomain() < 0) {
499 opserr << "ResponseSpectrumAnalysis::analyze() - the AnalysisModel failed in commitDomain"
500 " at mode " << m_current_mode << "\n";
501 return -1;
502 }
503
504 return 0;
505}
506
507int ResponseSpectrumAnalysis::solveMode()
508{

Callers

nothing calls this directly

Calls 2

updateDomainMethod · 0.45
commitDomainMethod · 0.45

Tested by

no test coverage detected