27#include "neml2/models/Model.h"
31namespace crystallography
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
The base class for all constitutive models.
Definition Model.h:55
const torch::TensorOptions & options() const
Storage tensor options.
Definition Model.h:111
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:100
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
const crystallography::CrystalGeometry & _crystal_geometry
Crystal geometry class with slip geometry.
Definition ResolvedShear.h:49
ResolvedShear(const OptionSet &options)
Definition ResolvedShear.cxx:61
Variable< Tensor > & _rss
Resolved shear stresses.
Definition ResolvedShear.h:52
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:72
Defines the geometry of a crystal system This includes a basic definition of the crystal lattice,...
Definition CrystalGeometry.h:48
Definition CrossRef.cxx:30