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
A helper model to calculate the sum of the absolute value of the slip rates.
Definition SumSlipRates.h:38
SumSlipRates(const OptionSet &options)
Definition SumSlipRates.cxx:57
Variable< Scalar > & _sg
Sum of the absolute slip rates.
Definition SumSlipRates.h:52
const crystallography::CrystalGeometry & _crystal_geometry
Crystal geometry class with slip geometry.
Definition SumSlipRates.h:49
const Variable< Tensor > & _g
Slip rates.
Definition SumSlipRates.h:55
static OptionSet expected_options()
Definition SumSlipRates.cxx:38
void set_value(bool out, bool dout_din, bool d2out_din2) override
Calculate the sum and the derivatives.
Definition SumSlipRates.cxx:67
Defines the geometry of a crystal system This includes a basic definition of the crystal lattice,...
Definition CrystalGeometry.h:48
Definition CrossRef.cxx:30