18 InputParameters params = validParams<Kernel>();
19 params.addParam<Real>(
"amplitude", 1.0,
"Aplitude of the bell curve");
20 params.addParam<Real>(
"x_center", 4.0,
"Center of the hump in the X direction");
21 params.addParam<Real>(
"y_center", 6.0,
"Center of the hump in the Y direction");
22 params.addParam<Real>(
"z_center", 0.0,
"Center of the hump in the Z direction");
23 params.addParam<Real>(
"x_spread", 1.0,
"Spread of the curve in the x direction (sigma_x)");
24 params.addParam<Real>(
"y_spread", 1.0,
"Spread of the curve in the y direction (sigma_y)");
25 params.addParam<Real>(
"z_spread", 1.0,
"Spread of the curve in the z direction (sigma_z)");
31 _amplitude(getParam<Real>(
"amplitude")),
32 _x_center(getParam<Real>(
"x_center")),
33 _y_center(getParam<Real>(
"y_center")),
34 _z_center(getParam<Real>(
"z_center")),
35 _x_spread(getParam<Real>(
"x_spread")),
36 _y_spread(getParam<Real>(
"y_spread")),
37 _z_spread(getParam<Real>(
"z_spread")),
38 _x_min(_x_center - (3.0 * _x_spread)),
39 _x_max(_x_center + (3.0 * _x_spread)),
40 _y_min(_y_center - (3.0 * _y_spread)),
41 _y_max(_y_center + (3.0 * _y_spread)),
42 _z_min(_z_center - (3.0 * _z_spread)),
43 _z_max(_z_center + (3.0 * _z_spread))
50 Real x = _q_point[_qp](0);
51 Real y = _q_point[_qp](1);
52 Real z = _q_point[_qp](2);