| 522 | } |
| 523 | |
| 524 | void |
| 525 | AutoConstraintHandler::clearAll(void) |
| 526 | { |
| 527 | // reset the TransformationDOF_Group vector |
| 528 | // don't delete the pointer inside the vector (owned by the model) |
| 529 | theDOFs.clear(); |
| 530 | |
| 531 | // for the nodes reset the DOF_Group pointers to 0 |
| 532 | Domain* theDomain = this->getDomainPtr(); |
| 533 | if (theDomain == 0) |
| 534 | return; |
| 535 | NodeIter& theNod = theDomain->getNodes(); |
| 536 | Node* nodPtr; |
| 537 | while ((nodPtr = theNod()) != 0) |
| 538 | nodPtr->setDOF_GroupPtr(0); |
| 539 | } |
| 540 | |
| 541 | int |
| 542 | AutoConstraintHandler::sendSelf(int cTag, Channel& theChannel) |
nothing calls this directly
no test coverage detected