20 "Name of base tensor property");
21 params.
addParam<MaterialPropertyName>(
22 "prefactor", 1.0,
"Name of material defining the variable dependence");
24 "offset_tensor",
"Vector of values defining the constant base tensor for the Eigenstrain");
30 _base_tensor(getMaterialProperty<RealTensorValue>(
"base_tensor_property_name")),
31 _prefactor(getMaterialProperty<Real>(
"prefactor"))
registerMooseObject("SolidMechanicsApp", ComputeVariableBaseEigenStrain)
ComputeEigenstrainBase is the base class for eigenstrain tensors.
GenericMaterialProperty< RankTwoTensor, is_ad > & _eigenstrain
Stores the current total eigenstrain.
static InputParameters validParams()
ComputeVariableBaseEigenstrain computes an Eigenstrain based on a real tensor value material property...
virtual void computeQpEigenstrain()
Compute the eigenstrain and store in _eigenstrain.
const MaterialProperty< Real > & _prefactor
RankTwoTensor _offset_tensor
ComputeVariableBaseEigenStrain(const InputParameters ¶meters)
static InputParameters validParams()
const MaterialProperty< RealTensorValue > & _base_tensor
const T & getParam(const std::string &name) const
bool isParamValid(const std::string &name) const
void fillFromInputVector(const std::vector< T > &input, FillMethod fill_method=autodetect)