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

Method getNode

SRC/domain/subdomain/ShadowSubdomain.cpp:814–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814Node *
815ShadowSubdomain::getNode(int tag)
816{
817 Node *theNod = 0;
818
819 if (theNodes.getLocation(tag) < 0)
820 return 0;
821
822 msgData(0) = ShadowActorSubdomain_getNode;
823 msgData(1) = tag;
824 this->sendID(msgData);
825 this->recvID(msgData);
826 int theType = msgData(0);
827 if (theType != -1) {
828 theNod = theObjectBroker->getNewNode(theType);
829
830 if (theNod != 0) {
831 this->recvObject(*theNod);
832 }
833 }
834
835 return theNod;
836}
837
838int
839ShadowSubdomain::getNumElements(void) const

Callers

nothing calls this directly

Calls 5

getLocationMethod · 0.45
sendIDMethod · 0.45
recvIDMethod · 0.45
getNewNodeMethod · 0.45
recvObjectMethod · 0.45

Tested by

no test coverage detected