26 _secondary_ray_data_index(_study.registerRayAuxData(
name() +
"_secondary"))
41 const Point reverse_direction = -1.0 *
currentRay()->direction();
45 std::shared_ptr<Ray> new_ray =
acquireRay(midpoint, reverse_direction);
A RayKernel that generates an additional Ray at the midpoint of each segment in the opposite directio...
virtual void onSegment() override
Called on each segment of a Ray.
void moveRayToBuffer(std::shared_ptr< Ray > &ray)
Moves a Ray into the working buffer to be traced during tracing with a meaningful error on verificati...
const std::shared_ptr< Ray > & currentRay() const
Gets the current Ray that this is working on.
const RayDataIndex _secondary_ray_data_index
Ray's aux data index for a value that states if a Ray is a secondary ray (generated-mid trace) ...
static InputParameters validParams()
std::shared_ptr< Ray > acquireRay(const Point &start, const Point &direction)
Acquires a Ray to be used for generating a new Ray while tracing on the boundary. ...
CreateRayRayKernelTest(const InputParameters ¶ms)
registerMooseObject("RayTracingTestApp", CreateRayRayKernelTest)
const Point & _current_segment_end
The end point of the current Ray's segment.
static InputParameters validParams()
const Point & _current_segment_start
The start point of the current Ray's segment.