27#include "neml2/models/Model.h"
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
Definition OlevskySinteringStress.h:39
const Scalar & _r
Particle radius.
Definition OlevskySinteringStress.h:58
const Scalar & _gamma
Surface tension.
Definition OlevskySinteringStress.h:55
static OptionSet expected_options()
Definition OlevskySinteringStress.cxx:32
const Variable< Scalar > & _phi
Void fraction.
Definition OlevskySinteringStress.h:52
Variable< Scalar > & _s
Sintering stress.
Definition OlevskySinteringStress.h:49
OlevskySinteringStress(const OptionSet &options)
Definition OlevskySinteringStress.cxx:56
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition OlevskySinteringStress.cxx:66
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:100
The (logical) scalar.
Definition Scalar.h:38
Definition CrossRef.cxx:30