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

Method commit

SRC/analysis/integrator/CentralDifferenceNoDamping.cpp:254–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254int
255CentralDifferenceNoDamping::commit(void)
256{
257 AnalysisModel *theModel = this->getAnalysisModel();
258 if (theModel == 0) {
259 opserr << "WARNING CentralDifferenceNoDamping::commit() - no AnalysisModel set\n";
260 return -1;
261 }
262
263 // update time in Domain to T + deltaT & commit the domain
264 double time = theModel->getCurrentDomainTime() + deltaT;
265 theModel->setCurrentDomainTime(time);
266
267 return theModel->commitDomain();
268
269 return 0;
270}
271
272const Vector &
273CentralDifferenceNoDamping::getVel()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected