25#include "neml2/models/solid_mechanics/LinearKinematicHardening.h"
26#include "neml2/tensors/SSR4.h"
36 options.doc() +=
" following a linear relationship, i.e., \\f$ \\boldsymbol{X} = H "
37 "\\boldsymbol{K}_p \\f$ where \\f$ H \\f$ is the hardening modulus.";
40 options.set(
"hardening_modulus").doc() =
"Hardening modulus";
47 _H(declare_parameter<
Scalar>(
"H",
"hardening_modulus"))
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
Definition KinematicHardening.h:32
Variable< SR2 > & _X
Back stress.
Definition KinematicHardening.h:43
const Variable< SR2 > & _Kp
Kinematic plastic strain.
Definition KinematicHardening.h:40
static OptionSet expected_options()
Definition KinematicHardening.cxx:30
Simple linear map between equivalent strain and hardening.
Definition LinearKinematicHardening.h:36
LinearKinematicHardening(const OptionSet &options)
Definition LinearKinematicHardening.cxx:45
const Scalar & _H
Hardening modulus.
Definition LinearKinematicHardening.h:46
static OptionSet expected_options()
Definition LinearKinematicHardening.cxx:33
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition LinearKinematicHardening.cxx:52
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
static SSR4 identity_map(const torch::TensorOptions &options=default_tensor_options())
The derivative of a SR2 with respect to itself.
Definition SR2.cxx:116
The (logical) scalar.
Definition Scalar.h:38
Definition CrossRef.cxx:32