| 501 | } |
| 502 | |
| 503 | int |
| 504 | PFEMIntegrator::formNodUnbalance(DOF_Group *theDof) |
| 505 | { |
| 506 | if (sensitivityFlag == 0) { // NO SENSITIVITY ANALYSIS |
| 507 | |
| 508 | this->TransientIntegrator::formNodUnbalance(theDof); |
| 509 | |
| 510 | } else { // ASSEMBLE ALL TERMS |
| 511 | |
| 512 | theDof->zeroUnbalance(); |
| 513 | |
| 514 | // The term -M*(-1/dt*dvn) |
| 515 | theDof->addM_Force(dVn, c3); |
| 516 | |
| 517 | // The term -dM/dh*acc |
| 518 | theDof->addM_ForceSensitivity(*Udotdot, -1.0); |
| 519 | |
| 520 | // The term -C*(dvn) |
| 521 | //theDof->addD_Force(dVn ,-1.0); |
| 522 | |
| 523 | |
| 524 | // The term -dC/dh*vel |
| 525 | theDof->addD_ForceSensitivity(*Udot,-1.0); |
| 526 | |
| 527 | |
| 528 | // In case of random loads (have already been formed by 'applyLoadSensitivity') |
| 529 | theDof->addPtoUnbalance(); |
| 530 | |
| 531 | } |
| 532 | |
| 533 | return 0; |
| 534 | } |
| 535 | |
| 536 | |
| 537 | int PFEMIntegrator::domainChanged() |
nothing calls this directly
no test coverage detected