| 40 | ID ElasticSection3d::code(4); |
| 41 | |
| 42 | void* OPS_ElasticSection3d() |
| 43 | { |
| 44 | if(OPS_GetNumRemainingInputArgs() < 7) { |
| 45 | opserr<<"insufficient arguments for ealstic 3d section\n"; |
| 46 | return 0; |
| 47 | } |
| 48 | |
| 49 | // get tag |
| 50 | int tag; |
| 51 | int numData = 1; |
| 52 | if(OPS_GetIntInput(&numData,&tag) < 0) return 0; |
| 53 | |
| 54 | // get data |
| 55 | numData = 6; |
| 56 | double data[6]; |
| 57 | if(OPS_GetDoubleInput(&numData,&data[0]) < 0) return 0; |
| 58 | |
| 59 | return new ElasticSection3d(tag,data[0],data[1],data[2], |
| 60 | data[3],data[4],data[5]); |
| 61 | } |
| 62 | |
| 63 | |
| 64 | ElasticSection3d::ElasticSection3d(void) |
no test coverage detected