12 #include <corsika/framework/geometry/Line.hpp> 13 #include <corsika/framework/geometry/Point.hpp> 14 #include <corsika/framework/geometry/PhysicalGeometry.hpp> 15 #include <corsika/framework/geometry/BaseTrajectory.hpp> 55 decltype(1 / (tesla * second))
const k,
57 : initialPosition_(pos)
58 , initialVelocity_(initialVelocity)
59 , initialDirection_(initialVelocity.normalized())
60 , magneticfield_(Bfield)
62 , timeStep_(timeStep) {}
66 Point getPosition(
double const u)
const;
76 template <
typename Particle>
90 Point initialPosition_;
94 decltype(1 / (tesla * second)) k_;
100 #include <corsika/detail/framework/geometry/LeapFrogTrajectory.inl> The LeapFrogTrajectory stores information on one leap-frog step.
Import and extend the phys::units package.
void setLength(LengthType const limit)
! set new duration along potentially bend trajectory.
A Line describes a movement in three dimensional space.
TimeType getDuration(double const u=1) const
! duration along potentially bend trajectory
LengthType getLength(double const u=1) const
! total length along potentially bend trajectory
`, since they are used everywhere as integral part of the framework.
void setDuration(TimeType const limit)
! set new duration along potentially bend trajectory.
A Trajectory is a description of a momvement of an object in three-dimensional space that describes t...
TimeType getTime(Particle const &particle, double const u) const
! time at the start (u=0) or at the end (u=1) of the track of a particle