20 InputParameters params = validParams<Kernel>();
21 params.addRequiredRangeCheckedParam<
unsigned int>(
"component",
22 "component >= 0 & component < 3",
23 "An integer corresponding to the direction "
24 "the variable this kernel acts in. (0 for x, "
26 params.addRequiredRangeCheckedParam<
unsigned int>(
28 "column >= 0 & column < 6",
29 "An integer corresponding to the direction the "
30 "variable this kernel acts in. (0 for xx, 1 for yy, 2 "
31 "for zz, 3 for xy, 4 for yz, 5 for zx)");
32 params.addParam<std::string>(
33 "appended_property_name",
"",
"Name appended to material properties to make them unique");
42 "elasticity_tensor" + getParam<std::string>(
"appended_property_name"))),
43 _component(getParam<unsigned int>(
"component")),
44 _column(getParam<unsigned int>(
"column"))
46 mooseDeprecated(
name(),
": HomogenizationKernel is deprecated. \
47 The solid_mechanics module will be removed from MOOSE on July 31, 2020. \
48 Please update your input files to utilize the tensor_mechanics equivalents of \
49 models based on solid_mechanics. A detailed migration guide that was developed \
50 for BISON, but which is generally applicable to any MOOSE model is available at: \
51 https://mooseframework.org/bison/tutorials/mechanics_conversion/overview.html");
57 unsigned k = 0, l = 0;
95 const unsigned J(3 * l + k);
102 for (
unsigned j = 0; j < 3; j++)
105 value += E(I, J) * _grad_test[_i][_qp](j);