38 const ADReal & f2_end_value,
39 const ADReal & df1dx_end_value,
40 const ADReal & df2dx_end_value);
bool _initialized
Flag that transition has been initialized.
Cubic polynomial transition between two functions of one variable.
virtual ADReal value(const ADReal &x, const ADReal &f1, const ADReal &f2) const override
Computes the transition value.
const std::vector< double > x
ADCubicTransition(const ADReal &x_center, const ADReal &transition_width)
Constructor.
Base class for smooth transitions between two functions of one variable.
void initialize(const ADReal &f1_end_value, const ADReal &f2_end_value, const ADReal &df1dx_end_value, const ADReal &df2dx_end_value)
Computes the derivative of the transition value.