28 virtual Real
value(
const Real &
x,
const Real & f1,
const Real & f2)
const override;
37 Real
derivative(
const Real &
x,
const Real & df1dx,
const Real & df2dx)
const;
48 const Real & f2_end_value,
49 const Real & df1dx_end_value,
50 const Real & df2dx_end_value);
const std::vector< double > x
Cubic polynomial transition between two functions of one variable.
Real derivative(const Real &x, const Real &df1dx, const Real &df2dx) const
Computes the derivative of the transition value.
virtual Real value(const Real &x, const Real &f1, const Real &f2) const override
Computes the transition value.
bool _initialized
Flag that transition has been initialized.
void initialize(const Real &f1_end_value, const Real &f2_end_value, const Real &df1dx_end_value, const Real &df2dx_end_value)
Initializes the polynomial coefficients.
Base class for smooth transitions between two functions of one variable.