#include <Track.h>
|
| | 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) |
| | ~Track () |
Definition at line 33 of file Track.h.
◆ Track() [1/3]
| Track::Track |
( |
BeamSequence * | u, |
|
|
const PartData & | ref, |
|
|
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 ) |
Track is asking the dictionary if already a particle bunch was allocated. If that is the case Track is using the already allocated bunch, otherwise a new bunch is allocated in the dictionary.
- Todo
- can we do this anymore OpalData::getInstance()->setPartBunch(new
PartBunch(&ref));
Definition at line 35 of file Track.cpp.
References bunch, deltaTau, dT, dtScInit, OpalData::getInstance(), localTimeSteps, parser, reference, stepsPerTurn, t0_m, timeIntegrator, truncOrder, use, zstart, and zstop.
Referenced by operator=(), and Track().
◆ ~Track()
◆ Track() [2/3]
◆ Track() [3/3]
| Track::Track |
( |
const Track & | | ) |
|
|
private |
◆ operator=()
| void Track::operator= |
( |
const Track & | | ) |
|
|
private |
◆ block
◆ bunch
The particle bunch to be tracked.
Definition at line 43 of file Track.h.
Referenced by Track().
◆ deltaTau
◆ dT
| std::vector<double> Track::dT |
The initial timestep.
Definition at line 58 of file Track.h.
Referenced by Track().
◆ dtScInit
◆ localTimeSteps
| std::vector<unsigned long long> Track::localTimeSteps |
Maximal number of timesteps.
Definition at line 68 of file Track.h.
Referenced by Track().
◆ parser
The parser used during tracking.
Definition at line 52 of file Track.h.
Referenced by Track().
◆ reference
The reference data.
Definition at line 46 of file Track.h.
Referenced by Track().
◆ stashedTrack
| std::stack<Track*> Track::stashedTrack |
|
staticprivate |
◆ stepsPerTurn
The timsteps per revolution period. ONLY available for OPAL-cycl.
Definition at line 71 of file Track.h.
Referenced by Track().
◆ t0_m
The ellapsed time of the beam can be used to propper start the beam when created in a cavity i.e. without emission
Definition at line 65 of file Track.h.
Referenced by Track().
◆ timeIntegrator
The ID of time integrator.
Definition at line 80 of file Track.h.
Referenced by Track().
◆ truncOrder
Trunction order for map tracking.
Definition at line 83 of file Track.h.
Referenced by Track().
◆ use
The lattice to be tracked through.
Definition at line 49 of file Track.h.
Referenced by Track().
◆ zstart
The location at which the simulation starts.
Definition at line 74 of file Track.h.
Referenced by Track().
◆ zstop
| std::vector<double> Track::zstop |
The location at which the simulation stops.
Definition at line 77 of file Track.h.
Referenced by Track().
The documentation for this class was generated from the following files: