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

Method removeNode

DEVELOPER/core/Domain.cpp:1038–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1036}
1037
1038Node *
1039Domain::removeNode(int tag)
1040{
1041 // remove the object from the container
1042 TaggedObject *mc = theNodes->removeComponent(tag);
1043
1044 // if not there return 0
1045 if (mc == 0)
1046 return 0;
1047
1048 // mark the domain has having changed
1049 this->domainChange();
1050
1051 // perform a downward cast to a Node (safe as only Node added to
1052 // this container and return the result of the cast
1053 Node *result = (Node *)mc;
1054 // result->setDomain(0);
1055 return result;
1056}
1057
1058
1059int

Callers 1

~Pressure_ConstraintMethod · 0.45

Calls 2

domainChangeMethod · 0.95
removeComponentMethod · 0.45

Tested by

no test coverage detected