|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
#include <Stepper.h>
Public Member Functions | |
| Stepper (const FieldFunction &fieldfunc) | |
| virtual bool | advance (PartBunch_t *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const |
| virtual | ~Stepper () |
Protected Attributes | |
| const FieldFunction & | fieldfunc_m |
Private Member Functions | |
| virtual bool | doAdvance_m (PartBunch_t *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const =0 |
@precondition The field function has to return a boolean and take at least the following arguments in that order:
double specifying the time
int specifying the i-th particle
Vector_t<double, 3> specifying the electric field
Vector_t<double, 3> specifying the magnetic field
|
inline |
Definition at line 39 of file Stepper.h.
References fieldfunc_m.
|
inlinevirtual |
Definition at line 42 of file Stepper.h.
References doAdvance_m().
|
privatepure virtual |
Implemented in LF2< FieldFunction, Arguments >, and RK4< FieldFunction, Arguments >.
Referenced by advance().
|
protected |