| 179 | // Method to add a Node to the model. |
| 180 | |
| 181 | bool |
| 182 | Subdomain::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 | |
| 203 | bool |
| 204 | Subdomain::addExternalNode(Node *thePtr) |
nothing calls this directly
no test coverage detected