19 params.addParam<
bool>(
22 "Whether or not to compute the average value (divides by the segment length)");
28 _integral_data_index(_study.registerRayData(integralRayDataName())),
29 _average(getParam<bool>(
"average"))
Base class for a RayKernel that integrates along a Ray segment.
const bool _average
Whether or not to compute the average (divide by the length)
const Real & _current_segment_length
The length of the current Ray's segment.
void onSegment() override final
Called on each segment of a Ray.
const std::shared_ptr< Ray > & currentRay() const
Gets the current Ray that this is working on.
unsigned int size() const
IntegralRayKernel(const InputParameters ¶ms)
const RayDataIndex _integral_data_index
The index into the data on the Ray that this integral accumulates into.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int _qp
The current quadrature point index.
static InputParameters validParams()
const MooseArray< Point > & _q_point
The physical location of the segment's quadrature points, indexed by _qp.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpIntegral()=0