| 569 | |
| 570 | |
| 571 | int |
| 572 | AnalysisModel::updateDomain(void) |
| 573 | { |
| 574 | // check to see there is a Domain linked to the Model |
| 575 | |
| 576 | if (myDomain == 0) { |
| 577 | opserr << "WARNING: AnalysisModel::updateDomain. No Domain linked.\n"; |
| 578 | return -1; |
| 579 | } |
| 580 | |
| 581 | // invoke the method |
| 582 | int res = myDomain->update(); |
| 583 | if (res == 0) |
| 584 | return myHandler->update(); |
| 585 | |
| 586 | return res; |
| 587 | } |
| 588 | |
| 589 | |
| 590 | int |