35 _hump_width(getParam<
Real>(
"hump_width")),
36 _hump_center_position(getParam<
Real>(
"hump_center_position")),
38 _hump_begin_value(getParam<
Real>(
"hump_begin_value")),
39 _hump_center_value(getParam<
Real>(
"hump_center_value")),
41 _cosine_amplitude(0.5 * (_hump_center_value - _hump_begin_value)),
42 _hump_mid_value(0.5 * (_hump_center_value + _hump_begin_value)),
43 _hump_left_end(_hump_center_position - 0.5 * _hump_width),
44 _hump_right_end(_hump_center_position + 0.5 * _hump_width)
66 mooseError(
name(),
": ", __PRETTY_FUNCTION__,
" is not implemented.");
const Real & _hump_width
Width of hump.
const unsigned int _component
Component index of axis on which hump occurs.
static const std::string axis
Computes a cosine hump of a user-specified width and height.
const Real & _hump_begin_value
Value before and after the hump.
virtual const std::string & name() const
static InputParameters validParams()
const std::vector< double > x
const Real _hump_mid_value
Middle value of hump.
const Real _cosine_amplitude
Cosine amplitude.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
registerMooseObject("ThermalHydraulicsApp", CosineHumpFunction)
virtual RealVectorValue gradient(Real t, const Point &p) const
static InputParameters validParams()
const Real _hump_left_end
Left end of hump.
CosineHumpFunction(const InputParameters ¶meters)
const Real _hump_right_end
Right end of hump.
const Real & _hump_center_position
Hump center position on selected axis.
virtual Real value(Real t, const Point &p) const