|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <ParallelCyclotronTracker.h>
Classes | |
| struct | settings |
Public Types | |
| typedef std::vector< double > | dvector_t |
| typedef std::vector< int > | ivector_t |
| typedef std::pair< double[8], Component * > | element_pair |
| typedef std::pair< ElementType, element_pair > | type_pair |
| typedef std::list< type_pair * > | beamline_list |
| enum | { X , PX , Y , PY , T , PT } |
Public Member Functions | |
| ParallelCyclotronTracker (const Beamline &bl, PartBunchBase< double, 3 > *bunch, DataSink &ds, const PartData &data, bool revBeam, bool revTrack, int maxSTEPS, Steppers::TimeIntegrator timeintegrator, const int &numBunch, const double &mbEta, const double &mbPara, const std::string &mbMode, const std::string &mbBinning) | |
| Constructor. | |
| virtual | ~ParallelCyclotronTracker () |
| virtual void | execute () |
| Apply the algorithm to the top-level beamline. | |
| bool | computeExternalFields_m (const Vector_t &R, const Vector_t &P, const double &t, Vector_t &Efield, Vector_t &Bfield) |
| Calculate the field map at an arbitrary point. | |
| virtual void | visitBeamline (const Beamline &) |
| Apply the algorithm to a beam line. | |
| virtual void | visitCCollimator (const CCollimator &) |
| Apply the algorithm to a collimator. | |
| virtual void | visitCorrector (const Corrector &) |
| Apply the algorithm to a closed orbit corrector. | |
| virtual void | visitCyclotron (const Cyclotron &cycl) |
| Apply the algorithm to a cyclotron. | |
| virtual void | visitDegrader (const Degrader &) |
| Apply the algorithm to a degrader. | |
| virtual void | visitDrift (const Drift &) |
| Apply the algorithm to a drift space. | |
| virtual void | visitFlexibleCollimator (const FlexibleCollimator &) |
| Apply the algorithm to a flexible collimator. | |
| virtual void | visitMarker (const Marker &) |
| Apply the algorithm to a marker. | |
| virtual void | visitMonitor (const Monitor &) |
| Apply the algorithm to a beam position monitor. | |
| virtual void | visitMultipole (const Multipole &) |
| Apply the algorithm to a multipole. | |
| virtual void | visitMultipoleT (const MultipoleT &) |
| Apply the algorithm to an arbitrary multipole. | |
| virtual void | visitOffset (const Offset &) |
| Apply the algorithm to a offset (placement). | |
| virtual void | visitOutputPlane (const OutputPlane &) |
| Apply the algorithm to a outputplane. | |
| virtual void | visitProbe (const Probe &) |
| Apply the algorithm to a probe. | |
| virtual void | visitRBend (const RBend &) |
| Apply the algorithm to a rectangular bend. | |
| virtual void | visitRFCavity (const RFCavity &) |
| Apply the algorithm to a RF cavity. | |
| virtual void | visitRing (const Ring &ring) |
| Apply the algorithm to a ring. | |
| virtual void | visitSBend (const SBend &) |
| Apply the algorithm to a sector bend. | |
| virtual void | visitSBend3D (const SBend3D &) |
| Apply the algorithm to a sector bend with 3D field map. | |
| virtual void | visitScalingFFAMagnet (const ScalingFFAMagnet &bend) |
| Apply the algorithm to a scaling FFA magnet. | |
| virtual void | visitSeptum (const Septum &) |
| Apply the algorithm to a septum. | |
| virtual void | visitSolenoid (const Solenoid &) |
| Apply the algorithm to a solenoid. | |
| virtual void | visitStripper (const Stripper &) |
| Apply the algorithm to a particle stripper. | |
| virtual void | visitVacuum (const Vacuum &) |
| Apply the algorithm to a vacuum space. | |
| virtual void | visitVariableRFCavity (const VariableRFCavity &cav) |
| Apply the algorithm to a variabel RF cavity. | |
| virtual void | visitVariableRFCavityFringeField (const VariableRFCavityFringeField &cav) |
| Apply the algorithm to a variable RF cavity with Fringe Field. | |
| virtual void | visitVerticalFFAMagnet (const VerticalFFAMagnet &bend) |
| Apply the algorithm to a vertical FFA magnet. | |
| void | setLastDumpedStep (const int para) |
| set last dumped step | |
| void | bgf_main_collision_test () |
| void | initializeBoundaryGeometry () |
| Ring * | getRing () const |
| const PartBunchBase< double, 3 > * | getBunch () const |
| Return the current bunch. | |
| void | addToBunch (const OpalParticle &) |
| Add particle to bunch. | |
| virtual void | visitComponent (const Component &) |
| Store the bunch. | |
| virtual void | setNumBunch (short) |
| set total number of tracked bunches | |
| virtual short | getNumBunch () |
| get total number of tracked bunches | |
| virtual void | visitFlaggedElmPtr (const FlaggedElmPtr &) |
| Apply the algorithm to a FlaggedElmPtr. | |
| virtual void | visitRBend3D (const RBend3D &) |
| Apply the algorithm to a rectangular bend. | |
| virtual void | visitSource (const Source &) |
| Apply the algorithm to a source. | |
| virtual void | visitTravelingWave (const TravelingWave &) |
| Apply the algorithm to a traveling wave. | |
| void | setPr (double x) |
| Method for restart. | |
| void | setPt (double x) |
| void | setPz (double x) |
| void | setR (double x) |
| void | setTheta (double x) |
| void | setZ (double x) |
| void | setBeGa (double x) |
| void | setPhi (double x) |
| void | setPsi (double x) |
| void | setPreviousH5Local (bool x) |
Public Attributes | |
| FieldList | cavities_m |
| const Beamline & | itsBeamline_m |
Protected Member Functions | |
| void | applyDrift (double length) |
| Apply a drift length. | |
| void | applyThinMultipole (const BMultipoleField &field, double factor) |
| void | applyThinSBend (const BMultipoleField &field, double scale, double h) |
| void | applyTransform (const Euclid3D &, double refLength=0.0) |
| Apply a geometric transformation. | |
| FTps< double, 2 > | buildMultipoleVectorPotential2D (const BMultipoleField &) |
| Construct vector potential for a Multipole. | |
| FTps< double, 6 > | buildMultipoleVectorPotential (const BMultipoleField &) |
| Construct vector potential for a Multipole. | |
| FTps< double, 2 > | buildSBendVectorPotential2D (const BMultipoleField &, double h) |
| Construct vector potential for a SBend. | |
| FTps< double, 6 > | buildSBendVectorPotential (const BMultipoleField &, double h) |
| Construct vector potential for a SBend. | |
Protected Attributes | |
| PartBunchBase< double, 3 > * | itsBunch_m |
| The bunch of particles to be tracked. | |
| const PartData | itsReference |
| The reference information. | |
| const Beamline & | itsLine |
| bool | back_beam |
| bool | back_track |
| bool | back_path |
| double | flip_B |
| double | flip_s |
Private Types | |
| enum class | TrackingMode : unsigned short { UNDEFINED , SINGLE , SEO , BUNCH } |
| typedef std::function< bool(const double &, const size_t &, Vector_t &, Vector_t &)> | function_t |
Private Member Functions | |
| ParallelCyclotronTracker () | |
| ParallelCyclotronTracker (const ParallelCyclotronTracker &) | |
| void | operator= (const ParallelCyclotronTracker &) |
| void | MtsTracker () |
| void | GenericTracker () |
| bool | getFieldsAtPoint (const double &t, const size_t &Pindex, Vector_t &Efield, Vector_t &Bfield) |
| void | dumpAngle (const double &theta, double &prevAzimuth, double &azimuth, const short &bunchNr=0) |
| double | computeRadius (const Vector_t &meanR) const |
| void | computePathLengthUpdate (std::vector< double > &dl, const double &dt) |
| void | openFiles (size_t numFiles, std::string fn) |
| @ open / close output coordinate files | |
| void | closeFiles () |
| void | buildupFieldList (double BcParameter[], ElementType elementType, Component *elptr) |
| double | calculateAngle (double x, double y) |
| double | calculateAngle2 (double x, double y) |
| bool | checkGapCross (Vector_t Rold, Vector_t Rnew, RFCavity *rfcavity, double &DistOld) |
| bool | RFkick (RFCavity *rfcavity, const double t, const double dt, const int Pindex) |
| bool | getTunes (dvector_t &t, dvector_t &r, dvector_t &z, int lastTurn, double &nur, double &nuz) |
| Vector_t | calcMeanR (short bunchNr=-1) const |
| Vector_t | calcMeanP () const |
| void | repartition () |
| void | globalToLocal (ParticleAttrib< Vector_t > &vectorArray, double phi, Vector_t const translationToGlobal=0) |
| void | localToGlobal (ParticleAttrib< Vector_t > &vectorArray, double phi, Vector_t const translationToGlobal=0) |
| void | globalToLocal (ParticleAttrib< Vector_t > &vectorArray, Quaternion_t const quaternion, Vector_t const meanR=Vector_t(0.0)) |
| void | localToGlobal (ParticleAttrib< Vector_t > &vectorArray, Quaternion_t const quaternion, Vector_t const meanR=Vector_t(0.0)) |
| void | globalToLocal (ParticleAttrib< Vector_t > &particleVectors, double const phi, double const psi, Vector_t const meanR=Vector_t(0.0)) |
| void | localToGlobal (ParticleAttrib< Vector_t > &particleVectors, double const phi, double const psi, Vector_t const meanR=Vector_t(0.0)) |
| void | globalToLocal (Vector_t &myVector, double const phi, double const psi, Vector_t const meanR=Vector_t(0.0)) |
| void | localToGlobal (Vector_t &myVector, double const phi, double const psi, Vector_t const meanR=Vector_t(0.0)) |
| void | rotateWithQuaternion (ParticleAttrib< Vector_t > &vectorArray, Quaternion_t const quaternion) |
| void | getQuaternionTwoVectors (Vector_t u, Vector_t v, Quaternion_t &quaternion) |
| void | normalizeQuaternion (Quaternion_t &quaternion) |
| void | normalizeVector (Vector_t &vector) |
| void | rotateAroundZ (ParticleAttrib< Vector_t > &particleVectors, double const phi) |
| void | rotateAroundX (ParticleAttrib< Vector_t > &particleVectors, double const psi) |
| void | rotateAroundZ (Vector_t &myVector, double const phi) |
| void | rotateAroundX (Vector_t &myVector, double const psi) |
| bool | push (double h) |
| bool | kick (double h) |
| void | borisExternalFields (double h) |
| bool | applyPluginElements (const double dt) |
| bool | deleteParticle (bool=false) |
| void | initTrackOrbitFile () |
| void | singleParticleDump () |
| void | bunchDumpStatData () |
| void | bunchDumpPhaseSpaceData () |
| void | evaluateSpaceChargeField () |
| void | initDistInGlobalFrame () |
| void | setTimeStep () |
| void | checkFileMomentum () |
| void | checkNumPart (std::string s) |
| double | getHarmonicNumber () const |
| bool | isTurnDone () |
| Check if turn done. | |
| void | update_m (double &t, const double &dt, const bool &finishedTurn) |
| Update time and path length, write to output files. | |
| std::tuple< double, double, double > | initializeTracking_m () |
| void | finalizeTracking_m (dvector_t &Ttime, dvector_t &Tdeltr, dvector_t &Tdeltz, ivector_t &TturnNumber) |
| void | setTrackingMode () |
| void | seoMode_m (double &t, const double dt, bool &finishedTurn, dvector_t &Ttime, dvector_t &Tdeltr, dvector_t &Tdeltz, ivector_t &TturnNumber) |
| void | singleMode_m (double &t, const double dt, bool &finishedTurn, double &oldReferenceTheta) |
| void | bunchMode_m (double &t, const double dt, bool &finishedTurn) |
| void | gapCrossKick_m (size_t i, double t, double dt, const Vector_t &Rold, const Vector_t &Pold) |
| void | dumpAzimuthAngles_m (const double &t, const Vector_t &R, const Vector_t &P, const double &oldReferenceTheta, const double &temp_meanTheta) |
| void | dumpThetaEachTurn_m (const double &t, const Vector_t &R, const Vector_t &P, const double &temp_meanTheta, bool &finishedTurn) |
| void | computeSpaceChargeFields_m () |
| bool | computeExternalFields_m (const size_t &i, const double &t, Vector_t &Efield, Vector_t &Bfield) |
| void | injectBunch (bool &flagTransition) |
| void | saveInjectValues () |
| bool | isMultiBunch () const |
| bool | hasMultiBunch () const |
| void | updatePathLength (const double &dt) |
| void | updateTime (const double &dt) |
| void | updateAzimuthAndRadius () |
| void | initPathLength () |
| virtual void | applyDefault (const ElementBase &) |
Static Private Attributes | |
| static Vector_t const | xaxis = Vector_t(1.0, 0.0, 0.0) |
| The positive axes unit vectors. | |
| static Vector_t const | yaxis = Vector_t(0.0, 1.0, 0.0) |
| static Vector_t const | zaxis = Vector_t(0.0, 0.0, 1.0) |
Definition at line 55 of file ParallelCyclotronTracker.h.
| struct ParallelCyclotronTracker::settings |
Definition at line 459 of file ParallelCyclotronTracker.h.
| Class Members | ||
|---|---|---|
| double | deltaTheta | |
| int | scSolveFreq | |
| int | stepsNextCheck | |
| int | stepsPerTurn | |
| typedef std::list<type_pair*> ParallelCyclotronTracker::beamline_list |
Definition at line 62 of file ParallelCyclotronTracker.h.
| typedef std::vector<double> ParallelCyclotronTracker::dvector_t |
Definition at line 58 of file ParallelCyclotronTracker.h.
| typedef std::pair<double[8], Component*> ParallelCyclotronTracker::element_pair |
Definition at line 60 of file ParallelCyclotronTracker.h.
|
private |
Definition at line 455 of file ParallelCyclotronTracker.h.
| typedef std::vector<int> ParallelCyclotronTracker::ivector_t |
Definition at line 59 of file ParallelCyclotronTracker.h.
| typedef std::pair<ElementType, element_pair> ParallelCyclotronTracker::type_pair |
Definition at line 61 of file ParallelCyclotronTracker.h.
|
inherited |
| Enumerator | |
|---|---|
| X | |
| PX | |
| Y | |
| PY | |
| T | |
| PT | |
Definition at line 39 of file AbstractTracker.h.
|
strongprivate |
| Enumerator | |
|---|---|
| UNDEFINED | |
| SINGLE | |
| SEO | |
| BUNCH | |
Definition at line 202 of file ParallelCyclotronTracker.h.
| ParallelCyclotronTracker::ParallelCyclotronTracker | ( | const Beamline & | beamline, |
| PartBunchBase< double, 3 > * | bunch, | ||
| DataSink & | ds, | ||
| const PartData & | reference, | ||
| bool | revBeam, | ||
| bool | revTrack, | ||
| int | maxSTEPS, | ||
| Steppers::TimeIntegrator | timeintegrator, | ||
| const int & | numBunch, | ||
| const double & | mbEta, | ||
| const double & | mbPara, | ||
| const std::string & | mbMode, | ||
| const std::string & | mbBinning ) |
Constructor.
Constructor ParallelCyclotronTracker
| beamline | |
| bunch | |
| ds | |
| reference | |
| revBeam | |
| revTrack | |
| maxSTEPS | |
| timeIntegrator |
Definition at line 110 of file ParallelCyclotronTracker.cpp.
References bgf_m, BinRepartTimer_m, ElementBase::clone(), DelParticleTimer_m, DumpTimer_m, IpplTimings::getTimer(), initialLocalNum_m, initialTotalNum_m, IntegrationTimer_m, itsBeamline, itsDataSink, itsStepper_mp, lastDumpedStep_m, maxSteps_m, mbHandler_m, mode_m, myNode_m, opalRing_m, PluginElemTimer_m, rotation_m, setTrackingMode(), stepper_m, Tracker::Tracker(), and TransformTimer_m.
Referenced by operator=(), and ParallelCyclotronTracker().
|
virtual |
Destructor ParallelCyclotronTracker
Definition at line 159 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, itsBeamline, and myElements.
|
private |
|
private |
|
inherited |
|
privatevirtualinherited |
Definition at line 231 of file DefaultVisitor.cpp.
Referenced by visitCCollimator(), visitComponent(), visitCorrector(), visitCyclotron(), visitDegrader(), visitDrift(), visitFlexibleCollimator(), visitMarker(), visitMonitor(), visitMultipole(), visitMultipoleT(), visitOffset(), visitOutputPlane(), visitProbe(), visitRBend(), visitRBend3D(), visitRFCavity(), visitRing(), visitSBend(), visitSBend3D(), visitScalingFFAMagnet(), visitSeptum(), visitSolenoid(), visitSource(), visitStripper(), visitTravelingWave(), visitVacuum(), visitVariableRFCavity(), visitVariableRFCavityFringeField(), and visitVerticalFFAMagnet().
|
protectedinherited |
Apply a drift length.
Definition at line 122 of file Tracker.cpp.
References dot(), OpalParticle::getP(), OpalParticle::getX(), OpalParticle::getY(), OpalParticle::getZ(), itsBunch_m, AbstractTracker::itsReference, OpalParticle::setX(), OpalParticle::setY(), and OpalParticle::setZ().
|
private |
Definition at line 2040 of file ParallelCyclotronTracker.cpp.
References Vacuum::checkVacuum(), cycl_m, endl(), FieldDimensions, gmsg, Tracker::itsBunch_m, pluginElements_m, PluginElemTimer_m, IpplTimings::startTimer(), IpplTimings::stopTimer(), turnnumber_m, and VACUUM.
Referenced by borisExternalFields(), bunchMode_m(), GenericTracker(), and singleMode_m().
|
protectedinherited |
Definition at line 140 of file Tracker.cpp.
References OpalParticle::getPx(), OpalParticle::getPy(), OpalParticle::getX(), OpalParticle::getY(), itsBunch_m, BMultipoleField::normal(), BMultipoleField::order(), OpalParticle::setPx(), OpalParticle::setPy(), and BMultipoleField::skew().
|
protectedinherited |
Definition at line 169 of file Tracker.cpp.
References buildSBendVectorPotential2D(), FTps< T, N >::derivative(), FTps< T, N >::evaluate(), OpalParticle::getPx(), OpalParticle::getPy(), OpalParticle::getX(), OpalParticle::getY(), itsBunch_m, OpalParticle::setPx(), and OpalParticle::setPy().
|
protectedinherited |
Apply a geometric transformation.
Definition at line 189 of file Tracker.cpp.
References OpalParticle::getPx(), OpalParticle::getPy(), OpalParticle::getPz(), Euclid3D::getX(), OpalParticle::getX(), Euclid3D::getY(), OpalParticle::getY(), Euclid3D::getZ(), OpalParticle::getZ(), Euclid3D::isIdentity(), itsBunch_m, AbstractTracker::itsReference, Euclid3D::M(), OpalParticle::setPx(), OpalParticle::setPy(), OpalParticle::setX(), OpalParticle::setY(), and OpalParticle::setZ().
| void ParallelCyclotronTracker::bgf_main_collision_test | ( | ) |
Here we check if a particle is outside the domain, flag it for deletion
Definition at line 171 of file ParallelCyclotronTracker.cpp.
References bgf_m, endl(), getHarmonicNumber(), gmsgALL, Tracker::itsBunch_m, level4(), lossDs_m, and turnnumber_m.
Referenced by bunchMode_m(), and singleMode_m().
|
private |
Definition at line 2010 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), computeExternalFields_m(), deleteParticle(), IntegrationTimer_m, Tracker::itsBunch_m, kick(), push(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by MtsTracker().
|
protectedinherited |
Construct vector potential for a Multipole.
Definition at line 252 of file Tracker.cpp.
References FTps< T, N >::getMaxOrder(), FTps< double, 6 >::makeVariable(), BMultipoleField::normal(), BMultipoleField::order(), FTps< T, N >::setTruncOrder(), BMultipoleField::skew(), AbstractTracker::X, and AbstractTracker::Y.
|
protectedinherited |
Construct vector potential for a Multipole.
Definition at line 225 of file Tracker.cpp.
References FTps< T, N >::getMaxOrder(), FTps< double, 2 >::makeVariable(), BMultipoleField::normal(), BMultipoleField::order(), FTps< T, N >::setTruncOrder(), and BMultipoleField::skew().
|
protectedinherited |
Construct vector potential for a SBend.
Definition at line 332 of file Tracker.cpp.
References FTps< T, N >::derivative(), FTps< T, N >::getMaxOrder(), FTps< double, 6 >::makeVariable(), BMultipoleField::normal(), BMultipoleField::order(), FTps< T, N >::setTruncOrder(), BMultipoleField::skew(), AbstractTracker::X, and AbstractTracker::Y.
|
protectedinherited |
Construct vector potential for a SBend.
Definition at line 280 of file Tracker.cpp.
References FTps< T, N >::derivative(), FTps< T, N >::getMaxOrder(), FTps< double, 2 >::makeVariable(), BMultipoleField::normal(), BMultipoleField::order(), FTps< T, N >::setTruncOrder(), BMultipoleField::skew(), and AbstractTracker::X.
Referenced by applyThinSBend().
|
private |
| BcParameter | |
| ElementType | |
| elptr |
Definition at line 1078 of file ParallelCyclotronTracker.cpp.
References CYCLOTRON, FieldDimensions, and RING.
Referenced by visitCCollimator(), visitCyclotron(), visitOutputPlane(), visitProbe(), visitRFCavity(), visitRing(), visitSeptum(), visitStripper(), and visitVacuum().
|
private |
Definition at line 2633 of file ParallelCyclotronTracker.cpp.
References BUNCH_MEAN, calcMeanP(), calcMeanR(), calculateAngle(), computeRadius(), DumpTimer_m, endl(), euclidean_norm(), extB_m, extE_m, FDext_m, FieldDimensions, GLOBAL, globalToLocal(), gmsg, isMultiBunch(), Tracker::itsBunch_m, itsDataSink, Units::kG2T, lastDumpedStep_m, localToGlobal(), Units::m2mm, Physics::pi, Options::psDumpFrame, Options::psDumpFreq, Units::rad2deg, referencePr, referencePt, referencePtot, referencePz, referenceR, referenceTheta, referenceZ, IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by initDistInGlobalFrame(), and update_m().
|
private |
Definition at line 2526 of file ParallelCyclotronTracker.cpp.
References azimuth_m, BUNCH_MEAN, calcMeanP(), calcMeanR(), calculateAngle(), dumpAngle(), DumpTimer_m, euclidean_norm(), extB_m, extE_m, FDext_m, FieldDimensions, GLOBAL, globalToLocal(), isMultiBunch(), Tracker::itsBunch_m, itsDataSink, Units::kG2T, localToGlobal(), mbHandler_m, Physics::pi, prevAzimuth_m, Options::psDumpFrame, Units::rad2deg, IpplTimings::startTimer(), IpplTimings::stopTimer(), and updateAzimuthAndRadius().
Referenced by initDistInGlobalFrame(), and update_m().
|
private |
Definition at line 3103 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), bgf_main_collision_test(), calcMeanP(), IpplInfo::Comm, computeSpaceChargeFields_m(), deleteParticle(), endl(), gapCrossKick_m(), getQuaternionTwoVectors(), globalToLocal(), gmsg, injectBunch(), IntegrationTimer_m, isMultiBunch(), isTurnDone(), Tracker::itsBunch_m, itsStepper_mp, mbHandler_m, PreviousMeanP, Options::rebinFreq, setup_m, singleParticleDump(), Options::sptDumpFreq, IpplTimings::startTimer(), step_m, IpplTimings::stopTimer(), and turnnumber_m.
Referenced by GenericTracker().
|
private |
Definition at line 1618 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, and reduce().
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), bunchMode_m(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), and MtsTracker().
|
private |
Definition at line 1595 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, and reduce().
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), MtsTracker(), saveInjectValues(), and updateAzimuthAndRadius().
|
inlineprivate |
| x | |
| y |
Definition at line 559 of file ParallelCyclotronTracker.h.
References Physics::two_pi.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), deleteParticle(), initDistInGlobalFrame(), MtsTracker(), saveInjectValues(), seoMode_m(), and updateAzimuthAndRadius().
|
inlineprivate |
| x | |
| y |
Definition at line 573 of file ParallelCyclotronTracker.h.
Referenced by MtsTracker(), and singleMode_m().
|
private |
Definition at line 2367 of file ParallelCyclotronTracker.cpp.
References allreduce(), euclidean_norm(), initialLocalNum_m, initialTotalNum_m, Tracker::itsBunch_m, and referencePtot.
Referenced by initDistInGlobalFrame().
|
private |
| Rold | |
| Rnew | |
| elptr | |
| Dold |
Definition at line 1459 of file ParallelCyclotronTracker.cpp.
References RFCavity::getCosAzimuth(), RFCavity::getPerpenDistance(), and RFCavity::getSinAzimuth().
Referenced by gapCrossKick_m().
|
private |
Definition at line 1108 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, Tracker::itsBunch_m, and reduce().
Referenced by initDistInGlobalFrame().
|
private |
Close all files related to special output in the Cyclotron mode.
Definition at line 301 of file ParallelCyclotronTracker.cpp.
References outfTheta_m.
Referenced by finalizeTracking_m().
|
private |
Definition at line 3367 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, Units::kG2T, Units::kV2V, and Units::mm2m.
| bool ParallelCyclotronTracker::computeExternalFields_m | ( | const Vector_t & | R, |
| const Vector_t & | P, | ||
| const double & | t, | ||
| Vector_t & | Efield, | ||
| Vector_t & | Bfield ) |
Calculate the field map at an arbitrary point.
Definition at line 3381 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, Units::kG2T, Units::kV2V, and Units::mm2m.
Referenced by borisExternalFields(), PyOpal::Field::get_field_value_cyclotron(), and getFieldsAtPoint().
|
private |
Definition at line 232 of file ParallelCyclotronTracker.cpp.
References allreduce(), BUNCH_MEAN, Physics::c, dot(), isMultiBunch(), Tracker::itsBunch_m, Options::psDumpFrame, and sum().
Referenced by updatePathLength().
|
private |
Definition at line 227 of file ParallelCyclotronTracker.cpp.
References Units::m2mm.
Referenced by bunchDumpPhaseSpaceData(), saveInjectValues(), and updateAzimuthAndRadius().
|
private |
Definition at line 3292 of file ParallelCyclotronTracker.cpp.
References Options::boundpDestroyFreq, calcMeanP(), calcMeanR(), Util::getGamma(), getQuaternionTwoVectors(), globalToLocal(), hasMultiBunch(), Tracker::itsBunch_m, localToGlobal(), PreviousMeanP, repartition(), SAAMG, spiral_flag, step_m, and yaxis.
Referenced by bunchMode_m(), and MtsTracker().
|
private |
Definition at line 2069 of file ParallelCyclotronTracker.cpp.
References allreduce(), calcMeanP(), calcMeanR(), calculateAngle(), Options::delPartFreq, DelParticleTimer_m, endl(), euclidean_norm(), globalToLocal(), gmsg, isMultiBunch(), Tracker::itsBunch_m, level3(), localToGlobal(), mbHandler_m, Physics::pi, reduce(), IpplTimings::startTimer(), step_m, IpplTimings::stopTimer(), and sum().
Referenced by borisExternalFields(), bunchMode_m(), GenericTracker(), and singleMode_m().
|
private |
Definition at line 203 of file ParallelCyclotronTracker.cpp.
References OpalData::getInstance(), and turnnumber_m.
Referenced by bunchDumpStatData(), saveInjectValues(), and updateAzimuthAndRadius().
|
inlineprivate |
Definition at line 3245 of file ParallelCyclotronTracker.cpp.
References azimuth_angle_m, outfTheta_m, Units::rad2deg, Units::s2ns, setup_m, and turnnumber_m.
Referenced by MtsTracker(), and singleMode_m().
|
inlineprivate |
Definition at line 3267 of file ParallelCyclotronTracker.cpp.
References Units::deg2rad, endl(), gmsg, isTurnDone(), outfTheta_m, Units::s2ns, and turnnumber_m.
Referenced by MtsTracker(), and singleMode_m().
|
private |
|
virtual |
Apply the algorithm to the top-level beamline.
Reimplemented from DefaultVisitor.
Definition at line 1119 of file ParallelCyclotronTracker.cpp.
References OpalData::APPEND, Options::asciidump, azimuth_m, bgf_m, cavCrossDatas_m, CCOLLIMATOR, endl(), extB_m, extE_m, FDext_m, FieldDimensions, GenericTracker(), RFCavity::getCosAzimuth(), getFieldsAtPoint(), OpalData::getGlobalGeometry(), OpalData::getInstance(), RFCavity::getPerpenDistance(), RFCavity::getSinAzimuth(), ElementBase::getTypeString(), gmsg, isMultiBunch(), itsBeamline, Tracker::itsBunch_m, itsStepper_mp, Steppers::LF2, lossDs_m, mbHandler_m, Steppers::MTS, MtsTracker(), opalRing_m, OUTPUTPLANE, pluginElements_m, prevAzimuth_m, PROBE, restartStep0_m, RFCAVITY, Steppers::RK4, SEPTUM, OpalData::setOpenMode(), step_m, stepper_m, STRIPPER, turnnumber_m, DumpEMFields::writeFields(), and DumpFields::writeFields().
|
private |
Definition at line 2920 of file ParallelCyclotronTracker.cpp.
References BUNCH, closeFiles(), IpplInfo::Comm, endl(), Units::eV2MeV, getTunes(), gmsg, isMultiBunch(), Tracker::itsBunch_m, lastDumpedStep_m, mode_m, myNode_m, outfTrackOrbit_m, SEO, SINGLE, turnnumber_m, and UNDEFINED.
Referenced by GenericTracker(), and MtsTracker().
|
private |
Definition at line 3198 of file ParallelCyclotronTracker.cpp.
References Physics::c, checkGapCross(), euclidean_norm(), FieldDimensions, Util::getBeta(), Tracker::itsBunch_m, itsStepper_mp, RFCAVITY, and RFkick().
Referenced by bunchMode_m(), and singleMode_m().
|
private |
Definition at line 1351 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), BUNCH, bunchMode_m(), deleteParticle(), endl(), finalizeTracking_m(), gmsg, initializeTracking_m(), Tracker::itsBunch_m, maxSteps_m, mode_m, SEO, seoMode_m(), SINGLE, singleMode_m(), step_m, UNDEFINED, and update_m().
Referenced by execute().
|
inherited |
|
private |
Definition at line 1429 of file ParallelCyclotronTracker.cpp.
References computeExternalFields_m(), and Tracker::itsBunch_m.
Referenced by execute().
|
private |
Definition at line 1583 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, Cyclotron::getCyclHarm(), and opalRing_m.
Referenced by bgf_main_collision_test(), and initializeTracking_m().
|
inlinevirtualinherited |
|
inlineprivate |
Definition at line 1903 of file ParallelCyclotronTracker.cpp.
References cross(), dot(), normalizeQuaternion(), normalizeVector(), Physics::pi, xaxis, and zaxis.
Referenced by bunchMode_m(), and computeSpaceChargeFields_m().
|
inline |
Definition at line 200 of file ParallelCyclotronTracker.h.
References opalRing_m.
Referenced by PyOpal::Field::getRing().
|
private |
| t | |
| r | |
| z | |
| lastTurn | |
| nur | |
| nuz |
Definition at line 1516 of file ParallelCyclotronTracker.cpp.
References endl(), for_each(), gmsg, TUNE_class::lombAnalysis(), and AbstractTracker::T.
Referenced by finalizeTracking_m().
|
inlineprivate |
Definition at line 1713 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
private |
Definition at line 1640 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, prod_boost_vector(), rotation_m, IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), bunchMode_m(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), and MtsTracker().
|
inlineprivate |
Definition at line 1684 of file ParallelCyclotronTracker.cpp.
References rotateWithQuaternion(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
inlineprivate |
Definition at line 1734 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
inlineprivate |
Definition at line 585 of file ParallelCyclotronTracker.h.
References isMultiBunch(), and mbHandler_m.
Referenced by computeSpaceChargeFields_m().
|
private |
Definition at line 2216 of file ParallelCyclotronTracker.cpp.
References beamInitialRotation, bunchDumpPhaseSpaceData(), bunchDumpStatData(), calcMeanP(), calcMeanR(), calculateAngle(), checkFileMomentum(), checkNumPart(), cosRefTheta_m, endl(), euclidean_norm(), FROMFILE, OpalData::getInstance(), GLOBAL, globalToLocal(), gmsg, initialLocalNum_m, initialTotalNum_m, isMultiBunch(), Tracker::itsBunch_m, localToGlobal(), mbHandler_m, pathLength_m, Physics::pi, Options::psDumpFrame, referencePhi, referencePr, referencePsi, referencePt, referencePz, referenceR, referenceTheta, referenceZ, repartition(), saveInjectValues(), setTimeStep(), sinRefTheta_m, and step_m.
Referenced by initializeTracking_m().
| void ParallelCyclotronTracker::initializeBoundaryGeometry | ( | ) |
|
private |
Definition at line 2809 of file ParallelCyclotronTracker.cpp.
References azimuth_angle_m, BUNCH, Units::deg2rad, endl(), getHarmonicNumber(), OpalData::getInstance(), IpplInfo::getNodes(), gmsg, initDistInGlobalFrame(), initPathLength(), initTrackOrbitFile(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, mode_m, openFiles(), Physics::pi, Options::rebinFreq, referenceTheta, Options::repartFreq, restartStep0_m, Units::s2ns, Options::scSolveFreq, SEO, setup_m, SINGLE, spiral_flag, Options::sptDumpFreq, step_m, turnnumber_m, and UNDEFINED.
Referenced by GenericTracker(), and MtsTracker().
|
private |
multi-bunch mode: set the path length of each bunch in case of restart mode
At creation of DataSink the lines are rewinded properly --> the last entry of the path length is therefore the initial path length at restart.
Definition at line 3504 of file ParallelCyclotronTracker.cpp.
References isMultiBunch(), itsDataSink, and mbHandler_m.
Referenced by initializeTracking_m().
|
private |
Definition at line 2197 of file ParallelCyclotronTracker.cpp.
References OpalData::getInputBasename(), OpalData::getInstance(), Tracker::itsBunch_m, myNode_m, and outfTrackOrbit_m.
Referenced by initializeTracking_m().
|
private |
Definition at line 3396 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, isMultiBunch(), Tracker::itsBunch_m, AbstractTracker::itsReference, mbHandler_m, saveInjectValues(), setup_m, step_m, and turnnumber_m.
Referenced by bunchMode_m(), and MtsTracker().
|
inlineprivate |
Definition at line 579 of file ParallelCyclotronTracker.h.
References Tracker::itsBunch_m, and mbHandler_m.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), bunchMode_m(), computePathLengthUpdate(), deleteParticle(), execute(), finalizeTracking_m(), hasMultiBunch(), initDistInGlobalFrame(), initializeTracking_m(), initPathLength(), injectBunch(), MtsTracker(), saveInjectValues(), updateAzimuthAndRadius(), updatePathLength(), updateTime(), and visitCyclotron().
|
private |
Check if turn done.
Definition at line 2762 of file ParallelCyclotronTracker.cpp.
References setup_m, and step_m.
Referenced by bunchMode_m(), dumpThetaEachTurn_m(), MtsTracker(), and seoMode_m().
|
private |
Definition at line 1990 of file ParallelCyclotronTracker.cpp.
References Units::GeV2eV, IntegrationTimer_m, Tracker::itsBunch_m, BorisPusher::kick(), Physics::q_e, IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by borisExternalFields(), and MtsTracker().
|
inlineprivate |
Definition at line 1755 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
private |
Definition at line 1661 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, prod_boost_vector(), rotation_m, IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), and MtsTracker().
|
inlineprivate |
Definition at line 1697 of file ParallelCyclotronTracker.cpp.
References rotateWithQuaternion(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
inlineprivate |
Definition at line 1776 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.
|
private |
Definition at line 1220 of file ParallelCyclotronTracker.cpp.
References borisExternalFields(), BUNCH, calcMeanP(), calcMeanR(), calculateAngle(), calculateAngle2(), IpplInfo::Comm, computeSpaceChargeFields_m(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), endl(), finalizeTracking_m(), globalToLocal(), gmsg, initializeTracking_m(), injectBunch(), isMultiBunch(), isTurnDone(), Tracker::itsBunch_m, kick(), localToGlobal(), maxSteps_m, mbHandler_m, mode_m, Options::mtsSubsteps, Physics::pi, Options::rebinFreq, Options::repartFreq, repartition(), Units::s2ns, SINGLE, singleParticleDump(), Options::sptDumpFreq, step_m, turnnumber_m, and update_m().
Referenced by execute().
|
inlineprivate |
Definition at line 1811 of file ParallelCyclotronTracker.cpp.
References dot().
Referenced by getQuaternionTwoVectors().
|
inlineprivate |
Definition at line 1823 of file ParallelCyclotronTracker.cpp.
References dot().
Referenced by getQuaternionTwoVectors().
|
private |
@ open / close output coordinate files
| fn | Base file name |
Definition at line 275 of file ParallelCyclotronTracker.cpp.
References outfTheta_m.
Referenced by initializeTracking_m().
|
private |
|
private |
Definition at line 1947 of file ParallelCyclotronTracker.cpp.
References Physics::c, cavCrossDatas_m, euclidean_norm(), Util::getGamma(), IntegrationTimer_m, Tracker::itsBunch_m, RFkick(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by borisExternalFields().
|
private |
Definition at line 1631 of file ParallelCyclotronTracker.cpp.
References BinRepartTimer_m, IpplInfo::Comm, Tracker::itsBunch_m, Options::repartFreq, IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by computeSpaceChargeFields_m(), initDistInGlobalFrame(), and MtsTracker().
|
private |
Definition at line 1474 of file ParallelCyclotronTracker.cpp.
References RFCavity::getMomentaKick(), RFCavity::getPerpenDistance(), RFCavity::getRmax(), RFCavity::getRmin(), and Tracker::itsBunch_m.
Referenced by gapCrossKick_m(), and push().
|
inlineprivate |
Definition at line 1869 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, prod_boost_vector(), and rotation_m.
Referenced by globalToLocal(), globalToLocal(), localToGlobal(), and localToGlobal().
|
inlineprivate |
Definition at line 1887 of file ParallelCyclotronTracker.cpp.
References prod_boost_vector(), and rotation_m.
|
inlineprivate |
Definition at line 1835 of file ParallelCyclotronTracker.cpp.
References Tracker::itsBunch_m, prod_boost_vector(), and rotation_m.
Referenced by globalToLocal(), globalToLocal(), localToGlobal(), and localToGlobal().
|
inlineprivate |
Definition at line 1853 of file ParallelCyclotronTracker.cpp.
References prod_boost_vector(), and rotation_m.
|
inlineprivate |
Definition at line 1797 of file ParallelCyclotronTracker.cpp.
References cross(), dot(), and Tracker::itsBunch_m.
Referenced by globalToLocal(), and localToGlobal().
|
private |
Definition at line 3432 of file ParallelCyclotronTracker.cpp.
References MultiBunchHandler::injection_t::azimuth, azimuth_m, calcMeanR(), calculateAngle(), computeRadius(), dumpAngle(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, MultiBunchHandler::injection_t::pathlength, prevAzimuth_m, Units::rad2deg, MultiBunchHandler::injection_t::radius, and MultiBunchHandler::injection_t::time.
Referenced by initDistInGlobalFrame(), and injectBunch().
|
private |
Definition at line 2991 of file ParallelCyclotronTracker.cpp.
References calculateAngle(), IntegrationTimer_m, isTurnDone(), Tracker::itsBunch_m, itsStepper_mp, outfTrackOrbit_m, Options::sptDumpFreq, IpplTimings::startTimer(), step_m, IpplTimings::stopTimer(), and turnnumber_m.
Referenced by GenericTracker().
|
inline |
Definition at line 192 of file ParallelCyclotronTracker.h.
References bega.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
set last dumped step
Definition at line 183 of file ParallelCyclotronTracker.h.
References lastDumpedStep_m.
Referenced by TrackRun::setupCyclotronTracker().
|
inlinevirtualinherited |
|
inline |
Definition at line 193 of file ParallelCyclotronTracker.h.
References referencePhi.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Method for restart.
Definition at line 186 of file ParallelCyclotronTracker.h.
References referencePr.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 195 of file ParallelCyclotronTracker.h.
References previousH5Local.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 194 of file ParallelCyclotronTracker.h.
References referencePsi.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 187 of file ParallelCyclotronTracker.h.
References referencePt.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 188 of file ParallelCyclotronTracker.h.
References referencePz.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 189 of file ParallelCyclotronTracker.h.
References referenceR.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 190 of file ParallelCyclotronTracker.h.
References referenceTheta.
Referenced by TrackRun::setupCyclotronTracker().
|
private |
Definition at line 2361 of file ParallelCyclotronTracker.cpp.
References initialLocalNum_m, and Tracker::itsBunch_m.
Referenced by initDistInGlobalFrame().
|
private |
Definition at line 2979 of file ParallelCyclotronTracker.cpp.
References BUNCH, initialTotalNum_m, mode_m, SEO, SINGLE, and UNDEFINED.
Referenced by ParallelCyclotronTracker().
|
inline |
Definition at line 191 of file ParallelCyclotronTracker.h.
References referenceZ.
Referenced by TrackRun::setupCyclotronTracker().
|
private |
Definition at line 3039 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), bgf_main_collision_test(), calculateAngle2(), deleteParticle(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), gapCrossKick_m(), IntegrationTimer_m, Tracker::itsBunch_m, itsStepper_mp, outfTrackOrbit_m, Options::sptDumpFreq, IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by GenericTracker().
|
private |
Definition at line 2398 of file ParallelCyclotronTracker.cpp.
References IpplInfo::Comm, COMM_ANY_NODE, DumpTimer_m, endl(), ERRORMSG, Message::get(), IpplInfo::getNodes(), IPPL_APP_CYCLE, IPPL_APP_TAG4, Tracker::itsBunch_m, myNode_m, outfTrackOrbit_m, Message::put(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by bunchMode_m(), and MtsTracker().
|
private |
Update time and path length, write to output files.
Definition at line 2766 of file ParallelCyclotronTracker.cpp.
References bunchDumpPhaseSpaceData(), bunchDumpStatData(), endl(), gmsg, Tracker::itsBunch_m, mode_m, pluginElements_m, Options::psDumpEachTurn, Options::psDumpFreq, SEO, Options::statDumpFreq, step_m, updatePathLength(), and updateTime().
Referenced by GenericTracker(), and MtsTracker().
|
private |
Definition at line 3488 of file ParallelCyclotronTracker.cpp.
References MultiBunchHandler::beaminfo_t::azimuth, calcMeanR(), calculateAngle(), computeRadius(), dumpAngle(), isMultiBunch(), mbHandler_m, MultiBunchHandler::beaminfo_t::prevAzimuth, Units::rad2deg, and MultiBunchHandler::beaminfo_t::radius.
Referenced by bunchDumpStatData().
|
private |
Definition at line 3456 of file ParallelCyclotronTracker.cpp.
References computePathLengthUpdate(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, and pathLength_m.
Referenced by update_m().
|
private |
Definition at line 3477 of file ParallelCyclotronTracker.cpp.
References isMultiBunch(), Tracker::itsBunch_m, and mbHandler_m.
Referenced by update_m().
|
virtual |
Apply the algorithm to a beam line.
| bl |
Reimplemented from DefaultVisitor.
Definition at line 1103 of file ParallelCyclotronTracker.cpp.
References TBeamline< T >::iterate().
|
virtual |
Apply the algorithm to a collimator.
| coll |
Reimplemented from DefaultVisitor.
Definition at line 477 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), CCOLLIMATOR, ElementBase::clone(), endl(), ElementBase::getName(), CCollimator::getWidth(), PluginElement::getXEnd(), PluginElement::getXStart(), PluginElement::getYEnd(), PluginElement::getYStart(), CCollimator::getZEnd(), CCollimator::getZStart(), gmsg, PluginElement::initialise(), Tracker::itsBunch_m, and myElements.
|
virtualinherited |
Store the bunch.
Apply the algorithm to an arbitrary component.
Reimplemented from DefaultVisitor.
Definition at line 117 of file Tracker.cpp.
References DefaultVisitor::back_beam, DefaultVisitor::back_track, itsBunch_m, AbstractTracker::itsReference, and Component::trackBunch().
|
virtual |
Apply the algorithm to a closed orbit corrector.
| corr |
Reimplemented from DefaultVisitor.
Definition at line 524 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.
|
virtual |
Apply the algorithm to a cyclotron.
| cycl |
Reimplemented from DefaultVisitor.
Definition at line 313 of file ParallelCyclotronTracker.cpp.
References Cyclotron::BANDRF, bega, Util::boolVectorToUpperString(), buildupFieldList(), ElementBase::clone(), cosRefTheta_m, cycl_m, CYCLOTRON, Units::deg2rad, Util::doubleVectorToString(), endl(), OpalData::getInstance(), GLOBAL, gmsg, isMultiBunch(), Tracker::itsBunch_m, AbstractTracker::itsReference, mbHandler_m, Units::mm2m, myElements, previousH5Local, Options::psDumpFrame, Units::rad2deg, referencePhi, referencePr, referencePsi, referencePt, referencePtot, referencePz, referenceR, referenceTheta, referenceZ, sinRefTheta_m, and spiral_flag.
|
virtual |
Apply the algorithm to a degrader.
| degrader |
Reimplemented from DefaultVisitor.
Definition at line 534 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and myElements.
|
virtual |
Apply the algorithm to a drift space.
| drift |
Reimplemented from DefaultVisitor.
Definition at line 545 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.
|
virtualinherited |
Apply the algorithm to a FlaggedElmPtr.
Implements BeamlineVisitor.
Reimplemented in Flagger, RangeSelector, and Replacer.
Definition at line 220 of file DefaultVisitor.cpp.
References ElementBase::accept(), ElmPtr::getElement(), FlaggedElmPtr::getReflectionFlag(), and local_flip.
Referenced by RangeSelector::handleBeamline(), RangeSelector::handleElement(), Flagger::visitFlaggedElmPtr(), and Replacer::visitFlaggedElmPtr().
|
virtual |
Apply the algorithm to a flexible collimator.
Reimplemented from DefaultVisitor.
Definition at line 555 of file ParallelCyclotronTracker.cpp.
|
virtual |
Apply the algorithm to a marker.
| marker |
Reimplemented from DefaultVisitor.
Definition at line 577 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), and myElements.
|
virtual |
Apply the algorithm to a beam position monitor.
| corr |
Reimplemented from DefaultVisitor.
Definition at line 588 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), and myElements.
|
virtual |
Apply the algorithm to a multipole.
| mult |
Reimplemented from DefaultVisitor.
Definition at line 599 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.
|
virtual |
Apply the algorithm to an arbitrary multipole.
| multT |
Reimplemented from DefaultVisitor.
Definition at line 609 of file ParallelCyclotronTracker.cpp.
References MultipoleT::clone(), endl(), gmsg, myElements, and opalRing_m.
|
virtual |
Apply the algorithm to a offset (placement).
| off |
Reimplemented from DefaultVisitor.
Definition at line 564 of file ParallelCyclotronTracker.cpp.
References opalRing_m.
|
virtual |
Apply the algorithm to a outputplane.
| plane |
Reimplemented from DefaultVisitor.
Definition at line 625 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), OutputPlane::clone(), OutputPlane::getCentre(), OutputPlane::getHorizontalExtent(), OutputPlane::getNormal(), PluginElement::initialise(), Tracker::itsBunch_m, Units::mm2m, myElements, opalRing_m, OUTPUTPLANE, and OutputPlane::setGlobalFieldMap().
|
virtual |
Apply the algorithm to a probe.
| prob |
Reimplemented from DefaultVisitor.
Definition at line 655 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), ElementBase::clone(), endl(), ElementBase::getName(), PluginElement::getXEnd(), PluginElement::getXStart(), PluginElement::getYEnd(), PluginElement::getYStart(), gmsg, PluginElement::initialise(), Tracker::itsBunch_m, myElements, and PROBE.
|
virtual |
Apply the algorithm to a rectangular bend.
| bend |
Reimplemented from DefaultVisitor.
Definition at line 694 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.
|
virtualinherited |
Apply the algorithm to a rectangular bend.
Reimplemented from BeamlineVisitor.
Reimplemented in ParallelTTracker.
Definition at line 145 of file DefaultVisitor.cpp.
References applyDefault().
|
virtual |
Apply the algorithm to a RF cavity.
| as |
Reimplemented from DefaultVisitor.
Definition at line 704 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), ElementBase::clone(), endl(), RFCavity::getAmplitudeModelName(), RFCavity::getAzimuth(), RFCavity::getCavityType(), RFCavity::getCavityTypeString(), RFCavity::getCycFrequency(), RFCavity::getFieldMapFN(), RFCavity::getFrequencyModelName(), RFCavity::getGapWidth(), ElementBase::getName(), RFCavity::getPerpenDistance(), RFCavity::getPhaseModelName(), RFCavity::getPhi0(), RFCavity::getRmax(), RFCavity::getRmin(), AbstractTimeDependence::getTimeDependence(), gmsg, RFCavity::initialise(), Tracker::itsBunch_m, myElements, Units::rad2deg, RFCAVITY, and SGSW.
|
virtual |
Apply the algorithm to a ring.
| ring |
Reimplemented from DefaultVisitor.
Definition at line 798 of file ParallelCyclotronTracker.cpp.
References Util::angleBetweenAngles(), beamInitialRotation, buildupFieldList(), Ring::clone(), cosRefTheta_m, endl(), gmsg, Tracker::itsBunch_m, AbstractTracker::itsReference, myElements, opalRing_m, Physics::pi, referencePr, referencePt, referencePtot, referencePz, referenceR, referenceTheta, referenceZ, RING, and sinRefTheta_m.
|
virtual |
Apply the algorithm to a sector bend.
| bend |
Reimplemented from DefaultVisitor.
Definition at line 851 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.
|
virtual |
Apply the algorithm to a sector bend with 3D field map.
Reimplemented from DefaultVisitor.
Definition at line 856 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and opalRing_m.
|
virtual |
Apply the algorithm to a scaling FFA magnet.
Reimplemented from DefaultVisitor.
Definition at line 865 of file ParallelCyclotronTracker.cpp.
References ScalingFFAMagnet::clone(), endl(), gmsg, opalRing_m, and ScalingFFAMagnet::setupEndField().
|
virtual |
Apply the algorithm to a septum.
| sept |
Reimplemented from DefaultVisitor.
Definition at line 882 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), ElementBase::clone(), endl(), ElementBase::getName(), Septum::getWidth(), PluginElement::getXEnd(), PluginElement::getXStart(), PluginElement::getYEnd(), PluginElement::getYStart(), gmsg, Septum::initialise(), Tracker::itsBunch_m, myElements, and SEPTUM.
|
virtual |
Apply the algorithm to a solenoid.
| solenoid |
Reimplemented from DefaultVisitor.
Definition at line 924 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), gmsg, ElementBase::hasAttribute(), and myElements.
|
virtualinherited |
Apply the algorithm to a source.
Implements BeamlineVisitor.
Reimplemented in ParallelTTracker.
Definition at line 177 of file DefaultVisitor.cpp.
References applyDefault().
|
virtual |
Apply the algorithm to a particle stripper.
| stripper |
Reimplemented from DefaultVisitor.
Definition at line 938 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), ElementBase::clone(), endl(), ElementBase::getName(), Stripper::getOPCharge(), Stripper::getOPMass(), Stripper::getStop(), PluginElement::getXEnd(), PluginElement::getXStart(), PluginElement::getYEnd(), PluginElement::getYStart(), gmsg, PluginElement::initialise(), Tracker::itsBunch_m, myElements, and STRIPPER.
|
virtualinherited |
Apply the algorithm to a traveling wave.
Implements BeamlineVisitor.
Reimplemented in ParallelTTracker, and ThickTracker.
Definition at line 185 of file DefaultVisitor.cpp.
References applyDefault().
|
virtual |
Apply the algorithm to a vacuum space.
| vac |
Reimplemented from DefaultVisitor.
Definition at line 989 of file ParallelCyclotronTracker.cpp.
References buildupFieldList(), ElementBase::clone(), endl(), Vacuum::getPressure(), Vacuum::getPressureMapFN(), Vacuum::getPScale(), Vacuum::getResidualGasName(), Vacuum::getStop(), Vacuum::getTemperature(), gmsg, Vacuum::initialise(), Tracker::itsBunch_m, myElements, and VACUUM.
|
virtual |
Apply the algorithm to a variabel RF cavity.
| cav |
Reimplemented from DefaultVisitor.
Definition at line 1032 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and opalRing_m.
|
virtual |
Apply the algorithm to a variable RF cavity with Fringe Field.
| cav |
Reimplemented from DefaultVisitor.
Definition at line 1046 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and opalRing_m.
|
virtual |
Apply the algorithm to a vertical FFA magnet.
| mag |
Reimplemented from DefaultVisitor.
Definition at line 1061 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and opalRing_m.
|
private |
the different azimuthal angles for the outfTheta_m output files
Definition at line 309 of file ParallelCyclotronTracker.h.
Referenced by dumpAzimuthAngles_m(), and initializeTracking_m().
|
private |
Definition at line 281 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpStatData(), execute(), and saveInjectValues().
|
protectedinherited |
Definition at line 155 of file DefaultVisitor.h.
Referenced by DefaultVisitor(), execute(), and Tracker::visitComponent().
|
protectedinherited |
Definition at line 157 of file DefaultVisitor.h.
Referenced by DefaultVisitor().
|
protectedinherited |
Definition at line 156 of file DefaultVisitor.h.
Referenced by DefaultVisitor(), execute(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), ParallelTTracker::updateReferenceParticle(), and Tracker::visitComponent().
|
private |
Definition at line 238 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), and visitRing().
|
private |
The reference variables.
Definition at line 235 of file ParallelCyclotronTracker.h.
Referenced by setBeGa(), and visitCyclotron().
|
private |
Definition at line 222 of file ParallelCyclotronTracker.h.
Referenced by bgf_main_collision_test(), execute(), and ParallelCyclotronTracker().
|
private |
Definition at line 332 of file ParallelCyclotronTracker.h.
Referenced by ParallelCyclotronTracker(), and repartition().
|
private |
Definition at line 218 of file ParallelCyclotronTracker.h.
|
private |
Definition at line 256 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), visitCyclotron(), and visitRing().
|
private |
Definition at line 224 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), and visitCyclotron().
|
private |
Definition at line 334 of file ParallelCyclotronTracker.h.
Referenced by deleteParticle(), and ParallelCyclotronTracker().
|
private |
Definition at line 330 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), ParallelCyclotronTracker(), and singleParticleDump().
|
private |
Definition at line 300 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 300 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 300 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 214 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), buildupFieldList(), bunchDumpPhaseSpaceData(), bunchDumpStatData(), computeExternalFields_m(), computeExternalFields_m(), execute(), gapCrossKick_m(), getHarmonicNumber(), and ~ParallelCyclotronTracker().
|
protectedinherited |
Definition at line 160 of file DefaultVisitor.h.
Referenced by DefaultVisitor().
|
protectedinherited |
Definition at line 161 of file DefaultVisitor.h.
Referenced by DefaultVisitor().
|
private |
Definition at line 303 of file ParallelCyclotronTracker.h.
Referenced by checkFileMomentum(), initDistInGlobalFrame(), ParallelCyclotronTracker(), and setTimeStep().
|
private |
Definition at line 304 of file ParallelCyclotronTracker.h.
Referenced by checkFileMomentum(), initDistInGlobalFrame(), ParallelCyclotronTracker(), and setTrackingMode().
|
private |
Definition at line 329 of file ParallelCyclotronTracker.h.
Referenced by borisExternalFields(), bunchMode_m(), kick(), ParallelCyclotronTracker(), push(), seoMode_m(), and singleMode_m().
|
private |
Definition at line 216 of file ParallelCyclotronTracker.h.
Referenced by execute(), ParallelCyclotronTracker(), and ~ParallelCyclotronTracker().
|
inherited |
Definition at line 122 of file Tracker.h.
Referenced by ParallelTTracker::prepareSections(), ThickTracker::prepareSections(), and Tracker().
|
protectedinherited |
The bunch of particles to be tracked.
Definition at line 151 of file Tracker.h.
Referenced by addToBunch(), ThickTracker::advanceDispersion_m(), ThickTracker::advanceParticles_m(), applyDrift(), ParallelTTracker::applyFractionalStep(), ParallelCyclotronTracker::applyPluginElements(), applyThinMultipole(), applyThinSBend(), applyTransform(), ParallelTTracker::autophaseCavities(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::borisExternalFields(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), ParallelCyclotronTracker::bunchMode_m(), ParallelCyclotronTracker::calcMeanP(), ParallelCyclotronTracker::calcMeanR(), ParallelTTracker::changeDT(), ParallelCyclotronTracker::checkFileMomentum(), ParallelCyclotronTracker::checkNumPart(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), ParallelCyclotronTracker::computePathLengthUpdate(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ParallelTTracker::computeWakefield(), ParallelCyclotronTracker::deleteParticle(), ParallelTTracker::doBinaryRepartition(), ThickTracker::dump_m(), ParallelTTracker::dumpStats(), ParallelTTracker::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::execute(), ParallelTTracker::execute(), ThickTracker::execute(), ParallelCyclotronTracker::finalizeTracking_m(), ParallelTTracker::findStartPosition(), ParallelCyclotronTracker::gapCrossKick_m(), ParallelCyclotronTracker::GenericTracker(), getBunch(), ParallelCyclotronTracker::getFieldsAtPoint(), ParallelCyclotronTracker::globalToLocal(), ParallelTTracker::hasEndOfLineReached(), ParallelCyclotronTracker::initDistInGlobalFrame(), ParallelCyclotronTracker::initializeTracking_m(), ParallelCyclotronTracker::initTrackOrbitFile(), ParallelCyclotronTracker::injectBunch(), ParallelCyclotronTracker::isMultiBunch(), ParallelCyclotronTracker::kick(), ParallelTTracker::kickParticles(), ParallelCyclotronTracker::localToGlobal(), ParallelCyclotronTracker::MtsTracker(), ParallelTTracker::prepareEmission(), ParallelCyclotronTracker::push(), ParallelTTracker::pushParticles(), ParallelCyclotronTracker::repartition(), ParallelCyclotronTracker::RFkick(), ParallelCyclotronTracker::rotateAroundX(), ParallelCyclotronTracker::rotateAroundZ(), ParallelCyclotronTracker::rotateWithQuaternion(), ParallelCyclotronTracker::saveInjectValues(), ParallelTTracker::selectDT(), ParallelCyclotronTracker::seoMode_m(), ParallelTTracker::setTime(), ParallelCyclotronTracker::setTimeStep(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), ParallelTTracker::timeIntegration2(), ThickTracker::track_m(), Tracker(), ParallelTTracker::transformBunch(), ParallelCyclotronTracker::update_m(), ThickTracker::update_m(), ThickTracker::updateParticle_m(), ParallelCyclotronTracker::updatePathLength(), ParallelTTracker::updateReferenceParticle(), ParallelTTracker::updateRefToLabCSTrafo(), ParallelCyclotronTracker::updateTime(), ParallelCyclotronTracker::visitCCollimator(), ParallelTTracker::visitCCollimator(), visitComponent(), ParallelTTracker::visitCorrector(), ParallelCyclotronTracker::visitCyclotron(), ParallelTTracker::visitDegrader(), ParallelTTracker::visitDrift(), ThickTracker::visitDrift(), ParallelTTracker::visitFlexibleCollimator(), ParallelTTracker::visitMarker(), ParallelTTracker::visitMonitor(), ParallelTTracker::visitMultipole(), ThickTracker::visitMultipole(), ParallelTTracker::visitMultipoleT(), ParallelCyclotronTracker::visitOutputPlane(), ParallelCyclotronTracker::visitProbe(), ParallelTTracker::visitProbe(), ParallelTTracker::visitRBend(), ParallelTTracker::visitRBend3D(), ParallelCyclotronTracker::visitRFCavity(), ParallelTTracker::visitRFCavity(), ParallelCyclotronTracker::visitRing(), ParallelTTracker::visitSBend(), ThickTracker::visitSBend(), ParallelCyclotronTracker::visitSeptum(), ParallelTTracker::visitSeptum(), ParallelTTracker::visitSolenoid(), ParallelTTracker::visitSource(), ParallelCyclotronTracker::visitStripper(), ParallelTTracker::visitTravelingWave(), ParallelCyclotronTracker::visitVacuum(), ParallelTTracker::visitVacuum(), and ParallelTTracker::writePhaseSpace().
|
private |
Definition at line 220 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), initPathLength(), and ParallelCyclotronTracker().
|
protectedinherited |
Definition at line 152 of file DefaultVisitor.h.
Referenced by DefaultVisitor(), and execute().
|
protectedinherited |
The reference information.
Definition at line 54 of file AbstractTracker.h.
Referenced by AbstractTracker(), Tracker::applyDrift(), Tracker::applyTransform(), ParallelTTracker::autophaseCavities(), ParallelTTracker::computeParticleMatterInteraction(), ParallelTTracker::execute(), ThickTracker::fillGaps_m(), ParallelCyclotronTracker::injectBunch(), Tracker::visitComponent(), ParallelCyclotronTracker::visitCyclotron(), ThickTracker::visitDrift(), ThickTracker::visitMultipole(), ParallelCyclotronTracker::visitRing(), and ThickTracker::visitSBend().
|
private |
Definition at line 457 of file ParallelCyclotronTracker.h.
Referenced by bunchMode_m(), execute(), gapCrossKick_m(), ParallelCyclotronTracker(), seoMode_m(), and singleMode_m().
|
private |
Definition at line 261 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), finalizeTracking_m(), ParallelCyclotronTracker(), and setLastDumpedStep().
|
privateinherited |
Definition at line 176 of file DefaultVisitor.h.
Referenced by DefaultVisitor(), execute(), visitBeamline(), and visitFlaggedElmPtr().
|
private |
Definition at line 446 of file ParallelCyclotronTracker.h.
Referenced by bgf_main_collision_test(), and execute().
|
private |
The maximal number of steps the system is integrated.
Definition at line 227 of file ParallelCyclotronTracker.h.
Referenced by GenericTracker(), MtsTracker(), and ParallelCyclotronTracker().
|
private |
Definition at line 259 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpStatData(), bunchMode_m(), deleteParticle(), execute(), hasMultiBunch(), initDistInGlobalFrame(), initializeTracking_m(), initPathLength(), injectBunch(), isMultiBunch(), MtsTracker(), ParallelCyclotronTracker(), saveInjectValues(), updateAzimuthAndRadius(), updatePathLength(), updateTime(), and visitCyclotron().
|
private |
Definition at line 466 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), GenericTracker(), initializeTracking_m(), MtsTracker(), ParallelCyclotronTracker(), setTrackingMode(), and update_m().
|
private |
Definition at line 215 of file ParallelCyclotronTracker.h.
Referenced by visitCCollimator(), visitCorrector(), visitCyclotron(), visitDegrader(), visitDrift(), visitMarker(), visitMonitor(), visitMultipole(), visitMultipoleT(), visitOutputPlane(), visitProbe(), visitRBend(), visitRFCavity(), visitRing(), visitSBend(), visitSeptum(), visitSolenoid(), visitStripper(), visitVacuum(), and ~ParallelCyclotronTracker().
|
private |
Definition at line 302 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), initTrackOrbitFile(), ParallelCyclotronTracker(), and singleParticleDump().
|
private |
Definition at line 443 of file ParallelCyclotronTracker.h.
Referenced by execute(), getHarmonicNumber(), getRing(), ParallelCyclotronTracker(), visitMultipoleT(), visitOffset(), visitOutputPlane(), visitRing(), visitSBend3D(), visitScalingFFAMagnet(), visitVariableRFCavity(), visitVariableRFCavityFringeField(), and visitVerticalFFAMagnet().
|
private |
output coordinates at different azimuthal angles and one after every turn
Definition at line 307 of file ParallelCyclotronTracker.h.
Referenced by closeFiles(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), and openFiles().
|
private |
output file for six dimensional phase space
Definition at line 315 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), initTrackOrbitFile(), seoMode_m(), singleMode_m(), and singleParticleDump().
|
private |
Definition at line 264 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), and updatePathLength().
|
private |
Definition at line 217 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), execute(), and update_m().
|
private |
Definition at line 333 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), and ParallelCyclotronTracker().
|
private |
Definition at line 282 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpStatData(), execute(), and saveInjectValues().
|
private |
Definition at line 253 of file ParallelCyclotronTracker.h.
Referenced by setPreviousH5Local(), and visitCyclotron().
|
private |
Definition at line 251 of file ParallelCyclotronTracker.h.
Referenced by bunchMode_m(), and computeSpaceChargeFields_m().
|
private |
Definition at line 247 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), setPhi(), and visitCyclotron().
|
private |
Definition at line 241 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPr(), visitCyclotron(), and visitRing().
|
private |
Definition at line 246 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), setPsi(), and visitCyclotron().
|
private |
Definition at line 242 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPt(), visitCyclotron(), and visitRing().
|
private |
Definition at line 244 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), checkFileMomentum(), visitCyclotron(), and visitRing().
|
private |
Definition at line 243 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPz(), visitCyclotron(), and visitRing().
|
private |
Definition at line 236 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setR(), visitCyclotron(), and visitRing().
|
private |
Definition at line 237 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), initializeTracking_m(), setTheta(), visitCyclotron(), and visitRing().
|
private |
Definition at line 239 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setZ(), visitCyclotron(), and visitRing().
|
private |
Definition at line 276 of file ParallelCyclotronTracker.h.
Referenced by execute(), and initializeTracking_m().
|
private |
Definition at line 471 of file ParallelCyclotronTracker.h.
Referenced by globalToLocal(), localToGlobal(), ParallelCyclotronTracker(), rotateAroundX(), rotateAroundX(), rotateAroundZ(), and rotateAroundZ().
|
private |
Referenced by bunchMode_m(), dumpAzimuthAngles_m(), initializeTracking_m(), injectBunch(), and isTurnDone().
|
private |
Definition at line 255 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), visitCyclotron(), and visitRing().
|
private |
Definition at line 249 of file ParallelCyclotronTracker.h.
Referenced by computeSpaceChargeFields_m(), initializeTracking_m(), and visitCyclotron().
|
private |
Definition at line 275 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchMode_m(), computeSpaceChargeFields_m(), deleteParticle(), execute(), GenericTracker(), initDistInGlobalFrame(), initializeTracking_m(), injectBunch(), isTurnDone(), MtsTracker(), repartition(), seoMode_m(), singleMode_m(), and update_m().
|
private |
Definition at line 468 of file ParallelCyclotronTracker.h.
Referenced by execute(), and ParallelCyclotronTracker().
|
private |
Definition at line 331 of file ParallelCyclotronTracker.h.
Referenced by globalToLocal(), globalToLocal(), globalToLocal(), globalToLocal(), localToGlobal(), localToGlobal(), localToGlobal(), localToGlobal(), and ParallelCyclotronTracker().
|
private |
Definition at line 278 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), bgf_main_collision_test(), bunchMode_m(), dumpAngle(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), execute(), finalizeTracking_m(), initializeTracking_m(), injectBunch(), MtsTracker(), and seoMode_m().
The positive axes unit vectors.
Definition at line 230 of file ParallelCyclotronTracker.h.
Referenced by getQuaternionTwoVectors().
Definition at line 231 of file ParallelCyclotronTracker.h.
Referenced by computeSpaceChargeFields_m().
Definition at line 232 of file ParallelCyclotronTracker.h.
Referenced by getQuaternionTwoVectors().