|
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 |
Public Types inherited from AbstractTracker | |
| 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 |
| 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 Member Functions inherited from Tracker | |
| Tracker (const Beamline &, const PartData &, bool backBeam, bool backTrack) | |
| Constructor. | |
| Tracker (const Beamline &, PartBunchBase< double, 3 > *bunch, const PartData &, bool backBeam, bool backTrack) | |
| Constructor. | |
| virtual | ~Tracker () |
| 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 | |
Public Member Functions inherited from AbstractTracker | |
| AbstractTracker (const Beamline &, const PartData &, bool backBeam, bool backTrack) | |
| Constructor. | |
| virtual | ~AbstractTracker () |
Public Member Functions inherited from DefaultVisitor | |
| DefaultVisitor (const Beamline &beamline, bool backBeam, bool backTrack) | |
| Constructor. | |
| virtual | ~DefaultVisitor ()=0 |
| 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. | |
Public Member Functions inherited from BeamlineVisitor | |
| BeamlineVisitor () | |
| virtual | ~BeamlineVisitor () |
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 (bool force=false) |
| 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 () |
| bool | getReferenceParticle (Vector_t &refR, Vector_t &refP) const |
| bool | setRefPartForDump_m (Vector_t &refR, Vector_t &refP) |
| void | bunchDumpPhaseSpaceData () |
| void | evaluateSpaceChargeField () |
| void | initDistInGlobalFrame () |
| void | setTimeStep () |
| void | checkFileMomentum () |
| void | checkNumPart (std::string s) |
| double | getHarmonicNumber () const |
| bool | isTurnDone () |
| Check if turn done. | |
| bool | statDumpBeforeNextSolve_m () const |
| 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 () |
| void | printMeshFit_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 () |
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}) |
Additional Inherited Members | |
Public Attributes inherited from Tracker | |
| FieldList | cavities_m |
| const Beamline & | itsBeamline_m |
Protected Member Functions inherited from Tracker | |
| 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 inherited from Tracker | |
| PartBunchBase< double, 3 > * | itsBunch_m |
| The bunch of particles to be tracked. | |
Protected Attributes inherited from AbstractTracker | |
| const PartData | itsReference |
| The reference information. | |
Protected Attributes inherited from DefaultVisitor | |
| const Beamline & | itsLine |
| bool | back_beam |
| bool | back_track |
| bool | back_path |
| double | flip_B |
| double | flip_s |
Definition at line 71 of file ParallelCyclotronTracker.h.
| typedef std::list<type_pair*> ParallelCyclotronTracker::beamline_list |
Definition at line 78 of file ParallelCyclotronTracker.h.
| typedef std::vector<double> ParallelCyclotronTracker::dvector_t |
Definition at line 74 of file ParallelCyclotronTracker.h.
| typedef std::pair<double[8], Component*> ParallelCyclotronTracker::element_pair |
Definition at line 76 of file ParallelCyclotronTracker.h.
|
private |
Definition at line 489 of file ParallelCyclotronTracker.h.
| typedef std::vector<int> ParallelCyclotronTracker::ivector_t |
Definition at line 75 of file ParallelCyclotronTracker.h.
| typedef std::pair<ElementType, element_pair> ParallelCyclotronTracker::type_pair |
Definition at line 77 of file ParallelCyclotronTracker.h.
|
strongprivate |
| Enumerator | |
|---|---|
| UNDEFINED | |
| SINGLE | |
| SEO | |
| BUNCH | |
Definition at line 218 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 107 of file ParallelCyclotronTracker.cpp.
References BinRepartTimer_m, ElementBase::clone(), CORE, DelParticleTimer_m, DumpTimer_m, PartBunchBase< T, Dim >::getMeshFit(), IpplTimings::getTimer(), IntegrationTimer_m, itsBeamline, itsDataSink, mbHandler_m, PluginElemTimer_m, setTrackingMode(), TransformTimer_m, and MeshFitParameters::type.

|
virtual |
Destructor ParallelCyclotronTracker
Definition at line 166 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, itsBeamline, and myElements.
|
private |
|
private |
|
private |
Definition at line 2094 of file ParallelCyclotronTracker.cpp.
References Vacuum::checkVacuum(), cycl_m, endl(), FieldDimensions, PartBunchBase< T, Dim >::getT(), PartBunchBase< T, Dim >::getTotalNum(), gmsg, Tracker::itsBunch_m, pluginElements_m, PluginElemTimer_m, IpplTimings::startTimer(), IpplTimings::stopTimer(), turnnumber_m, PartBunchBase< T, Dim >::updateNumTotal(), and VACUUM.
Referenced by borisExternalFields(), bunchMode_m(), GenericTracker(), and singleMode_m().

