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

Function OPS_LinearCrdTransf

SRC/interpreter/OpenSeesCrdTransfCommands.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24namespace {
25 static void* OPS_LinearCrdTransf()
26 {
27 int ndm = OPS_GetNDM();
28 int ndf = OPS_GetNDF();
29 if (ndm == 2 && ndf == 3) {
30 return OPS_LinearCrdTransf2d();
31 } else if (ndm == 3 && ndf == 6) {
32 return OPS_LinearCrdTransf3d();
33 } else {
34 opserr<<"current NDM and NDF is incompatible with frame elements\n";
35 return 0;
36 }
37 }
38
39 void* OPS_PDeltaCrdTransf()
40 {

Callers 1

OPS_CrdTransfFunction · 0.85

Calls 4

OPS_LinearCrdTransf2dFunction · 0.85
OPS_LinearCrdTransf3dFunction · 0.85
OPS_GetNDMFunction · 0.70
OPS_GetNDFFunction · 0.70

Tested by

no test coverage detected