| 480 | } |
| 481 | |
| 482 | int |
| 483 | Element::getResponse(int responseID, Information &eleInfo) |
| 484 | { |
| 485 | switch (responseID) { |
| 486 | case 111111: // global forces |
| 487 | return eleInfo.setVector(this->getResistingForce()); |
| 488 | case 222222: |
| 489 | return eleInfo.setVector(this->getRayleighDampingForces()); |
| 490 | case 333333: |
| 491 | return eleInfo.setVector(this->getResistingForceIncInertia()); |
| 492 | case 444444: |
| 493 | return eleInfo.setVector(this->getResistingForceIncInertia()-this->getRayleighDampingForces()-this->getResistingForce()); |
| 494 | |
| 495 | default: |
| 496 | return -1; |
| 497 | } |
| 498 | } |
| 499 | |
| 500 | int |
| 501 | Element::getResponseSensitivity(int responseID, int gradIndex, |
nothing calls this directly
no test coverage detected