1 #ifndef CartesianLorentzForce_H 2 #define CartesianLorentzForce_H 20 virtual Vector
operator()( Scalar
z,
const Vector& state)
const;
virtual Vector operator()(Scalar startPar, const Vector &startState) const =0
Basic3DVector unit() const
Basic3DVector cross(const Basic3DVector &lh) const
Vector product, or "cross" product, with a vector of same type.
RKDerivative< double, 6 > Base
Derivative calculation for the 6D cartesian case.
static RKSmallVector< double, 6 > rkstate(const Vector3D &pos, const Vector3D &mom)
const Vector3D & momentum() const
Base class for derivative calculation.
CartesianLorentzForce(const RKLocalFieldProvider &field, float ch)
virtual Vector operator()(Scalar z, const Vector &state) const
RKSmallVector< double, N > Vector
const Vector3D & position() const
const RKLocalFieldProvider & theField