|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
4-th order Runnge-Kutta stepper More...
#include <RK4.h>
Public Member Functions | |
| RK4 (const FieldFunction &fieldfunc) | |
| virtual bool | advance (PartBunch_t *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const |
Protected Attributes | |
| const FieldFunction & | fieldfunc_m |
Private Member Functions | |
| bool | doAdvance_m (PartBunch_t *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const |
| bool | derivate_m (PartBunch_t *bunch, double *y, const double &t, double *yp, const size_t &i, Arguments &... args) const |
| void | copyTo (const Vector_t< double, 3 > &R, const Vector_t< double, 3 > &P, double *x) const |
| void | copyFrom (Vector_t< double, 3 > &R, Vector_t< double, 3 > &P, double *x) const |
Private Attributes | |
| const double | mass_coeff = 1.0e9 * Units::GeV2kg |
| const double | c_mmtns = Physics::c * Units::m2mm / Units::s2ns |
| const double | c_mtns = Physics::c / Units::s2ns |
4-th order Runnge-Kutta stepper
|
inline |
Definition at line 31 of file RK4.h.
References Stepper< FieldFunction, Arguments... >::Stepper().
|
inlinevirtualinherited |
|
private |
| y | |
| t | |
| yp | |
| Pindex |
Definition at line 84 of file RK4.hpp.
References Physics::c, c_mtns, and Stepper< FieldFunction, Arguments... >::fieldfunc_m.
Referenced by doAdvance_m().
|
privatevirtual |
Implements Stepper< FieldFunction, Arguments... >.
Definition at line 20 of file RK4.hpp.
References derivate_m().
|
private |
|
private |
Definition at line 64 of file RK4.h.
Referenced by derivate_m().
|
protectedinherited |
Definition at line 65 of file Stepper.h.
Referenced by RK4< FieldFunction, Arguments >::derivate_m(), and LF2< FieldFunction, Arguments >::kick_m().
|
private |