MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / getElement

Method getElement

SRC/domain/subdomain/ShadowSubdomain.cpp:783–812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781
782
783Element *
784ShadowSubdomain::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
814Node *
815ShadowSubdomain::getNode(int tag)

Callers 2

hasElementMethod · 0.45
runMethod · 0.45

Calls 5

getLocationMethod · 0.45
sendIDMethod · 0.45
recvIDMethod · 0.45
getNewElementMethod · 0.45
recvObjectMethod · 0.45

Tested by

no test coverage detected