| 457 | } |
| 458 | |
| 459 | int |
| 460 | TransformationConstraintHandler::enforceSPs(void) |
| 461 | { |
| 462 | for (int i=1; i<=numConstrainedNodes; i++) { |
| 463 | // upward cast - safe as i put it in this location |
| 464 | TransformationDOF_Group *theDof = |
| 465 | (TransformationDOF_Group *)theDOFs[numDOF-i]; |
| 466 | theDof->enforceSPs(1); |
| 467 | } |
| 468 | for (int k=1; k<=numConstrainedNodes; k++) { |
| 469 | // upward cast - safe as i put it in this location |
| 470 | TransformationDOF_Group *theDof = |
| 471 | (TransformationDOF_Group *)theDOFs[numDOF-k]; |
| 472 | theDof->enforceSPs(0); |
| 473 | } |
| 474 | |
| 475 | for (int j=0; j<numFE; j++) { |
| 476 | FE_Element *theEle = theFEs[j]; |
| 477 | theEle->updateElement(); |
| 478 | } |
| 479 | |
| 480 | return 0; |
| 481 | } |
| 482 | |
| 483 | int |
| 484 | TransformationConstraintHandler::doneNumberingDOF(void) |
no test coverage detected