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

Method compTransfMatrixBasicLocal

SRC/coordTransformation/CorotCrdTransf3d.cpp:1021–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019
1020
1021void
1022CorotCrdTransf3d::compTransfMatrixBasicLocal(Matrix &Tbl)
1023{
1024 // setup transformation matrix from basic to local
1025 Tbl.Zero();
1026
1027 // first get transformation matrix from basic to global
1028 static Matrix Tbg(6, 12);
1029 Tbg.addMatrixProduct(0.0, Tp, T, 1.0);
1030
1031 // get inverse of transformation matrix from local to global
1032 this->compTransfMatrixLocalGlobal(Tlg);
1033 // Tlg.Invert(TlgInv);
1034 TlgInv.addMatrixTranspose(0.0, Tlg, 1.0); // for square rot-matrix: Tlg^-1 = Tlg'
1035
1036 // finally get transformation matrix from basic to local
1037 Tbl.addMatrixProduct(0.0, Tbg, TlgInv, 1.0);
1038}
1039
1040
1041const Vector &

Callers

nothing calls this directly

Calls 4

ZeroMethod · 0.45
addMatrixProductMethod · 0.45
addMatrixTransposeMethod · 0.45

Tested by

no test coverage detected