20 params.addClassDescription(
21 "Transforms stress with volumetric term from previous configuration to this configuration");
22 params.addRequiredParam<MaterialPropertyName>(
"pre_stress_name",
23 "Name of stress variable from previous config.");
24 params.addRequiredParam<MaterialPropertyName>(
"deform_grad_name",
25 "Name of deformation gradient variable");
26 params.addParam<MaterialPropertyName>(
"pre_jacobian_name",
27 "Name of Jacobian variable from previous config.");
28 params.addRequiredParam<MaterialPropertyName>(
"stress_name",
"Name of stress variable");
29 params.addParam<MaterialPropertyName>(
"jacobian_name",
"Name of Jacobian variable");
34 : DerivativeMaterialInterface<Material>(parameters),
35 _pre_stress(getMaterialProperty<
RankTwoTensor>(
"pre_stress_name")),
36 _deformation_gradient(getMaterialProperty<
RankTwoTensor>(
"deform_grad_name")),
37 _stress(declareProperty<
RankTwoTensor>(getParam<MaterialPropertyName>(
"stress_name")))
39 if (isParamValid(
"pre_jacobian_name"))
42 if (isParamValid(
"jacobian_name"))
44 &declareProperty<RankFourTensor>(getParam<MaterialPropertyName>(
"jacobian_name"));
65 if (isParamValid(
"pre_jacobian_name") && isParamValid(
"jacobian_name"))
66 (*_Jacobian_mult)[_qp] = (*_pre_Jacobian_mult)[_qp];