35template <
typename FieldFunction,
typename ... Arguments>
46 Arguments& ... args)
const
48 bool isGood =
doAdvance_m(bunch, i, t, dt, args...);
51 for (
int j = 0; j < 3; ++j) {
61 bool isBad = (!isGood || isNaN);
77 Arguments& ... args)
const = 0;
PETE_TUTree< FnAbs, typename T::PETE_Expr_t > abs(const PETE_Expr< T > &l)
T isnan(T x)
isnan function with adjusted return type
ParticleAttrib< int > Bin
ParticleAttrib< Vector_t > P
virtual bool doAdvance_m(PartBunchBase< double, 3 > *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const =0
Stepper(const FieldFunction &fieldfunc)
const FieldFunction & fieldfunc_m
virtual bool advance(PartBunchBase< double, 3 > *bunch, const size_t &i, const double &t, const double dt, Arguments &... args) const