27#include "neml2/models/Model.h"
42 void set_value(
bool out,
bool dout_din,
bool d2out_din2)
override;
51 std::vector<const Variable<T> *>
_from;
Definition LinearCombination.h:35
std::vector< const Scalar * > _coefs
Scaling coefficient for each term.
Definition LinearCombination.h:54
LinearCombination(const OptionSet &options)
Definition LinearCombination.cxx:86
Variable< T > & _to
Sum of all the input variables.
Definition LinearCombination.h:45
std::vector< const Variable< T > * > _from
The input variables (to be summed)
Definition LinearCombination.h:51
static OptionSet expected_options()
Definition LinearCombination.cxx:38
const Scalar * _s
Constant offset coefficient.
Definition LinearCombination.h:48
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition LinearCombination.cxx:137
The base class for all constitutive models.
Definition Model.h:70
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:51
Scalar.
Definition Scalar.h:38
Concrete definition of a variable.
Definition VariableStore.h:41
Definition DiagnosticsInterface.cxx:30