Derivative calculation for the 6D cartesian case. More...
#include <CartesianLorentzForce.h>
Public Types | |
typedef RKDerivative< double, 6 > | Base |
typedef Base::Scalar | Scalar |
typedef Base::Vector | Vector |
Public Types inherited from RKDerivative< double, 6 > | |
typedef double | Scalar |
typedef RKSmallVector< double, N > | Vector |
Public Member Functions | |
CartesianLorentzForce (const RKLocalFieldProvider &field, float ch) | |
Vector | operator() (Scalar z, const Vector &state) const override |
Public Member Functions inherited from RKDerivative< double, 6 > | |
virtual Vector | operator() (Scalar startPar, const Vector &startState) const=0 |
virtual | ~RKDerivative () |
Private Attributes | |
float | theCharge |
const RKLocalFieldProvider & | theField |
Derivative calculation for the 6D cartesian case.
Definition at line 10 of file CartesianLorentzForce.h.
typedef RKDerivative<double, 6> CartesianLorentzForce::Base |
Definition at line 12 of file CartesianLorentzForce.h.
Definition at line 13 of file CartesianLorentzForce.h.
Definition at line 14 of file CartesianLorentzForce.h.
|
inline |
Definition at line 16 of file CartesianLorentzForce.h.
|
inlineoverride |
Derivative d(pos)/ds is simply normalized momentum
Lorentz force in absence of electric field
Definition at line 26 of file CartesianLorentzForce.h.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), RKLocalFieldProvider::inTesla(), dqmdumpme::k, CartesianStateAdaptor::rkstate(), command_line::start, theCharge, and theField.
|
private |
Definition at line 22 of file CartesianLorentzForce.h.
Referenced by operator()().
|
private |
Definition at line 21 of file CartesianLorentzForce.h.
Referenced by operator()().