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

Method endMode

SRC/runtime/commands/analysis/modal/ResponseSpectrumAnalysis.cpp:204–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204int ResponseSpectrumAnalysis::endMode()
205{
206 // update domain
207 if (m_domain->update() < 0) {
208 opserr << "ResponseSpectrumAnalysis::analyze() - the AnalysisModel failed in updateDomain"
209 " at mode " << m_current_mode << "\n";
210 return -1;
211 }
212 // update Handler (cmp)
213
214 // commit domain
215 if (m_domain->commit() < 0) {
216 opserr << "ResponseSpectrumAnalysis::analyze() - the AnalysisModel failed in commitDomain"
217 " at mode " << m_current_mode << "\n";
218 return -1;
219 }
220
221 return 0;
222}
223
224int
225ResponseSpectrumAnalysis::solveMode()

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected