Real maxDistance(const Ray &ray) const
static InputParameters validParams()
virtual void generateRays() override
Subclasses should override this to determine how to generate Rays.
std::vector< std::shared_ptr< Ray > > & _banked_rays
The banked rays to be used on the next timestep (restartable)
virtual void postExecuteStudy() override
Entry point after study execution.
bool & _has_generated
Whether or not we've generated rays yet (restartable)
Basic datastructure for a ray that will traverse the mesh.
Test study for generating rays for a basic particle-in-cell capability, where Rays propagate a bit ea...
TestPICRayStudy(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
const std::vector< Point > & _start_points
The starting points.
const Function & _velocity_function
The function that represents the velocity field.
const std::vector< Point > & _start_directions
The starting directions.
Base class for Ray tracing studies that will generate Rays and then propagate all of them to terminat...