| 50 | } |
| 51 | } |
| 52 | void* OPS_CorotCrdTransf() |
| 53 | { |
| 54 | int ndm = OPS_GetNDM(); |
| 55 | int ndf = OPS_GetNDF(); |
| 56 | if(ndm == 2 && ndf == 3) { |
| 57 | return OPS_CorotCrdTransf2d(); |
| 58 | } else if(ndm == 2 && ndf == 4) { |
| 59 | return OPS_CorotCrdTransfWarping2d(); |
| 60 | } else if(ndm == 3 && ndf == 6) { |
| 61 | return OPS_CorotCrdTransf3d(); |
| 62 | } else if(ndm == 3 && ndf == 7) { |
| 63 | return OPS_CorotCrdTransfWarping3d(); |
| 64 | } else { |
| 65 | opserr<<"current NDM and NDF is incompatible with frame elements\n"; |
| 66 | return 0; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | } |
| 71 |
no test coverage detected