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 > & _z
Output variable (those not selected by the control signal).
Definition MixedControlSetup.h:58
const Variable< SR2 > & _control
Actual input control signal.
Definition MixedControlSetup.h:48
const Variable< SR2 > & _x_above
Values used when _control > _threshold.
Definition MixedControlSetup.h:51
const Variable< SR2 > & _x_below
Values used when _control <= _threshold.
Definition MixedControlSetup.h:53
MixedControlSetup(const OptionSet &options)
Variable< SR2 > & _y
Output variable (those selected by the control signal).
Definition MixedControlSetup.h:56
static OptionSet expected_options()
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:54
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