| 719 | |
| 720 | |
| 721 | int |
| 722 | MembranePlateFiberSection::getResponse(int responseID, Information §Info) |
| 723 | { |
| 724 | if (responseID == 777) { |
| 725 | int count = 0; |
| 726 | for (int j = 0; j < numFibers; j++) { |
| 727 | if (theFibers[j]->hasFailed() == true) { |
| 728 | count += 1; |
| 729 | } |
| 730 | } |
| 731 | if (count == numFibers) |
| 732 | count = 1; |
| 733 | else |
| 734 | count = 0; |
| 735 | |
| 736 | return sectInfo.setInt(count); |
| 737 | } |
| 738 | |
| 739 | // Just call the base class method ... don't need to define |
| 740 | // this function, but keeping it here just for clarity |
| 741 | return SectionForceDeformation::getResponse(responseID, sectInfo); |
| 742 | } |
| 743 | |
| 744 | int MembranePlateFiberSection::setParameter(const char** argv, int argc, Parameter& param) |
| 745 | { |