30 _df1dx_end_point(getParam<
Real>(
"function1_derivative_end_point")),
31 _df2dx_end_point(getParam<
Real>(
"function2_derivative_end_point")),
33 _transition(_x_center, _transition_width)
36 Real t1 = 0.0, t2 = 0.0;
63 mooseError(
name(),
": ", __PRETTY_FUNCTION__,
" is not implemented.");
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.
static InputParameters validParams()
CubicTransitionFunction(const InputParameters ¶meters)
registerMooseObject("ThermalHydraulicsApp", CubicTransitionFunction)
const Function & _function1
First function.
Base class for functions to smoothly transition from one function to another.
const Function & _function2
Second function.
virtual RealVectorValue gradient(Real t, const Point &p) const
virtual const std::string & name() const
const std::vector< double > x
const Real & leftEnd() const
Returns the coordinate of the left end of the transition.
static InputParameters validParams()
virtual Real value(const Real &x, const Real &f1, const Real &f2) const override
Computes the transition value.
const Real & rightEnd() const
Returns the coordinate of the right end of the transition.
virtual Real value(Real t, const Point &p) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool _use_time
Use the time axis for transition?
const unsigned int _component
Component index of axis on which transition occurs.
void mooseError(Args &&... args) const
CubicTransition _transition
Transition object.
Computes a cubic polynomial transition between two functions.
virtual Real value(Real t, const Point &p) const
const Real & _df2dx_end_point
Derivative of second function at end point.
const Real & _df1dx_end_point
Derivative of first function at end point.