22 "eigen_base",
"Vector of values defining the constant base tensor for the Eigenstrain");
23 params.
addParam<MaterialPropertyName>(
24 "prefactor", 1.0,
"Name of material property defining the variable dependence");
31 _prefactor(this->template getGenericMaterialProperty<Real, is_ad>(
"prefactor"))
41 _eigenstrain[_qp] = _eigen_base_tensor * _prefactor[_qp];
registerMooseObject("SolidMechanicsApp", ComputeEigenstrain)
ComputeEigenstrainBase is the base class for eigenstrain tensors.
static InputParameters validParams()
ComputeEigenstrain computes an Eigenstrain that is a function of a single variable defined by a base ...
static InputParameters validParams()
RankTwoTensor _eigen_base_tensor
virtual void computeQpEigenstrain() override
Compute the eigenstrain and store in _eigenstrain.
ComputeEigenstrainTempl(const InputParameters ¶meters)
const T & getParam(const std::string &name) const
void fillFromInputVector(const std::vector< T > &input, FillMethod fill_method=autodetect)