45 Point
refract(
const Point & direction,
const Point & normal,
const Real r1,
const Real r2)
const;
OutputTools< Real >::VariableGradient VariableGradient
const Real _r1
The first index of refraction.
Point refract(const Point &direction, const Point &normal, const Real r1, const Real r2) const
Computes the refracted direction using Snell's law.
const VariableGradient & _grad_field
The gradient of the field variable that notes the phase.
Simplified RayKernel that refracts Rays when the phase changes (phase change denoted by a field varia...
const Real _r2
The second index of refraction.
unsigned int RayDataIndex
Type for the index into the data and aux data on a Ray.
static InputParameters validParams()
const RayDataIndex _has_refracted_data_index
Index of the Ray data that notes if the Ray has refracted or not.
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const VariableValue & _field
The field variable that notes the phase.
virtual void onSegment() override
Called on each segment of a Ray.
RefractionRayKernelTest(const InputParameters ¶ms)