20 params.addClassDescription(
"Assemble an elasticity tensor from multiple tensor contributions "
21 "weighted by material properties");
22 params.addParam<std::string>(
"base_name",
23 "Optional parameter that allows the user to define "
24 "multiple mechanics material systems on the same "
25 "block, i.e. for multiple phases");
31 _base_name(isParamValid(
"base_name") ? getParam<std::string>(
"base_name") +
"_" :
""),
32 _M_name(_base_name +
"elasticity_tensor"),
36 for (
unsigned int i = 0; i < _num_comp; ++i)
37 _tensor_names[i] +=
"_elasticity_tensor";
39 initializeDerivativeProperties(
_M_name);
45 computeQpTensorProperties(
_M);