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

Method addNode

DEVELOPER/core/Subdomain.cpp:181–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179// Method to add a Node to the model.
180
181bool
182Subdomain::addNode(Node * node)
183{
184#ifdef _G3DEBUG
185// int nodTag = node->getTag();
186// // check no other node exists with same tag
187// Node *nodePtr = this->getNodePtr(nodTag);
188// if (nodePtr != 0)
189// return false;
190//
191// // MISSING CODE
192#endif
193
194 bool result = internalNodes->addComponent(node);
195 if (result == true) {
196 node->setDomain(this);
197 this->domainChange();
198 }
199
200 return result;
201}
202
203bool
204Subdomain::addExternalNode(Node *thePtr)

Callers

nothing calls this directly

Calls 3

addComponentMethod · 0.45
setDomainMethod · 0.45
domainChangeMethod · 0.45

Tested by

no test coverage detected