25#include "neml2/models/solid_mechanics/LinearIsotropicHardening.h"
35 options.doc() +=
" following a linear relationship, i.e., \\f$ k = H \\varepsilon_p \\f$ where "
36 "\\f$ H \\f$ is the hardening modulus.";
39 options.set(
"hardening_modulus").doc() =
"Hardening modulus";
46 _K(declare_parameter<
Scalar>(
"K",
"hardening_modulus"))
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
Definition IsotropicHardening.h:32
Variable< Scalar > & _h
Isotropic hardening.
Definition IsotropicHardening.h:43
const Variable< Scalar > & _ep
Equivalent plastic strain.
Definition IsotropicHardening.h:40
static OptionSet expected_options()
Definition IsotropicHardening.cxx:30
Simple linear map between equivalent strain and hardening.
Definition LinearIsotropicHardening.h:36
const Scalar & _K
Definition LinearIsotropicHardening.h:45
LinearIsotropicHardening(const OptionSet &options)
Definition LinearIsotropicHardening.cxx:44
static OptionSet expected_options()
Definition LinearIsotropicHardening.cxx:32
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition LinearIsotropicHardening.cxx:51
const torch::TensorOptions & options() const
This model's tensor options.
Definition Model.h:116
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
The (logical) scalar.
Definition Scalar.h:38
Derivative d(const VariableBase &x)
Create a wrapper representing the derivative dy/dx.
Definition Variable.cxx:102
Definition CrossRef.cxx:32