41 const std::vector<unsigned long long>& maxtsteps,
int stepsperturn,
42 double zStart,
const std::vector<double>& zStop,
bool amr
Enable AMR if true.
The base class for all OPAL beam lines and sequences.
void setPartBunch(PartBunchBase< double, 3 > *p)
static OpalData * getInstance()
PartBunchBase< double, 3 > * getPartBunch()
BeamSequence * use
The lattice to be tracked through.
int stepsPerTurn
The timsteps per revolution period. ONLY available for OPAL-cycl.
PartBunchBase< double, 3 > * bunch
The particle bunch to be tracked.
PartData reference
The reference data.
double zstart
The location at which the simulation starts.
std::vector< unsigned long long > localTimeSteps
Maximal number of timesteps.
std::vector< double > zstop
The location at which the simulation stops.
static Track * block
The block of track data.
Steppers::TimeIntegrator timeIntegrator
The ID of time integrator.
TrackParser parser
The parser used during tracking.
Track(BeamSequence *, const PartData &, const std::vector< double > &dt, const std::vector< unsigned long long > &maxtsteps, int stepsperturn, double zStart, const std::vector< double > &zStop, Steppers::TimeIntegrator timeintegrator, double t0, double dtScInit, double deltaTau)
int truncOrder
Trunction order for map tracking.
std::vector< double > dT
The initial timestep.
static std::stack< Track * > stashedTrack