const ADReal _x_center
Center point of transition.
const ADReal _transition_width
Width of transition.
const ADReal & leftEnd() const
Returns the coordinate of the left end of the transition.
const ADReal & rightEnd() const
Returns the coordinate of the right end of the transition.
const std::vector< double > x
ADSmoothTransition(const ADReal &x_center, const ADReal &transition_width)
Constructor.
Base class for smooth transitions between two functions of one variable.
virtual ADReal value(const ADReal &x, const ADReal &f1, const ADReal &f2) const =0
Computes the transition value.
const ADReal _x2
Right end point of transition.
const ADReal _x1
Left end point of transition.