MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / OPS_CorotCrdTransf

Function OPS_CorotCrdTransf

SRC/interpreter/OpenSeesCrdTransfCommands.cpp:52–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

OPS_CrdTransfFunction · 0.85

Calls 6

OPS_CorotCrdTransf2dFunction · 0.85
OPS_CorotCrdTransf3dFunction · 0.85
OPS_GetNDMFunction · 0.70
OPS_GetNDFFunction · 0.70

Tested by

no test coverage detected