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