27#include "neml2/models/Model.h"
31namespace crystallography
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
Calculate the resolved shears.
Definition ResolvedShear.h:38
const Variable< R2 > & _R
Orientation.
Definition ResolvedShear.h:58
const Variable< SR2 > & _S
Stress.
Definition ResolvedShear.h:55
Variable< BatchTensor > & _rss
Resolved shear stresses.
Definition ResolvedShear.h:52
const crystallography::CrystalGeometry & _crystal_geometry
Crystal geometry class with slip geometry.
Definition ResolvedShear.h:49
ResolvedShear(const OptionSet &options)
Definition ResolvedShear.cxx:62
static OptionSet expected_options()
Definition ResolvedShear.cxx:36
void set_value(bool out, bool dout_din, bool d2out_din2) override
Set the resolved shears and associated derivatives.
Definition ResolvedShear.cxx:73
Defines the geometry of a crystal system This includes a basic definition of the crystal lattice,...
Definition CrystalGeometry.h:48
Definition CrossRef.cxx:32