24 _trans_d6_to_d9(9, 6),
26 _trans_d9_to_d6(6, 9),
46 _trans_d6_to_d9(9, 6),
48 _trans_d9_to_d6(6, 9),
55 if ((all_21 ==
true && init_list.size() != 21) || (all_21 ==
false && init_list.size() != 9))
56 mooseError(
"Please correct the number of entries in the stiffness input.");
60 for (
int i = 0; i < 21; i++)
61 _val[i] = init_list[i];
65 _val[0] = init_list[0];
66 _val[1] = init_list[1];
67 _val[2] = init_list[2];
68 _val[6] = init_list[3];
69 _val[7] = init_list[4];
70 _val[11] = init_list[5];
71 _val[15] = init_list[6];
72 _val[18] = init_list[7];
73 _val[20] = init_list[8];
161 for (
int j(0); j < 6; ++j)
163 for (
int i(j); i < 6; ++i)
177 Real cp1 = std::cos(phi1);
178 Real cp2 = std::cos(phi2);
179 Real cp = std::cos(phi);
181 Real sp1 = std::sin(phi1);
182 Real sp2 = std::sin(phi2);
183 Real sp = std::sin(phi);
185 _r(0, 0) = cp1 * cp2 - sp1 * sp2 * cp;
186 _r(0, 1) = sp1 * cp2 + cp1 * sp2 * cp;
188 _r(1, 0) = -cp1 * sp2 - sp1 * cp2 * cp;
189 _r(1, 1) = -sp1 * sp2 + cp1 * cp2 * cp;
192 _r(2, 1) = -cp1 * sp;
215 for (
int i = 0; i < 6; i++)
217 for (
int j = i; j < 6; j++)
228 for (
int i = 0; i < 3; ++i)
229 for (
int j = 0; j < 3; ++j)
230 for (
int k = 0; k < 3; ++k)
231 for (
int l = 0; l < 3; ++l)
232 _q(((i * 3) + k), ((j * 3) + l)) =
_r(i, j) *
_r(k, l);
301 for (
unsigned j(0); j < 9; ++j)
303 for (
unsigned i(0); i < 9; ++i)
305 _dmat(i, j) = temp_dmat(i, j);
327 ColumnMajorMatrix tmp(9, 9);
328 for (
unsigned j(0); j < 9; ++j)
330 for (
unsigned i(0); i < 9; ++i)
339 for (
unsigned j(0); j < 6; ++j)
341 for (
unsigned i(0); i < 6; ++i)
343 _dt(i, j) = wilma(i, j);
355 DenseMatrix<Real> outputMatrix(9, 9);
357 _q.get_transpose(outputMatrix);
358 outputMatrix.right_multiply(
_dmat);
385 for (
int j(0); j < 6; ++j)
387 for (
int i(j); i < 6; ++i)
397 printf(
"\nSymmAnisotropicElasticityTensor::show_dt_matrix()\n");
399 for (
int j = 0; j < 6; ++j)
402 for (
int i = 0; i < 6; ++i)
404 printf(
"%12.4f ",
_dt(i, j));
413 printf(
"\nSymmAnisotropicElasticityTensor::show_r_matrix() Euler angles are (%f, %f, %f)\n",
418 for (
int j = 0; j < 3; ++j)
421 for (
int i = 0; i < 3; ++i)
423 printf(
"%8.4f ",
_r(i, j));