| 527 | } |
| 528 | |
| 529 | int |
| 530 | StaticDomainDecompositionAnalysis::sendSelf(int commitTag, Channel &theChannel) |
| 531 | { |
| 532 | // receive the data identifyng the objects in the aggregation |
| 533 | int dataTag = this->getDbTag(); |
| 534 | static ID data(8); |
| 535 | |
| 536 | if (theAlgorithm == 0) { |
| 537 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - no objects exist!\n"; |
| 538 | return -1; |
| 539 | } |
| 540 | |
| 541 | LinearSOESolver *theSolver = theSOE->getSolver(); |
| 542 | |
| 543 | data(0) = theConstraintHandler->getClassTag(); |
| 544 | data(1) = theDOF_Numberer->getClassTag(); |
| 545 | data(2) = theAnalysisModel->getClassTag(); |
| 546 | data(3) = theAlgorithm->getClassTag(); |
| 547 | data(4) = theSOE->getClassTag(); |
| 548 | data(5) = theSolver->getClassTag(); |
| 549 | data(6) = theIntegrator->getClassTag(); |
| 550 | |
| 551 | if (theTest != 0) |
| 552 | data(7) = theTest->getClassTag(); |
| 553 | else |
| 554 | data(7) = -1; |
| 555 | |
| 556 | theChannel.sendID(dataTag, commitTag, data); |
| 557 | |
| 558 | // invoke sendSelf() on all the objects |
| 559 | if (theConstraintHandler->sendSelf(commitTag, theChannel) != 0) { |
| 560 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - failed to send handler\n"; |
| 561 | return -1; |
| 562 | } |
| 563 | |
| 564 | if (theDOF_Numberer->sendSelf(commitTag, theChannel) != 0) { |
| 565 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - failed to send numberer\n"; |
| 566 | return -1; |
| 567 | } |
| 568 | |
| 569 | if (theAnalysisModel->sendSelf(commitTag, theChannel) != 0) { |
| 570 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - failed to send model\n"; |
| 571 | return -1; |
| 572 | } |
| 573 | |
| 574 | if (theAlgorithm->sendSelf(commitTag, theChannel) != 0) { |
| 575 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - failed to send algorithm\n"; |
| 576 | return -1; |
| 577 | } |
| 578 | |
| 579 | if (theSOE->sendSelf(commitTag, theChannel) != 0) { |
| 580 | opserr << "StaticDomainDecompositionAnalysis::sendSelf() - failed to send SOE\n"; |
| 581 | return -1; |
| 582 | } else |
| 583 | ; |
| 584 | // theSOE->setAnalysisModel(*theAnalysisModel); |
| 585 | |
| 586 | if (theSolver->sendSelf(commitTag, theChannel) != 0) { |
nothing calls this directly
no test coverage detected