27#include "neml2/models/Model.h"
42 void set_value(
bool out,
bool dout_din,
bool d2out_din2)
override;
62 std::pair<SSR4, SSR4> make_operators(
const SR2 & control)
const;
const SR2 & _threshold
The threshold for the control signal.
Definition MixedControlSetup.h:45
Variable< SR2 > & _above_var
Variable to target when the control signal is above the threshold.
Definition MixedControlSetup.h:56
const Variable< SR2 > & _control
Actual input control signal.
Definition MixedControlSetup.h:48
Variable< SR2 > & _below_var
Variable to target when the control signal is below the threshold.
Definition MixedControlSetup.h:58
MixedControlSetup(const OptionSet &options)
const Variable< SR2 > & _mixed_state
Conjugate state containing the mixed, unknown variables.
Definition MixedControlSetup.h:53
static OptionSet expected_options()
const Variable< SR2 > & _fixed_values
Driving forces to pull the "controlled" entries from.
Definition MixedControlSetup.h:51
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Model(const OptionSet &options)
Construct a new Model object.
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:52
The symmetric second order tensor.
Definition SR2.h:46
The symmetric fourth order tensor, with symmetry in the first two dimensionss as well as in the last ...
Definition SSR4.h:44
Concrete definition of a variable.
Definition Variable.h:37
Definition DiagnosticsInterface.h:31