|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
#include <Track.h>

Public Member Functions | |
| 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, EmissionSourceList *emissionSourcesList=nullptr, const std::vector< std::string > &beamNames={}) | |
| ~Track () | |
Public Attributes | |
| PartBunch_t * | bunch |
| The particle bunch to be tracked. | |
| PartData | reference |
| The reference data. | |
| BeamSequence * | use |
| The lattice to be tracked through. | |
| EmissionSourceList * | emissionSources |
| The emission sources list for particle injection (SOURCES= on TRACK). | |
| TrackParser | parser |
| The parser used during tracking. | |
| std::vector< double > | dT |
| The initial timestep. | |
| double | dtScInit |
| double | deltaTau |
| double | t0_m |
| std::vector< unsigned long long > | localTimeSteps |
| Maximal number of timesteps. | |
| int | stepsPerTurn |
| The timsteps per revolution period. ONLY available for OPAL-cycl. | |
| double | zstart |
| The location at which the simulation starts. | |
| std::vector< double > | zstop |
| The location at which the simulation stops. | |
| Steppers::TimeIntegrator | timeIntegrator |
| The ID of time integrator. | |
| int | truncOrder |
| Trunction order for map tracking. | |
| std::vector< std::string > | beamNames_m |
Static Public Attributes | |
| static Track * | block = 0 |
| The block of track data. | |
Private Member Functions | |
| Track () | |
| Track (const Track &) | |
| void | operator= (const Track &) |
Static Private Attributes | |
| static std::stack< Track * > | stashedTrack |
| 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, | ||
| EmissionSourceList * | emissionSourcesList = nullptr, |
||
| const std::vector< std::string > & | beamNames = {} |
||
| ) |
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.
Definition at line 36 of file Track.cpp.
References OpalData::getInstance().

|
private |
|
private |
|
private |
| std::vector<std::string> Track::beamNames_m |
The names of beams selected on the enclosing TRACK command. (If RUN::BEAM is omitted, TrackRun resolves from this list.)
Definition at line 92 of file Track.h.
Referenced by TrackRun::execute(), TrackRun::print(), and TrackRun::wireDaughterContainers().
|
static |
The block of track data.
Definition at line 60 of file Track.h.
Referenced by TrackCmd::execute(), TrackEnd::execute(), TrackRun::execute(), TrackRun::print(), and TrackRun::wireDaughterContainers().
| PartBunch_t* Track::bunch |
| std::vector<double> Track::dT |
The initial timestep.
Definition at line 63 of file Track.h.
Referenced by TrackRun::execute(), and TrackRun::print().
| EmissionSourceList* Track::emissionSources |
| std::vector<unsigned long long> Track::localTimeSteps |
Maximal number of timesteps.
Definition at line 73 of file Track.h.
Referenced by TrackRun::execute(), and TrackRun::print().
| TrackParser Track::parser |
The parser used during tracking.
Definition at line 57 of file Track.h.
Referenced by TrackCmd::execute(), and TrackEnd::execute().
| int Track::stepsPerTurn |
| double Track::t0_m |
| Steppers::TimeIntegrator Track::timeIntegrator |
| int Track::truncOrder |
Trunction order for map tracking.
Definition at line 88 of file Track.h.
Referenced by TrackCmd::execute().
| BeamSequence* Track::use |
| double Track::zstart |
The location at which the simulation starts.
Definition at line 79 of file Track.h.
Referenced by TrackRun::execute().
| std::vector<double> Track::zstop |
The location at which the simulation stops.
Definition at line 82 of file Track.h.
Referenced by TrackRun::execute().