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

Method compTransfMatrixLocalGlobal

SRC/coordTransformation/CorotCrdTransf3d.cpp:1003–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001
1002
1003void
1004CorotCrdTransf3d::compTransfMatrixLocalGlobal(Matrix &Tlg)
1005{
1006 // setup transformation matrix from local to global
1007 Tlg.Zero();
1008
1009 Tlg(0,0) = Tlg(3,3) = Tlg(6,6) = Tlg(9,9) = R0(0,0);
1010 Tlg(0,1) = Tlg(3,4) = Tlg(6,7) = Tlg(9,10) = R0(1,0);
1011 Tlg(0,2) = Tlg(3,5) = Tlg(6,8) = Tlg(9,11) = R0(2,0);
1012 Tlg(1,0) = Tlg(4,3) = Tlg(7,6) = Tlg(10,9) = R0(0,1);
1013 Tlg(1,1) = Tlg(4,4) = Tlg(7,7) = Tlg(10,10) = R0(1,1);
1014 Tlg(1,2) = Tlg(4,5) = Tlg(7,8) = Tlg(10,11) = R0(2,1);
1015 Tlg(2,0) = Tlg(5,3) = Tlg(8,6) = Tlg(11,9) = R0(0,2);
1016 Tlg(2,1) = Tlg(5,4) = Tlg(8,7) = Tlg(11,10) = R0(1,2);
1017 Tlg(2,2) = Tlg(5,5) = Tlg(8,8) = Tlg(11,11) = R0(2,2);
1018}
1019
1020
1021void

Callers 2

Calls 1

ZeroMethod · 0.45

Tested by

no test coverage detected