| 142 | |
| 143 | |
| 144 | static void *OPS_ElasticSection(void) |
| 145 | { |
| 146 | int numData = OPS_GetNumRemainingInputArgs(); |
| 147 | void* theSec = 0; |
| 148 | int ndm = OPS_GetNDM(); |
| 149 | if(ndm == 2) { |
| 150 | if(numData == 4) { |
| 151 | theSec = OPS_ElasticSection2d(); |
| 152 | } else if(numData >=5) { |
| 153 | theSec = OPS_ElasticShearSection2d(); |
| 154 | } |
| 155 | } else if(ndm == 3) { |
| 156 | if(numData == 7) { |
| 157 | theSec = OPS_ElasticSection3d(); |
| 158 | } else if(numData >= 8) { |
| 159 | theSec = OPS_ElasticShearSection3d(); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | return theSec; |
| 164 | } |
| 165 | |
| 166 | static void* OPS_FiberSection() |
| 167 | { |
nothing calls this directly
no test coverage detected