MixedControlSetup¶
Source: models/common/MixedControlSetup.py
Per-component selection between strain- and stress-controlled inputs.
For each Mandel component \(i\): y_i = x_above_i when control_i > threshold, else x_below_i; \(z_i\) is the complementary pick.
Mirrors C++ MixedControlSetup in src/neml2/models/common/MixedControlSetup.cxx.
Inputs¶
control—input·SR2· requiredThe control signal.
x_above—input·SR2· requiredThe variable whose values are selected when the control signal is greater than the threshold.
x_below—input·SR2· requiredThe variable whose values are selected when the control signal is less than or equal to the threshold.
Outputs¶
y—output·SR2· requiredThe output variable holding the selected values based on the control signal.
z—output·SR2· requiredThe output variable holding the non-selected values based on the control signal.
Other options¶
threshold—float· default0.5The threshold to switch between the two controls