| 71 | extern void* OPS_ElasticShearSection3d(void); |
| 72 | |
| 73 | void *OPS_ElasticSection(void) |
| 74 | { |
| 75 | int numData = OPS_GetNumRemainingInputArgs(); |
| 76 | void* theSec = 0; |
| 77 | int ndm = OPS_GetNDM(); |
| 78 | if(ndm == 2) { |
| 79 | if(numData == 4) { |
| 80 | theSec = OPS_ElasticSection2d(); |
| 81 | } else if(numData >=5) { |
| 82 | theSec = OPS_ElasticShearSection2d(); |
| 83 | } |
| 84 | } else if(ndm == 3) { |
| 85 | if(numData == 7) { |
| 86 | theSec = OPS_ElasticSection3d(); |
| 87 | } else if(numData >= 8) { |
| 88 | theSec = OPS_ElasticShearSection3d(); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | return theSec; |
| 93 | } |
| 94 | |
| 95 | ElasticSection2d::ElasticSection2d(void) |
| 96 | :SectionForceDeformation(0, SEC_TAG_Elastic2d), |
no test coverage detected