| 781 | |
| 782 | |
| 783 | Element * |
| 784 | ShadowSubdomain::getElement(int tag) |
| 785 | { |
| 786 | opserr << "ShadowSubdomain::getElement(int tag) START \n"; |
| 787 | if (theElements.getLocation(tag) < 0) |
| 788 | return 0; |
| 789 | |
| 790 | |
| 791 | opserr << "ShadowSubdomain::getElement(int tag) 2\n"; |
| 792 | msgData(0) = ShadowActorSubdomain_getElement; |
| 793 | msgData(1) = tag; |
| 794 | this->sendID(msgData); |
| 795 | this->recvID(msgData); |
| 796 | int theType = msgData(0); |
| 797 | |
| 798 | opserr << "ShadowSubdomain::getElement(int tag) 3 type: " << theType << endln; |
| 799 | |
| 800 | Element *theEle = theObjectBroker->getNewElement(theType); |
| 801 | |
| 802 | |
| 803 | if (theEle != 0) { |
| 804 | opserr << *theEle; |
| 805 | this->recvObject(*theEle); |
| 806 | } |
| 807 | |
| 808 | opserr << *theEle; |
| 809 | opserr << "ShadowSubdomain::getElement(int tag) DONE\n"; |
| 810 | |
| 811 | return theEle; |
| 812 | } |
| 813 | |
| 814 | Node * |
| 815 | ShadowSubdomain::getNode(int tag) |
no test coverage detected