| 511 | } |
| 512 | |
| 513 | int |
| 514 | TransientDomainDecompositionAnalysis::sendSelf(int commitTag, Channel &theChannel) |
| 515 | { |
| 516 | |
| 517 | // receive the data identifyng the objects in the aggregation |
| 518 | int dataTag = this->getDbTag(); |
| 519 | static ID data(8); |
| 520 | |
| 521 | if (theAlgorithm == 0) { |
| 522 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - no objects exist!\n"; |
| 523 | return -1; |
| 524 | } |
| 525 | |
| 526 | LinearSOESolver *theSolver = theSOE->getSolver(); |
| 527 | |
| 528 | data(0) = theConstraintHandler->getClassTag(); |
| 529 | data(1) = theDOF_Numberer->getClassTag(); |
| 530 | data(2) = theAnalysisModel->getClassTag(); |
| 531 | data(3) = theAlgorithm->getClassTag(); |
| 532 | data(4) = theSOE->getClassTag(); |
| 533 | data(5) = theSolver->getClassTag(); |
| 534 | data(6) = theIntegrator->getClassTag(); |
| 535 | |
| 536 | if (theTest != 0) |
| 537 | data(7) = theTest->getClassTag(); |
| 538 | else |
| 539 | data(7) = -1; |
| 540 | |
| 541 | theChannel.sendID(dataTag, commitTag, data); |
| 542 | |
| 543 | // invoke sendSelf() on all the objects |
| 544 | if ( theConstraintHandler->sendSelf(commitTag, theChannel) != 0) { |
| 545 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - failed to send handler\n"; |
| 546 | return -1; |
| 547 | } |
| 548 | |
| 549 | if ( theDOF_Numberer->sendSelf(commitTag, theChannel) != 0) { |
| 550 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - failed to send numberer\n"; |
| 551 | return -1; |
| 552 | } |
| 553 | |
| 554 | if ( theAnalysisModel->sendSelf(commitTag, theChannel) != 0) { |
| 555 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - failed to send model\n"; |
| 556 | return -1; |
| 557 | } |
| 558 | |
| 559 | if ( theAlgorithm->sendSelf(commitTag, theChannel) != 0) { |
| 560 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - failed to send algorithm\n"; |
| 561 | return -1; |
| 562 | } |
| 563 | |
| 564 | if ( theSOE->sendSelf(commitTag, theChannel) != 0) { |
| 565 | opserr << "TransientDomainDecompositionAnalysis::sendSelf() - failed to send SOE\n"; |
| 566 | return -1; |
| 567 | } else |
| 568 | ; |
| 569 | |
| 570 | // theSOE->setAnalysisModel(*theAnalysisModel); |
nothing calls this directly
no test coverage detected