25 _secondary_ray_data_index(_study.registerRayAuxData(
name() +
"_secondary"))
38 const Point reverse_direction = -1.0 *
currentRay()->direction();
42 std::shared_ptr<Ray> new_ray =
acquireRay(reverse_direction);
static InputParameters validParams()
std::shared_ptr< Ray > acquireRay(const Point &direction)
Acquires a Ray to be used for generating a new Ray while tracing on the boundary. ...
const std::shared_ptr< Ray > & currentRay() const
Gets the current Ray that this is working on.
A RayBC that generates an additional Ray at the intersection point on the boundary in the opposite di...
CreateRayRayBCTest(const InputParameters ¶ms)
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) ...
registerMooseObject("RayTracingTestApp", CreateRayRayBCTest)
virtual void onBoundary(const unsigned int num_applying) override
Called on a Ray on the boundary to apply the Ray boundary condition.
static InputParameters validParams()
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...