| 412 | |
| 413 | |
| 414 | void |
| 415 | TransformationConstraintHandler::clearAll(void) |
| 416 | { |
| 417 | // delete the arrays |
| 418 | if (theFEs != 0) delete [] theFEs; |
| 419 | if (theDOFs != 0) delete [] theDOFs; |
| 420 | |
| 421 | // reset the numbers |
| 422 | numDOF = 0; |
| 423 | numFE = 0; |
| 424 | theFEs = 0; |
| 425 | theDOFs = 0; |
| 426 | |
| 427 | // for the nodes reset the DOF_Group pointers to 0 |
| 428 | Domain *theDomain = this->getDomainPtr(); |
| 429 | if (theDomain == 0) |
| 430 | return; |
| 431 | |
| 432 | NodeIter &theNod = theDomain->getNodes(); |
| 433 | Node *nodPtr; |
| 434 | while ((nodPtr = theNod()) != 0) |
| 435 | nodPtr->setDOF_GroupPtr(0); |
| 436 | } |
| 437 | |
| 438 | int |
| 439 | TransformationConstraintHandler::sendSelf(int cTag, Channel &theChannel) |
nothing calls this directly
no test coverage detected