| void ParallelCyclotronTracker::bgf_main_collision_test | ( | ) |
Here we check if a particle is outside the domain, flag it for deletion
Definition at line 178 of file ParallelCyclotronTracker.cpp.
References bgf_m, PartBunchBase< T, Dim >::Bin, PartBunchBase< T, Dim >::bunchNum, endl(), Units::eV2MeV, PartBunchBase< T, Dim >::getdT(), getHarmonicNumber(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getM(), PartBunchBase< T, Dim >::getT(), Units::GeV2MeV, gmsgALL, PartBunchBase< T, Dim >::ID, Tracker::itsBunch_m, level4(), lossDs_m, PartBunchBase< T, Dim >::M, PartBunchBase< T, Dim >::P, BoundaryGeometry::partInside(), PartBunchBase< T, Dim >::POrigin, PartBunchBase< T, Dim >::Q, PartBunchBase< T, Dim >::R, REGULAR, and turnnumber_m.
Referenced by bunchMode_m(), and singleMode_m().

|
private |
Definition at line 2064 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), PartBunchBase< T, Dim >::Bf, computeExternalFields_m(), deleteParticle(), PartBunchBase< T, Dim >::Ef, PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getT(), IntegrationTimer_m, Tracker::itsBunch_m, kick(), push(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by MtsTracker().

|
private |
| BcParameter | |
| ElementType | |
| elptr |
Definition at line 1120 of file ParallelCyclotronTracker.cpp.
References CYCLOTRON, FieldDimensions, numRFCavities_m, RFCAVITY, and RING.
Referenced by visitCCollimator(), visitCyclotron(), visitOutputPlane(), visitProbe(), visitRFCavity(), visitRing(), visitSeptum(), visitStripper(), and visitVacuum().
|
private |
Definition at line 2743 of file ParallelCyclotronTracker.cpp.
References BUNCH_MEAN, calcMeanP(), calcMeanR(), calculateAngle(), computeRadius(), DataSink::dumpH5(), DumpTimer_m, endl(), euclidean_norm(), extB_m, extE_m, FDext_m, FieldDimensions, PartBunchBase< T, Dim >::get_meanKineticEnergy(), PartBunchBase< T, Dim >::getT(), PartBunchBase< T, Dim >::getTotalNum(), GLOBAL, globalToLocal(), gmsg, isMultiBunch(), Tracker::itsBunch_m, itsDataSink, Units::kG2T, lastDumpedStep_m, localToGlobal(), Units::m2mm, PartBunchBase< T, Dim >::P, Physics::pi, Options::psDumpFrame, Options::psDumpFreq, PartBunchBase< T, Dim >::R, Units::rad2deg, referencePr, referencePt, referencePtot, referencePz, referenceR, referenceTheta, referenceZ, setRefPartForDump_m(), IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by initDistInGlobalFrame(), and update_m().

|
private |
Definition at line 2568 of file ParallelCyclotronTracker.cpp.
References azimuth_m, BUNCH_MEAN, calcMeanP(), calcMeanR(), calculateAngle(), dumpAngle(), DataSink::dumpSDDS(), DumpTimer_m, euclidean_norm(), extB_m, extE_m, FDext_m, FieldDimensions, PartBunchBase< T, Dim >::getdT(), getHarmonicNumber(), PartBunchBase< T, Dim >::getT(), GLOBAL, globalToLocal(), isMultiBunch(), Tracker::itsBunch_m, itsDataSink, Units::kG2T, localToGlobal(), mbHandler_m, PartBunchBase< T, Dim >::P, Physics::pi, prevAzimuth_m, Options::psDumpFrame, PartBunchBase< T, Dim >::R, Units::rad2deg, setRefPartForDump_m(), IpplTimings::startTimer(), IpplTimings::stopTimer(), updateAzimuthAndRadius(), and DataSink::writeMultiBunchStatistics().
Referenced by initDistInGlobalFrame(), and update_m().

|
private |
Definition at line 3238 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), Communicate::barrier(), PartBunchBase< T, Dim >::Bf, bgf_main_collision_test(), PartBunchBase< T, Dim >::Bin, calcMeanP(), PartBunchBase< T, Dim >::cavityGapCrossed, IpplInfo::Comm, computeSpaceChargeFields_m(), deleteParticle(), PartBunchBase< T, Dim >::Ef, endl(), gapCrossKick_m(), PartBunchBase< T, Dim >::getLocalNum(), getQuaternionTwoVectors(), PartBunchBase< T, Dim >::getTotalNum(), globalToLocal(), gmsg, PartBunchBase< T, Dim >::hasFieldSolver(), injectBunch(), IntegrationTimer_m, isMultiBunch(), isTurnDone(), Tracker::itsBunch_m, itsStepper_mp, mbHandler_m, PartBunchBase< T, Dim >::P, PreviousMeanP, printMeshFit_m(), PartBunchBase< T, Dim >::R, Options::rebinFreq, ParallelCyclotronTracker::settings::scSolveFreq, PartBunchBase< T, Dim >::setComputeSCDiagnostics(), setup_m, singleParticleDump(), Options::sptDumpFreq, IpplTimings::startTimer(), statDumpBeforeNextSolve_m(), step_m, IpplTimings::stopTimer(), and turnnumber_m.
Referenced by GenericTracker().

|
private |
Definition at line 1672 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getTotalNum(), Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, and reduce().
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), bunchMode_m(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), MtsTracker(), and setRefPartForDump_m().

|
private |
Definition at line 1649 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::bunchNum, PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getTotalNum(), PartBunchBase< T, Dim >::getTotalNumPerBunch(), Tracker::itsBunch_m, PartBunchBase< T, Dim >::R, and reduce().
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), computeSpaceChargeFields_m(), deleteParticle(), initDistInGlobalFrame(), MtsTracker(), saveInjectValues(), setRefPartForDump_m(), and updateAzimuthAndRadius().

|
inlineprivate |
| x | |
| y |
Definition at line 604 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 618 of file ParallelCyclotronTracker.h.
Referenced by MtsTracker(), and singleMode_m().
|
private |
Definition at line 2422 of file ParallelCyclotronTracker.cpp.
References allreduce(), euclidean_norm(), PartBunchBase< T, Dim >::getMomentumTolerance(), initialLocalNum_m, initialTotalNum_m, Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, and referencePtot.
Referenced by initDistInGlobalFrame().

|
private |
| Rold | |
| Rnew | |
| elptr | |
| Dold |
Definition at line 1513 of file ParallelCyclotronTracker.cpp.
References RFCavity::getCosAzimuth(), RFCavity::getPerpenDistance(), and RFCavity::getSinAzimuth().
Referenced by gapCrossKick_m().

|
private |
Definition at line 1154 of file ParallelCyclotronTracker.cpp.
References endl(), PartBunchBase< T, Dim >::getLocalNum(), gmsg, Tracker::itsBunch_m, and reduce().
Referenced by initDistInGlobalFrame().

