Go to the documentation of this file.
18 params.addRequiredParam<std::string>(
"eigenstrain_name",
19 "Material property name for the eigenstrain vector computed "
20 "by this model. IMPORTANT: The name of this property must "
21 "also be provided to the strain calculator.");
26 : Material(parameters),
27 _eigenstrain_name(getParam<std::string>(
"eigenstrain_name")),
28 _disp_eigenstrain(declareProperty<RealVectorValue>(
"disp_" + _eigenstrain_name)),
29 _rot_eigenstrain(declareProperty<RealVectorValue>(
"rot_" + _eigenstrain_name)),
30 _step_zero(declareRestartableData<bool>(
"step_zero", true))
virtual void computeQpEigenstrain()=0
Compute the eigenstrain and store in _disp_eigenstrain and _rot_eigenstrain.
virtual void computeQpProperties()
ComputeEigenstrainBeamBase is the base class for beam eigenstrain vectors.
ComputeEigenstrainBeamBase(const InputParameters ¶meters)
MaterialProperty< RealVectorValue > & _rot_eigenstrain
Stores the current rotational eigenstrain.
InputParameters validParams()
defineLegacyParams(ComputeEigenstrainBeamBase)
static InputParameters validParams()
bool & _step_zero
Restartable data to check for the zeroth and first time steps for thermal calculations.
virtual void initQpStatefulProperties()
MaterialProperty< RealVectorValue > & _disp_eigenstrain
Stores the current displacement eigenstrain.