Go to the documentation of this file.
21 params.addParam<Real>(
"value",
23 "The value of the parameter for all internal parameter. "
24 "This is perfect plasticity - there is no hardening.");
25 params.addParam<
bool>(
"convert_to_radians",
27 "If true, the value you entered will be "
28 "multiplied by Pi/180 before passing to the "
29 "Plasticity algorithms");
30 params.addClassDescription(
31 "No hardening - the parameter is independent of the internal parameter(s)");
36 const InputParameters & parameters)
38 _val(getParam<bool>(
"convert_to_radians") ? getParam<Real>(
"value") * M_PI / 180.0
39 : getParam<Real>(
"value"))
virtual std::string modelName() const override
Real _val
The value that the parameter will take.
static InputParameters validParams()
virtual Real value(Real intnl) const override
virtual Real derivative(Real intnl) const override
TensorMechanicsHardeningConstant(const InputParameters ¶meters)
static InputParameters validParams()
registerMooseObject("TensorMechanicsApp", TensorMechanicsHardeningConstant)
No hardening - the parameter assumes the value _val for all internal parameters.
defineLegacyParams(TensorMechanicsHardeningConstant)
Hardening Model base class.