Celeritas 0.6.0-47+develop.b3cbb238
|
Analytically step along a helical path for a uniform Z magnetic field. More...
#include <ZHelixIntegrator.hh>
Public Types | |
Type aliases | |
using | result_type = FieldIntegration |
Public Member Functions | |
CELER_FUNCTION | ZHelixIntegrator (EquationT &&eq) |
Construct with the equation of motion. | |
CELER_FUNCTION auto | operator() (real_type step, OdeState const &beg_state) const -> result_type |
Analytically step along a helical path for a uniform Z magnetic field.
Given a uniform magnetic field along the z axis, \(B = (0, 0, B_z)\), the motion of a charged particle is described by a helix trajectory. For this algorithm, the radius of the helix, \(R = \frac{m v}{q B_z}\) and the helicity, defined as \( -\sgn(q B_z)\), are evaluated through the right hand side of the ODE equation where \( q \) is the charge of the particle.
The midpoint and endpoint states are calculated analytically.