27#include "neml2/models/Model.h"
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
The base class for all constitutive models.
Definition Model.h:53
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
Definition YieldFunction.h:32
Variable< Scalar > & _f
Yield function.
Definition YieldFunction.h:49
const Scalar & _sy
Yield stress.
Definition YieldFunction.h:52
const Variable< Scalar > * _h
(Optional) Isotropic hardening
Definition YieldFunction.h:46
YieldFunction(const OptionSet &options)
Definition YieldFunction.cxx:55
const Variable< Scalar > & _s
Effective stress.
Definition YieldFunction.h:43
static OptionSet expected_options()
Definition YieldFunction.cxx:32
void set_value(bool out, bool dout_din, bool d2out_din2) override
The value of the yield function.
Definition YieldFunction.cxx:67
Definition CrossRef.cxx:32