| 252 | } |
| 253 | |
| 254 | int |
| 255 | CentralDifferenceNoDamping::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 | |
| 272 | const Vector & |
| 273 | CentralDifferenceNoDamping::getVel() |
nothing calls this directly
no test coverage detected