11 #include "RankTwoTensor.h"
21 params.addClassDescription(
22 "Calculates summation of the derivative of the eigenstrains with respect to temperature.");
23 params.addRequiredCoupledVar(
"temperature",
"Coupled temperature");
24 params.addParam<std::vector<MaterialPropertyName>>(
25 "eigenstrain_names",
"List of eigenstrains to be applied in this strain calculation");
30 : DerivativeMaterialInterface<Material>(parameters),
31 _base_name(isParamValid(
"base_name") ? getParam<std::string>(
"base_name") +
"_" :
""),
32 _eigenstrain_names(getParam<std::vector<MaterialPropertyName>>(
"eigenstrain_names")),
33 _deigenstrain_dT(_eigenstrain_names.size()),
34 _total_deigenstrain_dT(declareProperty<
RankTwoTensor>(
"total_deigenstrain_dT"))
37 VariableName temp_name = getVar(
"temperature", 0)->name();
39 mooseWarning(
"No 'eigenstrain_names' specified for ThermalFractureIntegral when 'temperature' "