58LTRSpaceBoundaryMembrane :: giveDofManDofIDMask(
int inode,
IntArray &answer)
const
61 answer = { E_xx, E_xy, E_yx, E_yy };
63 answer = { D_u, D_v, D_w };
73 unitCellSize.
at(1) = this->
giveNode(5)->giveCoordinate(1);
74 unitCellSize.
at(2) = this->
giveNode(5)->giveCoordinate(2);
76 IntArray switches1, switches2, switches3, switches4;
88 k1.
at(1, 1) = unitCellSize.
at(1) * switches1.
at(1);
89 k1.
at(1, 2) = unitCellSize.
at(2) * switches1.
at(2);
90 k1.
at(2, 3) = unitCellSize.
at(1) * switches1.
at(1);
91 k1.
at(2, 4) = unitCellSize.
at(2) * switches1.
at(2);
93 k2.
at(1, 1) = unitCellSize.
at(1) * switches2.
at(1);
94 k2.
at(1, 2) = unitCellSize.
at(2) * switches2.
at(2);
95 k2.
at(2, 3) = unitCellSize.
at(1) * switches2.
at(1);
96 k2.
at(2, 4) = unitCellSize.
at(2) * switches2.
at(2);
98 k3.
at(1, 1) = unitCellSize.
at(1) * switches3.
at(1);
99 k3.
at(1, 2) = unitCellSize.
at(2) * switches3.
at(2);
100 k3.
at(2, 3) = unitCellSize.
at(1) * switches3.
at(1);
101 k3.
at(2, 4) = unitCellSize.
at(2) * switches3.
at(2);
103 k4.
at(1, 1) = unitCellSize.
at(1) * switches4.
at(1),
104 k4.
at(1, 2) = unitCellSize.
at(2) * switches4.
at(2);
105 k4.
at(2, 3) = unitCellSize.
at(1) * switches4.
at(1);
106 k4.
at(2, 4) = unitCellSize.
at(2) * switches4.
at(2);
112 answer.
assemble(k1, { 1, 2, 3 }, { 13, 14, 15, 16 });
113 answer.
assemble(k2, { 4, 5, 6 }, { 13, 14, 15, 16 });
114 answer.
assemble(k3, { 7, 8, 9 }, { 13, 14, 15, 16 });
115 answer.
assemble(k4, { 10, 11, 12 }, { 13, 14, 15, 16 });