12 #include "libmesh/quadrature.h" 20 params.
addRequiredParam<Point>(
"cylinder_axis",
"Vector along cylinder coordinate axis");
21 params.
addClassDescription(
"Compute a cylindrical average of a variableas a function of radius " 22 "throughout the simulation domain.");
28 _cyl_axis(getParam<Point>(
"cylinder_axis")),
29 _cyl_axis_norm(_cyl_axis.
norm())
38 Real norm_oqp = oqp.norm();
42 return norm_oqp *
std::sqrt(1 - cos_theta * cos_theta);
static InputParameters validParams()
const MooseArray< Point > & _q_point
CylindricalAverage(const InputParameters ¶meters)
const Real _cyl_axis_norm
axis norm
unsigned int _qp
current quadrature point - used in computeVolume()
static InputParameters validParams()
registerMooseObject("MooseApp", CylindricalAverage)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sqrt(_arg)) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tanh
const Point _origin
origin of sphere [or other body]
virtual Real computeDistance() override
compute the distance of the current quadarature point for binning
const Point _cyl_axis
vector along cylinder axis
Compute a cylindrical average of a variableas a function of radius throughout the simulation domain...
Base clase for computing spatial average of a variable over simple spatial regions of the computation...