20 params.addParam<std::string>(
"base_name",
21 "Optional parameter that allows the user to define "
22 "multiple mechanics material systems on the same "
23 "block, i.e. for multiple phases");
24 params.addClassDescription(
"Plastic heat energy density = stress * plastic_strain_rate");
29 : DerivativeMaterialInterface<Material>(parameters),
30 _base_name(isParamValid(
"base_name") ? getParam<std::string>(
"base_name") +
"_" :
""),
31 _plastic_strain(getMaterialProperty<
RankTwoTensor>(
"plastic_strain")),
32 _plastic_strain_old(getMaterialPropertyOld<
RankTwoTensor>(
"plastic_strain")),
33 _stress(getMaterialProperty<
RankTwoTensor>(_base_name +
"stress")),
34 _Jacobian_mult(getMaterialProperty<
RankFourTensor>(_base_name +
"Jacobian_mult")),
35 _elasticity_tensor(getMaterialProperty<
RankFourTensor>(_base_name +
"elasticity_tensor")),
36 _plastic_heat(declareProperty<Real>(_base_name +
"plastic_heat")),
37 _dplastic_heat_dstrain(declareProperty<
RankTwoTensor>(_base_name +
"dplastic_heat_dstrain"))
46 if (_fe_problem.currentlyComputingJacobian())