27#include "neml2/models/Model.h"
46 std::vector<const Variable<T> *>
_from;
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
Definition LinearCombination.h:33
std::vector< const Scalar * > _coefs
Scaling coefficient for each term.
Definition LinearCombination.h:49
LinearCombination(const OptionSet &options)
Definition LinearCombination.cxx:70
Variable< T > & _to
Sum of all the input variables.
Definition LinearCombination.h:43
std::vector< const Variable< T > * > _from
The input variables (to be summed)
Definition LinearCombination.h:46
static OptionSet expected_options()
Definition LinearCombination.cxx:37
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition LinearCombination.cxx:112
The base class for all constitutive models.
Definition Model.h:51
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:85
Definition CrossRef.cxx:31
LinearCombination< SR2 > SR2LinearCombination
Definition LinearCombination.h:54
LinearCombination< Vec > VecLinearCombination
Definition LinearCombination.h:53
LinearCombination< Scalar > ScalarLinearCombination
Definition LinearCombination.h:52