| 342 | |
| 343 | |
| 344 | int |
| 345 | StaticDomainDecompositionAnalysis::initialize(void) |
| 346 | { |
| 347 | Domain *the_Domain = this->getDomainPtr(); |
| 348 | |
| 349 | // check if domain has undergone change |
| 350 | int stamp = the_Domain->hasDomainChanged(); |
| 351 | if (stamp != domainStamp) { |
| 352 | domainStamp = stamp; |
| 353 | if (this->domainChanged() < 0) { |
| 354 | opserr << "DirectIntegrationAnalysis::initialize() - domainChanged() failed\n"; |
| 355 | return -1; |
| 356 | } |
| 357 | } |
| 358 | if (theIntegrator->initialize() < 0) { |
| 359 | opserr << "DirectIntegrationAnalysis::initialize() - integrator initialize() failed\n"; |
| 360 | return -2; |
| 361 | } else |
| 362 | theIntegrator->commit(); |
| 363 | |
| 364 | return 0; |
| 365 | } |
| 366 | |
| 367 | int |
| 368 | StaticDomainDecompositionAnalysis::domainChanged(void) |
nothing calls this directly
no test coverage detected