27#include "neml2/models/Model.h"
64 std::pair<SSR4, SSR4> make_operators(
const SR2 &
bcontrol)
const;
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
Definition MixedControlSetup.h:32
const Tensor _threshold
The threshold for the control signal.
Definition MixedControlSetup.h:47
const Variable< SR2 > & _control
Actual input control signal.
Definition MixedControlSetup.h:50
MixedControlSetup(const OptionSet &options)
Definition MixedControlSetup.cxx:66
const Variable< SR2 > & _mixed_state
Conjugate state containing the mixed, unknown stresses and strains.
Definition MixedControlSetup.h:55
Variable< SR2 > & _strain
Strain tensor to target.
Definition MixedControlSetup.h:60
static OptionSet expected_options()
Definition MixedControlSetup.cxx:33
Variable< SR2 > & _stress
Stress tensor to target.
Definition MixedControlSetup.h:58
const Variable< SR2 > & _fixed_values
Driving forces to pull the "controled" entries from.
Definition MixedControlSetup.h:53
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition MixedControlSetup.cxx:78
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
The (logical) symmetric second order tensor.
Definition SR2.h:46
Definition CrossRef.cxx:30