57LIBeam3dBoundaryPlate :: giveDofManDofIDMask(
int inode,
IntArray &answer)
const
60 answer = { E_xx, E_xy, E_yx, E_yy, E_zx, E_zy, K_xx, K_yy, K_xy, K_yx };
62 answer = { D_u, D_v, D_w, R_u, R_v, R_w };
72 unitCellSize.
at(1) = this->
giveNode(3)->giveCoordinate(1);
73 unitCellSize.
at(2) = this->
giveNode(3)->giveCoordinate(2);
83 k1.
at(1, 1) = unitCellSize.
at(1) * switches1.
at(1);
84 k1.
at(1, 2) = unitCellSize.
at(2) * switches1.
at(2);
85 k1.
at(2, 3) = unitCellSize.
at(1) * switches1.
at(1);
86 k1.
at(2, 4) = unitCellSize.
at(2) * switches1.
at(2);
87 k1.
at(3, 5) = unitCellSize.
at(1) * switches1.
at(1);
88 k1.
at(3, 6) = unitCellSize.
at(2) * switches1.
at(2);
89 k1.
at(1, 7) = -( this->
giveNode(1)->giveCoordinate(3) ) * unitCellSize.
at(1) * switches1.
at(1);
90 k1.
at(2, 8) = -( this->
giveNode(1)->giveCoordinate(3) ) * unitCellSize.
at(2) * switches1.
at(2);
91 k1.
at(1, 9) = -( this->
giveNode(1)->giveCoordinate(3) ) * unitCellSize.
at(2) * switches1.
at(2);
92 k1.
at(2, 10) = -( this->
giveNode(1)->giveCoordinate(3) ) * unitCellSize.
at(1) * switches1.
at(1);
96 k1.
at(4, 8) = unitCellSize.
at(2) * switches1.
at(2);
97 k1.
at(4, 10) = unitCellSize.
at(1) * switches1.
at(1);
99 k1.
at(5, 7) = -unitCellSize.
at(1) * switches1.
at(1);
100 k1.
at(5, 9) = -unitCellSize.
at(2) * switches1.
at(2);
103 k2.
at(1, 1) = unitCellSize.
at(1) * switches2.
at(1);
104 k2.
at(1, 2) = unitCellSize.
at(2) * switches2.
at(2);
105 k2.
at(2, 3) = unitCellSize.
at(1) * switches2.
at(1);
106 k2.
at(2, 4) = unitCellSize.
at(2) * switches2.
at(2);
107 k2.
at(3, 5) = unitCellSize.
at(1) * switches2.
at(1);
108 k2.
at(3, 6) = unitCellSize.
at(2) * switches2.
at(2);
109 k2.
at(1, 7) = -( this->
giveNode(2)->giveCoordinate(3) ) * unitCellSize.
at(1) * switches2.
at(1);
110 k2.
at(2, 8) = -( this->
giveNode(2)->giveCoordinate(3) ) * unitCellSize.
at(2) * switches2.
at(2);
111 k2.
at(1, 9) = -( this->
giveNode(2)->giveCoordinate(3) ) * unitCellSize.
at(2) * switches2.
at(2);
112 k2.
at(2, 10) = -( this->
giveNode(2)->giveCoordinate(3) ) * unitCellSize.
at(1) * switches2.
at(1);
115 k2.
at(4, 8) = unitCellSize.
at(2) * switches2.
at(2);
116 k2.
at(4, 10) = unitCellSize.
at(1) * switches2.
at(1);
118 k2.
at(5, 7) = -unitCellSize.
at(1) * switches2.
at(1);
119 k2.
at(5, 9) = -unitCellSize.
at(2) * switches2.
at(2);
125 answer.
assemble(k1, { 1, 2, 3, 4, 5, 6 }, { 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 });
126 answer.
assemble(k2, { 7, 8, 9, 10, 11, 12 }, { 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 });