14 TensorMechanicsHardeningConstant,
24 "The value of the parameter for all internal parameter. "
25 "This is perfect plasticity - there is no hardening.");
26 params.
addParam<
bool>(
"convert_to_radians",
28 "If true, the value you entered will be "
29 "multiplied by Pi/180 before passing to the "
30 "Plasticity algorithms");
32 "No hardening - the parameter is independent of the internal parameter(s)");
38 _val(getParam<bool>(
"convert_to_radians") ? getParam<Real>(
"value") *
libMesh::pi / 180.0
39 : getParam<Real>(
"value"))
registerMooseObject("SolidMechanicsApp", SolidMechanicsHardeningConstant)
registerMooseObjectRenamed("SolidMechanicsApp", TensorMechanicsHardeningConstant, "01/01/2025 00:00", SolidMechanicsHardeningConstant)
No hardening - the parameter assumes the value _val for all internal parameters.
virtual Real derivative(Real intnl) const override
static InputParameters validParams()
virtual std::string modelName() const override
Real _val
The value that the parameter will take.
SolidMechanicsHardeningConstant(const InputParameters ¶meters)
virtual Real value(Real intnl) const override
Hardening Model base class.
static InputParameters validParams()
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...