| 334 | |
| 335 | |
| 336 | int |
| 337 | StaticAnalysis::initialize(void) |
| 338 | { |
| 339 | Domain *the_Domain = this->getDomainPtr(); |
| 340 | |
| 341 | // check if domain has undergone change |
| 342 | int stamp = the_Domain->hasDomainChanged(); |
| 343 | if (stamp != domainStamp) { |
| 344 | domainStamp = stamp; |
| 345 | if (this->domainChanged() < 0) { |
| 346 | opserr << "DirectIntegrationAnalysis::initialize() - domainChanged() failed\n"; |
| 347 | return -1; |
| 348 | } |
| 349 | } |
| 350 | if (theIntegrator->initialize() < 0) { |
| 351 | opserr << "DirectIntegrationAnalysis::initialize() - integrator initialize() failed\n"; |
| 352 | return -2; |
| 353 | } else |
| 354 | theIntegrator->commit(); |
| 355 | |
| 356 | return 0; |
| 357 | } |
| 358 | |
| 359 | int |
| 360 | StaticAnalysis::domainChanged(void) |
nothing calls this directly
no test coverage detected