|
private |
Close all files related to special output in the Cyclotron mode.
Definition at line 343 of file ParallelCyclotronTracker.cpp.
References outfTheta_m.
Referenced by finalizeTracking_m().
|
private |
Definition at line 3554 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 3568 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 247 of file ParallelCyclotronTracker.cpp.
References allreduce(), BUNCH_MEAN, PartBunchBase< T, Dim >::bunchNum, Physics::c, dot(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getTotalNum(), PartBunchBase< T, Dim >::getTotalNumPerBunch(), PartBunchBase< T, Dim >::ID, isMultiBunch(), Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, Options::psDumpFrame, and sum().
Referenced by updatePathLength().

|
private |
Definition at line 242 of file ParallelCyclotronTracker.cpp.
References Units::m2mm.
Referenced by bunchDumpPhaseSpaceData(), saveInjectValues(), and updateAzimuthAndRadius().
|
private |
Definition at line 3434 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::Bf, PartBunchBase< T, Dim >::boundp(), PartBunchBase< T, Dim >::boundp_destroyCycl(), Options::boundpDestroyFreq, PartBunchBase< T, Dim >::calcGammas_cycl(), calcMeanP(), calcMeanR(), PartBunchBase< T, Dim >::computeSelfFields_cycl(), PartBunchBase< T, Dim >::Ef, PartBunchBase< T, Dim >::getChargePerParticle(), PartBunchBase< T, Dim >::getFieldSolverType(), Util::getGamma(), PartBunchBase< T, Dim >::getLastemittedBin(), getQuaternionTwoVectors(), globalToLocal(), hasMultiBunch(), PartBunchBase< T, Dim >::isMeshFitRepartitionDue(), Tracker::itsBunch_m, localToGlobal(), PreviousMeanP, PartBunchBase< T, Dim >::Q, PartBunchBase< T, Dim >::R, repartition(), SAAMG, PartBunchBase< T, Dim >::setBinCharge(), PartBunchBase< T, Dim >::setGlobalMeanR(), PartBunchBase< T, Dim >::setGlobalToLocalQuaternion(), PartBunchBase< T, Dim >::setMeshFitSolveStep(), spiral_flag, step_m, and yaxis.
Referenced by bunchMode_m(), and MtsTracker().

|
private |
Definition at line 2123 of file ParallelCyclotronTracker.cpp.
References allreduce(), PartBunchBase< T, Dim >::Bin, PartBunchBase< T, Dim >::boundp(), PartBunchBase< T, Dim >::bunchNum, PartBunchBase< T, Dim >::calcBeamParameters(), calcMeanP(), calcMeanR(), calculateAngle(), Options::delPartFreq, DelParticleTimer_m, PartBunchBase< T, Dim >::destroy(), endl(), euclidean_norm(), PartBunchBase< T, Dim >::getLastemittedBin(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getLocalNumPerBunch(), PartBunchBase< T, Dim >::getNumBunch(), globalToLocal(), gmsg, isMultiBunch(), Tracker::itsBunch_m, level3(), localToGlobal(), mbHandler_m, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::performDestroy(), Physics::pi, PartBunchBase< T, Dim >::R, reduce(), PartBunchBase< T, Dim >::setLocalBinCount(), PartBunchBase< T, Dim >::setLocalNumPerBunch(), PartBunchBase< T, Dim >::setTotalNum(), PartBunchBase< T, Dim >::setTotalNumPerBunch(), IpplTimings::startTimer(), step_m, IpplTimings::stopTimer(), and sum().
Referenced by borisExternalFields(), bunchMode_m(), GenericTracker(), and singleMode_m().

|
private |
Definition at line 218 of file ParallelCyclotronTracker.cpp.
References OpalData::getInstance(), and turnnumber_m.
Referenced by bunchDumpStatData(), saveInjectValues(), and updateAzimuthAndRadius().

|
inlineprivate |
Definition at line 3387 of file ParallelCyclotronTracker.cpp.
References azimuth_angle_m, ParallelCyclotronTracker::settings::deltaTheta, outfTheta_m, Units::rad2deg, Units::s2ns, setup_m, and turnnumber_m.
Referenced by MtsTracker(), and singleMode_m().
|
inlineprivate |
Definition at line 3409 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 1165 of file ParallelCyclotronTracker.cpp.
References ElementBase::accept(), 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(), PartBunchBase< T, Dim >::getNumBunch(), Object::getOpalName(), RFCavity::getPerpenDistance(), RFCavity::getSinAzimuth(), ElementBase::getTypeString(), gmsg, isMultiBunch(), itsBeamline, Tracker::itsBunch_m, itsStepper_mp, Steppers::LF2, Ring::lockRing(), lossDs_m, mbHandler_m, Steppers::MTS, MtsTracker(), opalRing_m, OUTPUTPLANE, pluginElements_m, prevAzimuth_m, PROBE, refLostWarned_m, restartStep0_m, RFCAVITY, Steppers::RK4, SEPTUM, OpalData::setOpenMode(), step_m, stepper_m, STRIPPER, turnnumber_m, DumpEMFields::writeFields(), and DumpFields::writeFields().

|
private |
Definition at line 3051 of file ParallelCyclotronTracker.cpp.
References Communicate::barrier(), BUNCH, PartBunchBase< T, Dim >::calcBeamParameters(), closeFiles(), IpplInfo::Comm, endl(), Units::eV2MeV, PartBunchBase< T, Dim >::getM(), getReferenceParticle(), PartBunchBase< T, Dim >::getTotalNum(), 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 3335 of file ParallelCyclotronTracker.cpp.
References Physics::c, PartBunchBase< T, Dim >::cavityGapCrossed, checkGapCross(), euclidean_norm(), FieldDimensions, Util::getBeta(), Tracker::itsBunch_m, itsStepper_mp, numRFCavities_m, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::R, RFCAVITY, and RFkick().
Referenced by bunchMode_m(), and singleMode_m().

|
private |
Definition at line 1402 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), BUNCH, bunchMode_m(), cycl_m, deleteParticle(), endl(), finalizeTracking_m(), PartBunchBase< T, Dim >::getTotalNum(), gmsg, initializeTracking_m(), Tracker::itsBunch_m, maxSteps_m, mode_m, SEO, seoMode_m(), Cyclotron::setTurnNumber(), SINGLE, singleMode_m(), step_m, turnnumber_m, UNDEFINED, and update_m().
Referenced by execute().

|
private |
Definition at line 1483 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::Bf, computeExternalFields_m(), PartBunchBase< T, Dim >::Ef, PartBunchBase< T, Dim >::hasFieldSolver(), PartBunchBase< T, Dim >::ID, and Tracker::itsBunch_m.
Referenced by execute().

|
private |
Definition at line 1637 of file ParallelCyclotronTracker.cpp.
References FieldDimensions, Cyclotron::getCyclHarm(), Ring::getHarmonicNumber(), and opalRing_m.
Referenced by bgf_main_collision_test(), bunchDumpStatData(), and initializeTracking_m().

|
inlineprivate |
Definition at line 1957 of file ParallelCyclotronTracker.cpp.
References cross(), dot(), normalizeQuaternion(), normalizeVector(), Physics::pi, xaxis, and zaxis.
Referenced by bunchMode_m(), and computeSpaceChargeFields_m().

|
private |
Fetch the phase space of the reference particle (the one with ID 0).
The reference particle can be on any rank and a repartition can move it at any step, so it must be located by ID rather than by position in the local arrays. Collective: every rank must call this, and every rank gets the same answer. Returns false if no rank holds ID 0, in which case refR/refP are untouched.
Definition at line 2677 of file ParallelCyclotronTracker.cpp.
References allreduce(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::ID, Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, and PartBunchBase< T, Dim >::R.
Referenced by finalizeTracking_m(), and setRefPartForDump_m().

|
inline |
Definition at line 216 of file ParallelCyclotronTracker.h.
References opalRing_m.
Referenced by PyOpal::Field::getRing().
|
private |
| t | |
| r | |
| z | |
| lastTurn | |
| nur | |
| nuz |
Definition at line 1570 of file ParallelCyclotronTracker.cpp.
References endl(), for_each(), gmsg, TUNE_class::lombAnalysis(), and AbstractTracker::T.
Referenced by finalizeTracking_m().

|
inlineprivate |
Definition at line 1767 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
private |
Definition at line 1694 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getLocalNum(), 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 1738 of file ParallelCyclotronTracker.cpp.
References rotateWithQuaternion(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
inlineprivate |
Definition at line 1788 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
inlineprivate |
Definition at line 630 of file ParallelCyclotronTracker.h.
References isMultiBunch(), and mbHandler_m.
Referenced by computeSpaceChargeFields_m().

|
private |
Definition at line 2270 of file ParallelCyclotronTracker.cpp.
References beamInitialRotation, PartBunchBase< T, Dim >::Bin, PartBunchBase< T, Dim >::boundp(), bunchDumpPhaseSpaceData(), bunchDumpStatData(), PartBunchBase< T, Dim >::calcBeamParameters(), calcMeanP(), calcMeanR(), calculateAngle(), checkFileMomentum(), checkNumPart(), cosRefTheta_m, PartBunchBase< T, Dim >::countTotalNumPerBunch(), endl(), euclidean_norm(), FROMFILE, PartBunchBase< T, Dim >::get_sPos(), PartBunchBase< T, Dim >::getDistType(), OpalData::getInstance(), GLOBAL, globalToLocal(), gmsg, PartBunchBase< T, Dim >::ID, initialLocalNum_m, initialTotalNum_m, isMultiBunch(), Tracker::itsBunch_m, localToGlobal(), mbHandler_m, PartBunchBase< T, Dim >::P, pathLength_m, Physics::pi, Options::psDumpFrame, PartBunchBase< T, Dim >::R, 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 2940 of file ParallelCyclotronTracker.cpp.
References azimuth_angle_m, BUNCH, Units::deg2rad, ParallelCyclotronTracker::settings::deltaTheta, endl(), PartBunchBase< T, Dim >::getdT(), getHarmonicNumber(), OpalData::getInputBasename(), OpalData::getInstance(), PartBunchBase< T, Dim >::getLocalTrackStep(), IpplInfo::getNodes(), PartBunchBase< T, Dim >::getNumBunch(), PartBunchBase< T, Dim >::getStepsPerTurn(), PartBunchBase< T, Dim >::getT(), gmsg, initDistInGlobalFrame(), initPathLength(), initTrackOrbitFile(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, mode_m, openFiles(), Physics::pi, Options::rebinFreq, referenceTheta, Options::repartFreq, restartStep0_m, Units::s2ns, ParallelCyclotronTracker::settings::scSolveFreq, Options::scSolveFreq, SEO, setup_m, SINGLE, spiral_flag, Options::sptDumpFreq, step_m, ParallelCyclotronTracker::settings::stepsNextCheck, ParallelCyclotronTracker::settings::stepsPerTurn, 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 3691 of file ParallelCyclotronTracker.cpp.
References isMultiBunch(), itsDataSink, mbHandler_m, and DataSink::setMultiBunchInitialPathLengh().
Referenced by initializeTracking_m().

|
private |
Definition at line 2251 of file ParallelCyclotronTracker.cpp.
References OpalData::getInputBasename(), OpalData::getInstance(), PartBunchBase< T, Dim >::getLocalTrackStep(), Tracker::itsBunch_m, myNode_m, and outfTrackOrbit_m.
Referenced by initializeTracking_m().

|
private |
Definition at line 3583 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, isMultiBunch(), Tracker::itsBunch_m, AbstractTracker::itsReference, mbHandler_m, saveInjectValues(), setup_m, step_m, ParallelCyclotronTracker::settings::stepsNextCheck, ParallelCyclotronTracker::settings::stepsPerTurn, and turnnumber_m.
Referenced by bunchMode_m(), and MtsTracker().

|
inlineprivate |
Definition at line 624 of file ParallelCyclotronTracker.h.
References Tracker::itsBunch_m, mbHandler_m, and PartBunchBase< T, Dim >::weHaveBins().
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 2882 of file ParallelCyclotronTracker.cpp.
References setup_m, step_m, and ParallelCyclotronTracker::settings::stepsPerTurn.
Referenced by bunchMode_m(), dumpThetaEachTurn_m(), MtsTracker(), and seoMode_m().
|
private |
Definition at line 2044 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::Bf, PartBunchBase< T, Dim >::Bin, PartBunchBase< T, Dim >::Ef, PartBunchBase< T, Dim >::getLocalNum(), Units::GeV2eV, IntegrationTimer_m, Tracker::itsBunch_m, BorisPusher::kick(), PartBunchBase< T, Dim >::M, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::Q, Physics::q_e, PartBunchBase< T, Dim >::R, IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by borisExternalFields(), and MtsTracker().

|
inlineprivate |
Definition at line 1809 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
private |
Definition at line 1715 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getLocalNum(), 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 1751 of file ParallelCyclotronTracker.cpp.
References rotateWithQuaternion(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
inlineprivate |
Definition at line 1830 of file ParallelCyclotronTracker.cpp.
References rotateAroundX(), rotateAroundZ(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and TransformTimer_m.

|
private |
Definition at line 1267 of file ParallelCyclotronTracker.cpp.
References Communicate::barrier(), borisExternalFields(), BUNCH, calcMeanP(), calcMeanR(), calculateAngle(), calculateAngle2(), IpplInfo::Comm, computeSpaceChargeFields_m(), cycl_m, dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), endl(), finalizeTracking_m(), PartBunchBase< T, Dim >::getTotalNum(), globalToLocal(), gmsg, PartBunchBase< T, Dim >::hasFieldSolver(), initializeTracking_m(), injectBunch(), isMultiBunch(), isTurnDone(), Tracker::itsBunch_m, kick(), localToGlobal(), maxSteps_m, mbHandler_m, mode_m, Options::mtsSubsteps, PartBunchBase< T, Dim >::P, Physics::pi, printMeshFit_m(), PartBunchBase< T, Dim >::R, Options::rebinFreq, Options::repartFreq, repartition(), Units::s2ns, Cyclotron::setTurnNumber(), SINGLE, singleParticleDump(), Options::sptDumpFreq, step_m, turnnumber_m, update_m(), and PartBunchBase< T, Dim >::updateNumTotal().
Referenced by execute().

|
inlineprivate |
Definition at line 1865 of file ParallelCyclotronTracker.cpp.
References dot().
Referenced by getQuaternionTwoVectors().

|
inlineprivate |
Definition at line 1877 of file ParallelCyclotronTracker.cpp.
References dot().
Referenced by getQuaternionTwoVectors().

|
private |
@ open / close output coordinate files
| fn | Base file name |
Definition at line 316 of file ParallelCyclotronTracker.cpp.
References outfTheta_m.
Referenced by initializeTracking_m().
|
private |
|
private |
FIELDSOLVER, MESHFIT=CORE: one line on the core selection of the last solve and on the solves of the turn, which starts the next turn of the bunch's statistics
Definition at line 3515 of file ParallelCyclotronTracker.cpp.
References CORE, endl(), CoreFitSC::CoreSelection::farMaxDistance, CoreFitSC::FULL, CoreFitSC::CoreSelection::getFarChargeFraction(), PartBunchBase< T, Dim >::getMeshFit(), PartBunchBase< T, Dim >::getMeshFitCore(), PartBunchBase< T, Dim >::getMeshFitFullBounds(), PartBunchBase< T, Dim >::getMeshFitMode(), PartBunchBase< T, Dim >::getMeshFitStatistics(), PartBunchBase< T, Dim >::getMeshSpacing(), gmsg, CoreFitSC::haloSigma, Tracker::itsBunch_m, PartBunchBase< T, Dim >::MeshFitStatistics::meshSpacing, CoreFitSC::ModeState::mode, PartBunchBase< T, Dim >::MeshFitStatistics::modeSwitches, CoreFitSC::CoreSelection::numCore, CoreFitSC::CoreSelection::numFar, PartBunchBase< T, Dim >::MeshFitStatistics::numFlagged, CoreFitSC::CoreSelection::numHalo, CoreFitSC::CoreSelection::numLive, PartBunchBase< T, Dim >::MeshFitStatistics::numOutside, CoreFitSC::CoreSelection::passes, PartBunchBase< T, Dim >::resetMeshFitTurn(), CoreFitSC::CoreSelection::sigma, PartBunchBase< T, Dim >::MeshFitStatistics::turnFullSolves, PartBunchBase< T, Dim >::MeshFitStatistics::turnSolves, and MeshFitParameters::type.
Referenced by bunchMode_m(), and MtsTracker().

|
private |
Definition at line 2001 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::Bin, Physics::c, cavCrossDatas_m, euclidean_norm(), Util::getGamma(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::getT(), IntegrationTimer_m, Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::R, RFkick(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by borisExternalFields().

|
private |
Definition at line 1685 of file ParallelCyclotronTracker.cpp.
References Communicate::barrier(), BinRepartTimer_m, IpplInfo::Comm, PartBunchBase< T, Dim >::do_binaryRepart(), Tracker::itsBunch_m, Options::repartFreq, IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by computeSpaceChargeFields_m(), initDistInGlobalFrame(), and MtsTracker().

|
private |
Definition at line 1528 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getM(), RFCavity::getMomentaKick(), RFCavity::getPerpenDistance(), PartBunchBase< T, Dim >::getQ(), RFCavity::getRmax(), RFCavity::getRmin(), PartBunchBase< T, Dim >::ID, Tracker::itsBunch_m, PartBunchBase< T, Dim >::P, and PartBunchBase< T, Dim >::R.
Referenced by gapCrossKick_m(), and push().

|
inlineprivate |
Definition at line 1923 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getLocalNum(), Tracker::itsBunch_m, prod_boost_vector(), and rotation_m.
Referenced by globalToLocal(), globalToLocal(), localToGlobal(), and localToGlobal().

|
inlineprivate |
Definition at line 1941 of file ParallelCyclotronTracker.cpp.
References prod_boost_vector(), and rotation_m.

|
inlineprivate |
Definition at line 1889 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getLocalNum(), Tracker::itsBunch_m, prod_boost_vector(), and rotation_m.
Referenced by globalToLocal(), globalToLocal(), localToGlobal(), and localToGlobal().

|
inlineprivate |
Definition at line 1907 of file ParallelCyclotronTracker.cpp.
References prod_boost_vector(), and rotation_m.

|
inlineprivate |
Definition at line 1851 of file ParallelCyclotronTracker.cpp.
References cross(), dot(), PartBunchBase< T, Dim >::getLocalNum(), and Tracker::itsBunch_m.
Referenced by globalToLocal(), and localToGlobal().

|
private |
Definition at line 3619 of file ParallelCyclotronTracker.cpp.
References MultiBunchHandler::injection_t::azimuth, azimuth_m, calcMeanR(), calculateAngle(), computeRadius(), dumpAngle(), PartBunchBase< T, Dim >::get_sPos(), PartBunchBase< T, Dim >::getT(), 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 3126 of file ParallelCyclotronTracker.cpp.
References calculateAngle(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::ID, IntegrationTimer_m, isTurnDone(), Tracker::itsBunch_m, itsStepper_mp, outfTrackOrbit_m, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::R, Options::sptDumpFreq, IpplTimings::startTimer(), step_m, IpplTimings::stopTimer(), and turnnumber_m.
Referenced by GenericTracker().

|
inline |
Definition at line 208 of file ParallelCyclotronTracker.h.
References bega.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
set last dumped step
Definition at line 199 of file ParallelCyclotronTracker.h.
References lastDumpedStep_m.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 209 of file ParallelCyclotronTracker.h.
References referencePhi.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Method for restart.
Definition at line 202 of file ParallelCyclotronTracker.h.
References referencePr.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 211 of file ParallelCyclotronTracker.h.
References previousH5Local.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 210 of file ParallelCyclotronTracker.h.
References referencePsi.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 203 of file ParallelCyclotronTracker.h.
References referencePt.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 204 of file ParallelCyclotronTracker.h.
References referencePz.
Referenced by TrackRun::setupCyclotronTracker().
|
inline |
Definition at line 205 of file ParallelCyclotronTracker.h.
References referenceR.
Referenced by TrackRun::setupCyclotronTracker().
getReferenceParticle(), and set itsBunch_m->RefPartR_m/RefPartP_m (global frame) to the result on every rank. If ID 0 is lost, refR/refP and both are the bunch centroid (with a warning, once) and false is returned. Collective; called by both dumps.
Definition at line 2715 of file ParallelCyclotronTracker.cpp.
References calcMeanP(), calcMeanR(), endl(), getReferenceParticle(), gmsg, Tracker::itsBunch_m, refLostWarned_m, PartBunchBase< T, Dim >::RefPartP_m, PartBunchBase< T, Dim >::RefPartR_m, and step_m.
Referenced by bunchDumpPhaseSpaceData(), and bunchDumpStatData().

|
inline |
Definition at line 206 of file ParallelCyclotronTracker.h.
References referenceTheta.
Referenced by TrackRun::setupCyclotronTracker().
|
private |
Definition at line 2416 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::dt, PartBunchBase< T, Dim >::getdT(), initialLocalNum_m, and Tracker::itsBunch_m.
Referenced by initDistInGlobalFrame().

|
private |
Definition at line 3114 of file ParallelCyclotronTracker.cpp.
References BUNCH, initialTotalNum_m, mode_m, SEO, SINGLE, and UNDEFINED.
Referenced by ParallelCyclotronTracker().
|
inline |
Definition at line 207 of file ParallelCyclotronTracker.h.
References referenceZ.
Referenced by TrackRun::setupCyclotronTracker().
|
private |
Definition at line 3174 of file ParallelCyclotronTracker.cpp.
References applyPluginElements(), bgf_main_collision_test(), PartBunchBase< T, Dim >::Bin, calculateAngle2(), PartBunchBase< T, Dim >::cavityGapCrossed, deleteParticle(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), gapCrossKick_m(), PartBunchBase< T, Dim >::getLocalNum(), PartBunchBase< T, Dim >::ID, IntegrationTimer_m, Tracker::itsBunch_m, itsStepper_mp, outfTrackOrbit_m, PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::R, Options::sptDumpFreq, IpplTimings::startTimer(), step_m, and IpplTimings::stopTimer().
Referenced by GenericTracker().

|
private |
Definition at line 2453 of file ParallelCyclotronTracker.cpp.
References Communicate::barrier(), IpplInfo::Comm, COMM_ANY_NODE, DumpTimer_m, endl(), ERRORMSG, Message::get(), PartBunchBase< T, Dim >::getLocalNum(), IpplInfo::getNodes(), PartBunchBase< T, Dim >::ID, IPPL_APP_CYCLE, IPPL_APP_TAG4, Tracker::itsBunch_m, myNode_m, TagMaker::next_tag(), outfTrackOrbit_m, PartBunchBase< T, Dim >::P, Message::put(), PartBunchBase< T, Dim >::R, Communicate::receive_block(), IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by bunchMode_m(), and MtsTracker().

|
private |
True if update_m() writes a stat row at any step from now up to the next space-charge solve, i.e. if this solve's plasma diagnostics will be written.
Definition at line 2886 of file ParallelCyclotronTracker.cpp.
References Options::psDumpEachTurn, ParallelCyclotronTracker::settings::scSolveFreq, setup_m, Options::statDumpFreq, step_m, and ParallelCyclotronTracker::settings::stepsPerTurn.
Referenced by bunchMode_m().
|
private |
Update time and path length, write to output files.
Definition at line 2897 of file ParallelCyclotronTracker.cpp.
References bunchDumpPhaseSpaceData(), bunchDumpStatData(), endl(), PartBunchBase< T, Dim >::getTotalNum(), gmsg, Tracker::itsBunch_m, mode_m, pluginElements_m, Options::psDumpEachTurn, Options::psDumpFreq, SEO, PartBunchBase< T, Dim >::setLocalTrackStep(), Options::statDumpFreq, step_m, updatePathLength(), and updateTime().
Referenced by GenericTracker(), and MtsTracker().

|
private |
Definition at line 3675 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 3643 of file ParallelCyclotronTracker.cpp.
References computePathLengthUpdate(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, pathLength_m, and PartBunchBase< T, Dim >::set_sPos().
Referenced by update_m().

|
private |
Definition at line 3664 of file ParallelCyclotronTracker.cpp.
References PartBunchBase< T, Dim >::getT(), isMultiBunch(), Tracker::itsBunch_m, mbHandler_m, and PartBunchBase< T, Dim >::setT().
Referenced by update_m().

|
virtual |
Apply the algorithm to a beam line.
| bl |
Reimplemented from DefaultVisitor.
Definition at line 1149 of file ParallelCyclotronTracker.cpp.
References TBeamline< T >::iterate().

|
virtual |
Apply the algorithm to a collimator.
| coll |
Reimplemented from DefaultVisitor.
Definition at line 519 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.

|
virtual |
Apply the algorithm to a closed orbit corrector.
| corr |
Reimplemented from DefaultVisitor.
Definition at line 566 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 355 of file ParallelCyclotronTracker.cpp.
References Cyclotron::BANDRF, bega, Util::boolVectorToUpperString(), buildupFieldList(), Cyclotron::checkInitialReferenceParticle(), ElementBase::clone(), cosRefTheta_m, cycl_m, CYCLOTRON, Units::deg2rad, Util::doubleVectorToString(), endl(), PartData::getBeta(), Cyclotron::getBFieldType(), Cyclotron::getBScale(), Cyclotron::getCyclHarm(), Cyclotron::getCyclotronType(), Cyclotron::getEScale(), Cyclotron::getFieldMapFN(), PartData::getGamma(), OpalData::getInstance(), Cyclotron::getMaxR(), Cyclotron::getMaxZ(), Cyclotron::getMinR(), Cyclotron::getMinZ(), Cyclotron::getNumberOfTrimcoils(), Cyclotron::getPHIinit(), Cyclotron::getPRinit(), Cyclotron::getPZinit(), Cyclotron::getRfFrequ(), Cyclotron::getRfPhi(), Cyclotron::getRinit(), Cyclotron::getRmax(), Cyclotron::getRmin(), Cyclotron::getSpiralFlag(), Cyclotron::getSuperpose(), Cyclotron::getSymmetry(), Cyclotron::getZinit(), GLOBAL, gmsg, Cyclotron::initialise(), OpalData::inRestartRun(), 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 576 of file ParallelCyclotronTracker.cpp.
References endl(), gmsg, and myElements.

|
virtual |
Apply the algorithm to a drift space.
| drift |
Reimplemented from DefaultVisitor.
Definition at line 587 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.

|
virtual |
Apply the algorithm to a flexible collimator.
Reimplemented from DefaultVisitor.
Definition at line 597 of file ParallelCyclotronTracker.cpp.
|
virtual |
Apply the algorithm to a marker.
| marker |
Reimplemented from DefaultVisitor.
Definition at line 619 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 630 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), and myElements.

|
virtual |
Apply the algorithm to a multipole.
| mult |
Reimplemented from DefaultVisitor.
Definition at line 641 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 651 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), MultipoleT::clone(), endl(), gmsg, myElements, and opalRing_m.

|
virtual |
Apply the algorithm to a offset (placement).
| off |
Reimplemented from DefaultVisitor.
Definition at line 606 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), and opalRing_m.

|
virtual |
Apply the algorithm to a outputplane.
| plane |
Reimplemented from DefaultVisitor.
Definition at line 667 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 697 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 736 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), ElementBase::getElementLength(), gmsg, and myElements.

|
virtual |
Apply the algorithm to a RF cavity.
| as |
Reimplemented from DefaultVisitor.
Definition at line 746 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 840 of file ParallelCyclotronTracker.cpp.
References Util::angleBetweenAngles(), beamInitialRotation, buildupFieldList(), Ring::clone(), cosRefTheta_m, endl(), Ring::getBeamPhiInit(), Ring::getBeamPRInit(), Ring::getBeamRInit(), Ring::getBeamThetaInit(), PartData::getBeta(), PartData::getGamma(), Ring::getHarmonicNumber(), Ring::getSymmetry(), gmsg, Ring::initialise(), 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 893 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 898 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), endl(), gmsg, and opalRing_m.

|
virtual |
Apply the algorithm to a scaling FFA magnet.
Reimplemented from DefaultVisitor.
Definition at line 907 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), ScalingFFAMagnet::clone(), endl(), gmsg, opalRing_m, and ScalingFFAMagnet::setupEndField().

|
virtual |
Apply the algorithm to a septum.
| sept |
Reimplemented from DefaultVisitor.
Definition at line 924 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 966 of file ParallelCyclotronTracker.cpp.
References ElementBase::clone(), endl(), gmsg, ElementBase::hasAttribute(), and myElements.

|
virtual |
Apply the algorithm to a particle stripper.
| stripper |
Reimplemented from DefaultVisitor.
Definition at line 980 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.

|
virtual |
Apply the algorithm to a vacuum space.
| vac |
Reimplemented from DefaultVisitor.
Definition at line 1031 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 1074 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), endl(), gmsg, and opalRing_m.

|
virtual |
Apply the algorithm to a variable RF cavity with Fringe Field.
| cav |
Reimplemented from DefaultVisitor.
Definition at line 1088 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), endl(), gmsg, and opalRing_m.

|
virtual |
Apply the algorithm to a vertical FFA magnet.
| mag |
Reimplemented from DefaultVisitor.
Definition at line 1103 of file ParallelCyclotronTracker.cpp.
References Ring::appendElement(), endl(), gmsg, and opalRing_m.

|
private |
the different azimuthal angles for the outfTheta_m output files
Definition at line 326 of file ParallelCyclotronTracker.h.
Referenced by dumpAzimuthAngles_m(), and initializeTracking_m().
|
private |
Definition at line 297 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpStatData(), execute(), and saveInjectValues().
|
private |
Definition at line 254 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), and visitRing().
|
private |
The reference variables.
Definition at line 251 of file ParallelCyclotronTracker.h.
Referenced by setBeGa(), and visitCyclotron().
|
private |
Definition at line 238 of file ParallelCyclotronTracker.h.
Referenced by bgf_main_collision_test(), and execute().
|
private |
Definition at line 349 of file ParallelCyclotronTracker.h.
Referenced by ParallelCyclotronTracker(), and repartition().
|
private |
Definition at line 234 of file ParallelCyclotronTracker.h.
|
private |
Definition at line 272 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), visitCyclotron(), and visitRing().
|
private |
Definition at line 240 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), GenericTracker(), MtsTracker(), and visitCyclotron().
|
private |
Definition at line 351 of file ParallelCyclotronTracker.h.
Referenced by deleteParticle(), and ParallelCyclotronTracker().
|
private |
Definition at line 347 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), ParallelCyclotronTracker(), and singleParticleDump().
|
private |
Definition at line 317 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 317 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 317 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), and execute().
|
private |
Definition at line 230 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), buildupFieldList(), bunchDumpPhaseSpaceData(), bunchDumpStatData(), computeExternalFields_m(), computeExternalFields_m(), execute(), gapCrossKick_m(), getHarmonicNumber(), and ~ParallelCyclotronTracker().
|
private |
Definition at line 320 of file ParallelCyclotronTracker.h.
Referenced by checkFileMomentum(), initDistInGlobalFrame(), and setTimeStep().
|
private |
Definition at line 321 of file ParallelCyclotronTracker.h.
Referenced by checkFileMomentum(), initDistInGlobalFrame(), and setTrackingMode().
|
private |
Definition at line 346 of file ParallelCyclotronTracker.h.
Referenced by borisExternalFields(), bunchMode_m(), kick(), ParallelCyclotronTracker(), push(), seoMode_m(), and singleMode_m().
|
private |
Definition at line 232 of file ParallelCyclotronTracker.h.
Referenced by execute(), ParallelCyclotronTracker(), and ~ParallelCyclotronTracker().
|
private |
Definition at line 236 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchDumpStatData(), initPathLength(), and ParallelCyclotronTracker().
|
private |
Definition at line 491 of file ParallelCyclotronTracker.h.
Referenced by bunchMode_m(), execute(), gapCrossKick_m(), seoMode_m(), and singleMode_m().
|
private |
Definition at line 277 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), finalizeTracking_m(), and setLastDumpedStep().
|
private |
Definition at line 480 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 243 of file ParallelCyclotronTracker.h.
Referenced by GenericTracker(), and MtsTracker().
|
private |
Definition at line 275 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 500 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), GenericTracker(), initializeTracking_m(), MtsTracker(), setTrackingMode(), and update_m().
|
private |
Definition at line 231 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 319 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), initTrackOrbitFile(), and singleParticleDump().
|
private |
RFCAVITY entries in FieldDimensions; gapCrossKick_m() has nothing to do without them.
Definition at line 515 of file ParallelCyclotronTracker.h.
Referenced by buildupFieldList(), and gapCrossKick_m().
|
private |
Definition at line 477 of file ParallelCyclotronTracker.h.
Referenced by execute(), getHarmonicNumber(), getRing(), 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 324 of file ParallelCyclotronTracker.h.
Referenced by closeFiles(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), and openFiles().
|
private |
output file for six dimensional phase space
Definition at line 332 of file ParallelCyclotronTracker.h.
Referenced by finalizeTracking_m(), initTrackOrbitFile(), seoMode_m(), singleMode_m(), and singleParticleDump().
|
private |
Definition at line 280 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), and updatePathLength().
|
private |
Definition at line 233 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), execute(), and update_m().
|
private |
Definition at line 350 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), and ParallelCyclotronTracker().
|
private |
Definition at line 298 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpStatData(), execute(), and saveInjectValues().
|
private |
Definition at line 269 of file ParallelCyclotronTracker.h.
Referenced by setPreviousH5Local(), and visitCyclotron().
|
private |
Definition at line 267 of file ParallelCyclotronTracker.h.
Referenced by bunchMode_m(), and computeSpaceChargeFields_m().
|
private |
Definition at line 263 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), setPhi(), and visitCyclotron().
|
private |
Definition at line 257 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPr(), visitCyclotron(), and visitRing().
|
private |
Definition at line 262 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), setPsi(), and visitCyclotron().
|
private |
Definition at line 258 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPt(), visitCyclotron(), and visitRing().
|
private |
Definition at line 260 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), checkFileMomentum(), visitCyclotron(), and visitRing().
|
private |
Definition at line 259 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setPz(), visitCyclotron(), and visitRing().
|
private |
Definition at line 252 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setR(), visitCyclotron(), and visitRing().
|
private |
Definition at line 253 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), initializeTracking_m(), setTheta(), visitCyclotron(), and visitRing().
|
private |
Definition at line 255 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), initDistInGlobalFrame(), setZ(), visitCyclotron(), and visitRing().
|
private |
setRefPartForDump_m() has reported the loss of ID 0 in this run
Definition at line 462 of file ParallelCyclotronTracker.h.
Referenced by execute(), and setRefPartForDump_m().
|
private |
Definition at line 292 of file ParallelCyclotronTracker.h.
Referenced by execute(), and initializeTracking_m().
|
private |
Definition at line 505 of file ParallelCyclotronTracker.h.
Referenced by globalToLocal(), localToGlobal(), rotateAroundX(), rotateAroundX(), rotateAroundZ(), and rotateAroundZ().
|
private |
Referenced by bunchMode_m(), dumpAzimuthAngles_m(), initializeTracking_m(), injectBunch(), isTurnDone(), and statDumpBeforeNextSolve_m().
|
private |
Definition at line 271 of file ParallelCyclotronTracker.h.
Referenced by initDistInGlobalFrame(), visitCyclotron(), and visitRing().
|
private |
Definition at line 265 of file ParallelCyclotronTracker.h.
Referenced by computeSpaceChargeFields_m(), initializeTracking_m(), and visitCyclotron().
|
private |
Definition at line 291 of file ParallelCyclotronTracker.h.
Referenced by bunchDumpPhaseSpaceData(), bunchMode_m(), computeSpaceChargeFields_m(), deleteParticle(), execute(), GenericTracker(), initDistInGlobalFrame(), initializeTracking_m(), injectBunch(), isTurnDone(), MtsTracker(), repartition(), seoMode_m(), setRefPartForDump_m(), singleMode_m(), statDumpBeforeNextSolve_m(), and update_m().
|
private |
Definition at line 502 of file ParallelCyclotronTracker.h.
Referenced by execute().
|
private |
Definition at line 348 of file ParallelCyclotronTracker.h.
Referenced by globalToLocal(), globalToLocal(), globalToLocal(), globalToLocal(), localToGlobal(), localToGlobal(), localToGlobal(), localToGlobal(), and ParallelCyclotronTracker().
|
private |
Definition at line 294 of file ParallelCyclotronTracker.h.
Referenced by applyPluginElements(), bgf_main_collision_test(), bunchMode_m(), dumpAngle(), dumpAzimuthAngles_m(), dumpThetaEachTurn_m(), execute(), finalizeTracking_m(), GenericTracker(), initializeTracking_m(), injectBunch(), MtsTracker(), and seoMode_m().
The positive axes unit vectors.
Definition at line 246 of file ParallelCyclotronTracker.h.
Referenced by getQuaternionTwoVectors().
Definition at line 247 of file ParallelCyclotronTracker.h.
Referenced by computeSpaceChargeFields_m().
Definition at line 248 of file ParallelCyclotronTracker.h.
Referenced by getQuaternionTwoVectors().