27#include "neml2/models/Interpolation.h"
28#include "neml2/tensors/Scalar.h"
48 void set_value(
bool out,
bool dout_din,
bool d2out_din2)
override;
The base class for interpolated variable.
Definition Interpolation.h:64
Linearly interpolate the parameter along an intermediate axis.
Definition LinearInterpolation.h:41
const Scalar & _X
The abscissa values of the interpolant.
Definition LinearInterpolation.h:51
LinearInterpolation(const OptionSet &options)
Definition LinearInterpolation.cxx:57
const Variable< Scalar > & _x
Argument of interpolation.
Definition LinearInterpolation.h:54
const Size _dim
The intermediate dimension along which to interpolate.
Definition LinearInterpolation.h:57
static OptionSet expected_options()
Definition LinearInterpolation.cxx:37
void set_value(bool out, bool dout_din, bool d2out_din2) override
The map between input -> output, and optionally its derivatives.
Definition LinearInterpolation.cxx:67
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
int64_t Size
Definition types.h:65