|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <PartBunchBase.h>
Inherits std::enable_shared_from_this< PartBunchBase< T, Dim > >.

Classes | |
| class | ConstIterator |
| struct | MeshFitStatistics |
| MESHFIT=CORE: statistics of the solves of this TRACK/RUN, for the stat file and the log. More... | |
Public Types | |
| enum | UnitState_t { units = 0 , unitless = 1 } |
| typedef AbstractParticle< T, Dim >::ParticlePos_t | ParticlePos_t |
| typedef AbstractParticle< T, Dim >::ParticleIndex_t | ParticleIndex_t |
| typedef AbstractParticle< T, Dim >::UpdateFlags | UpdateFlags_t |
| typedef AbstractParticle< T, Dim >::Position_t | Position_t |
| typedef std::pair< Vector_t, Vector_t > | VectorPair_t |
Public Member Functions | |
| virtual | ~PartBunchBase () |
| PartBunchBase (AbstractParticle< T, Dim > *pb, const PartData *ref) | |
| PartBunchBase (const PartBunchBase &rhs)=delete | |
| virtual void | initialize (FieldLayout_t *fLayout)=0 |
| bool | getIfBeamEmitting () |
| int | getLastEmittedEnergyBin () |
| size_t | getNumberOfEmissionSteps () |
| int | getNumberOfEnergyBins () |
| void | Rebin () |
| void | setEnergyBins (int numberOfEnergyBins) |
| bool | weHaveEnergyBins () |
| void | switchToUnitlessPositions (bool use_dt_per_particle=false) |
| void | switchOffUnitlessPositions (bool use_dt_per_particle=false) |
| void | setDistribution (Distribution *d, std::vector< Distribution * > addedDistributions, size_t &np) |
| void | setDistribution (Distribution *d, size_t numberOfParticles, double current, const Beamline &bl) |
| bool | isGridFixed () const |
| bool | hasBinning () const |
| void | setTEmission (double t) |
| double | getTEmission () |
| bool | doEmission () |
| bool | weHaveBins () const |
| void | setPBins (PartBins *pbin) |
| void | setPBins (PartBinsCyc *pbin) |
| size_t | emitParticles (double eZ) |
| Emit particles in the given bin i.e. copy the particles from the bin structure into the particle container. | |
| void | updateNumTotal () |
| void | rebin () |
| int | getLastemittedBin () |
| void | setLocalBinCount (size_t num, int bin) |
| void | calcGammas () |
| Compute the gammas of all bins. | |
| void | calcGammas_cycl () |
| void | calcDebyeLength () |
| Compute the (global) Debye length for the beam. | |
| void | setComputeSCDiagnostics (bool compute) |
| double | getBinGamma (int bin) |
| Get gamma of one bin. | |
| virtual void | setBinCharge (int bin, double q) |
| Set the charge of one bin to the value of q and all other to zero. | |
| virtual void | setBinCharge (int bin) |
| Set the charge of all other the ones in bin to zero. | |
| size_t | calcNumPartsOutside (Vector_t x) |
| returns the number of particles outside of a box defined by x | |
| void | calcLineDensity (unsigned int nBins, std::vector< double > &lineDensity, std::pair< double, double > &meshInfo) |
| calculates the 1d line density (not normalized) and append it to a file. | |
| void | setBeamFrequency (double v) |
| virtual void | boundp () |
| void | boundp_destroyCycl () |
| size_t | boundp_destroyT () |
| size_t | destroyT () |
| virtual double | getPx (int i) |
| virtual double | getPy (int i) |
| virtual double | getPz (int i) |
| virtual double | getPx0 (int i) |
| virtual double | getPy0 (int i) |
| virtual double | getX (int i) |
| virtual double | getY (int i) |
| virtual double | getZ (int i) |
| virtual double | getX0 (int i) |
| virtual double | getY0 (int i) |
| virtual void | setZ (int i, double zcoo) |
| void | get_bounds (Vector_t &rmin, Vector_t &rmax) const |
| void | getLocalBounds (Vector_t &rmin, Vector_t &rmax) const |
| std::pair< Vector_t, double > | getBoundingSphere () |
| std::pair< Vector_t, double > | getLocalBoundingSphere () |
| void | push_back (OpalParticle const &p) |
| void | setParticle (FVector< double, 6 > z, int ii) |
| void | setParticle (OpalParticle const &p, int ii) |
| OpalParticle | getParticle (int ii) |
| ConstIterator | begin () const |
| ConstIterator | end () const |
| void | maximumAmplitudes (const FMatrix< double, 6, 6 > &D, double &axmax, double &aymax) |
| Return maximum amplitudes. | |
| void | setdT (double dt) |
| double | getdT () const |
| void | setT (double t) |
| void | incrementT () |
| double | getT () const |
| double | get_sPos () const |
| void | set_sPos (double s) |
| double | get_gamma () const |
| double | get_meanKineticEnergy () const |
| double | get_temperature () const |
| double | get_debyeLength () const |
| double | get_plasmaParameter () const |
| double | get_rmsDensity () const |
| Vector_t | get_origin () const |
| Vector_t | get_maxExtent () const |
| Vector_t | get_centroid () const |
| Vector_t | get_rrms () const |
| Vector_t | get_rprms () const |
| Vector_t | get_rmean () const |
| Vector_t | get_prms () const |
| Vector_t | get_pmean () const |
| Vector_t | get_pmean_Distribution () const |
| Vector_t | get_emit () const |
| Vector_t | get_norm_emit () const |
| Vector_t | get_halo () const |
| Vector_t | get_68Percentile () const |
| Vector_t | get_95Percentile () const |
| Vector_t | get_99Percentile () const |
| Vector_t | get_99_99Percentile () const |
| Vector_t | get_normalizedEps_68Percentile () const |
| Vector_t | get_normalizedEps_95Percentile () const |
| Vector_t | get_normalizedEps_99Percentile () const |
| Vector_t | get_normalizedEps_99_99Percentile () const |
| virtual Vector_t | get_hr () const |
| double | get_Dx () const |
| double | get_Dy () const |
| double | get_DDx () const |
| double | get_DDy () const |
| virtual void | set_meshEnlargement (double dh) |
| void | setMeshFit (const MeshFitParameters &meshFit) |
| FIELDSOLVER, MESHFIT: the particles the space-charge mesh is fitted to. | |
| const MeshFitParameters & | getMeshFit () const |
| void | setMeshFitSolveStep (bool solveStep) |
| const CoreFitSC::CoreSelection & | getMeshFitCore () const |
| void | getMeshFitFullBounds (Vector_t &rmin, Vector_t &rmax) const |
| MESHFIT=CORE: the bounds of all particles of the same fit. | |
| Vector_t | getMeshSpacing (const Vector_t &rmin, const Vector_t &rmax) const |
| Mesh spacing that boundp() gives to particles within [rmin, rmax]. | |
| const CoreFitSC::ModeState & | getMeshFitMode () const |
| void | setMeshFitMode (const CoreFitSC::ModeState &mode) |
| MESHFIT=CORE: restores the mode, from the step attributes of an H5 restart. | |
| bool | isMeshFitToCore () const |
| bool | isMeshFitRepartitionDue () const |
| const MeshFitStatistics & | getMeshFitStatistics () const |
| void | resetMeshFitTurn () |
| void | gatherLoadBalanceStatistics () |
| size_t | getLoadBalance (int p) const |
| void | get_PBounds (Vector_t &min, Vector_t &max) const |
| void | calcBeamParameters () |
| void | calcBeamParametersInitial () |
| double | getCouplingConstant () const |
| void | setCouplingConstant (double c) |
| void | setCharge (double q) |
| void | setChargeZeroPart (double q) |
| void | setMass (double mass) |
| void | setMassZeroPart (double mass) |
| double | getCharge () const |
| get the total charge per simulation particle | |
| double | getChargePerParticle () const |
| get the macro particle charge | |
| double | getMassPerParticle () const |
| virtual void | setSolver (FieldSolver *fs) |
| bool | hasFieldSolver () |
| FieldSolverType | getFieldSolverType () const |
| Return the fieldsolver type if we have a fieldsolver. | |
| void | setStepsPerTurn (int n) |
| int | getStepsPerTurn () const |
| void | setGlobalTrackStep (long long n) |
| step in multiple TRACK commands | |
| long long | getGlobalTrackStep () const |
| void | setLocalTrackStep (long long n) |
| step in a TRACK command | |
| void | incTrackSteps () |
| long long | getLocalTrackStep () const |
| void | setNumBunch (short n) |
| short | getNumBunch () const |
| void | setTotalNumPerBunch (size_t numpart, short n) |
| size_t | getTotalNumPerBunch (short n) const |
| void | setLocalNumPerBunch (size_t numpart, short n) |
| size_t | getLocalNumPerBunch (short n) const |
| void | countTotalNumPerBunch () |
| void | setGlobalMeanR (Vector_t globalMeanR) |
| Vector_t | getGlobalMeanR () |
| void | setGlobalToLocalQuaternion (Quaternion_t globalToLocalQuaternion) |
| Quaternion_t | getGlobalToLocalQuaternion () |
| void | setSteptoLastInj (int n) |
| int | getSteptoLastInj () const |
| double | calcMeanPhi () |
| calculate average angle of longitudinal direction of bins | |
| bool | resetPartBinID2 (const double eta) |
| reset Bin[] for each particle according to the method given in paper PAST-AB(064402) by G. Fubiani et al. | |
| bool | resetPartBinBunch () |
| double | getdE () const |
| virtual double | getGamma (int i) |
| virtual double | getBeta (int i) |
| virtual void | actT () |
| const PartData * | getReference () const |
| double | getEmissionDeltaT () |
| DistributionType | getDistType () const |
| double | getMomentumTolerance () const |
| Quaternion_t | getQKs3D () |
| void | setQKs3D (Quaternion_t q) |
| Vector_t | getKs3DRefr () |
| void | setKs3DRefr (Vector_t r) |
| Vector_t | getKs3DRefp () |
| void | setKs3DRefp (Vector_t p) |
| void | iterateEmittedBin (int binNumber) |
| void | calcEMean () |
| Inform & | print (Inform &os) |
| virtual void | runTests () |
| virtual void | do_binaryRepart () |
| virtual void | resetInterpolationCache (bool clearCache=false) |
| virtual VectorPair_t | getEExtrema ()=0 |
| virtual double | getRho (int x, int y, int z)=0 |
| virtual void | computeSelfFields ()=0 |
| virtual void | computeSelfFields (int bin)=0 |
| virtual void | computeSelfFields_cycl (double gamma)=0 |
| virtual void | computeSelfFields_cycl (int bin)=0 |
| virtual void | swap (unsigned int i, unsigned int j) |
| virtual void | setBCAllPeriodic () |
| virtual void | setBCAllOpen () |
| virtual void | setBCForDCBeam () |
| virtual FieldLayout_t & | getFieldLayout ()=0 |
| virtual void | resizeMesh () |
| size_t | getTotalNum () const |
| void | setTotalNum (size_t n) |
| void | setLocalNum (size_t n) |
| size_t | getLocalNum () const |
| size_t | getDestroyNum () const |
| size_t | getGhostNum () const |
| ParticleLayout< T, Dim > & | getLayout () |
| const ParticleLayout< T, Dim > & | getLayout () const |
| bool | getUpdateFlag (UpdateFlags_t f) const |
| void | setUpdateFlag (UpdateFlags_t f, bool val) |
| ParticleBConds< Position_t, Dimension > & | getBConds () |
| void | setBConds (const ParticleBConds< Position_t, Dimension > &bc) |
| bool | singleInitNode () const |
| void | resetID () |
| void | update () |
| void | update (const ParticleAttrib< char > &canSwap) |
| void | createWithID (unsigned id) |
| void | create (size_t M) |
| void | globalCreate (size_t np) |
| void | destroy (size_t M, size_t I, bool doNow=false) |
| void | performDestroy (bool updateLocalNum=false) |
| void | ghostDestroy (size_t M, size_t I) |
| FMatrix< double, 2 *Dim, 2 *Dim > | getSigmaMatrix () const |
| double | getQ () const |
| Access to reference data. | |
| double | getM () const |
| double | getP () const |
| double | getE () const |
| ParticleOrigin | getPOrigin () const |
| ParticleType | getPType () const |
| double | getInitialBeta () const |
| double | getInitialGamma () const |
| void | resetQ (double q) |
| void | resetM (double m) |
| void | setPOrigin (ParticleOrigin) |
| void | setPType (const std::string &type) |
Public Attributes | |
| ParticlePos_t & | R |
| ParticleIndex_t & | ID |
| ParticleAttrib< Vector_t > | P |
| ParticleAttrib< double > | Q |
| ParticleAttrib< double > | M |
| ParticleAttrib< double > | Phi |
| ParticleAttrib< Vector_t > | Ef |
| ParticleAttrib< Vector_t > | Eftmp |
| ParticleAttrib< Vector_t > | Bf |
| ParticleAttrib< int > | Bin |
| ParticleAttrib< double > | dt |
| ParticleAttrib< ParticleType > | PType |
| ParticleAttrib< ParticleOrigin > | POrigin |
| ParticleAttrib< int > | TriID |
| ParticleAttrib< short > | cavityGapCrossed |
| ParticleAttrib< short > | bunchNum |
| Vector_t | RefPartR_m |
| Vector_t | RefPartP_m |
| CoordinateSystemTrafo | toLabTrafo_m |
| ParticleOrigin | refPOrigin_m |
| ParticleType | refPType_m |
| PartBins * | pbin_m |
| IpplTimings::TimerRef | distrReload_m |
| timer for IC, can not be in Distribution.h | |
| IpplTimings::TimerRef | distrCreate_m |
| double | dtScInit_m |
| double | deltaTau_m |
Static Public Attributes | |
| static const unsigned | Dimension = Dim |
Protected Types | |
| enum | MeshFitWarning : unsigned int { FarChargeWarning = 1 , FullBoxWarning = 2 , FarFarWarning = 4 } |
| MESHFIT=CORE: the warnings of the solve, each given at most once per turn. More... | |
Protected Member Functions | |
| size_t | calcMoments () |
| void | calcMomentsInitial () |
| double | calculateAngle (double x, double y) |
| angle range [0~2PI) degree | |
| void | warnMeshFitOnce (MeshFitWarning warning, const std::string &message) |
Private Member Functions | |
| virtual void | updateDomainLength (Vektor< int, 3 > &grid)=0 |
| virtual void | updateFields (const Vector_t &hr, const Vector_t &origin) |
| void | getSolverMeshBounds (Vector_t &rmin, Vector_t &rmax) |
| void | checkMeshFitOutside () |
| void | setup (AbstractParticle< T, Dim > *pb) |
Private Attributes | |
| std::unique_ptr< Inform > | pmsg_m |
| std::unique_ptr< std::ofstream > | f_stream |
| bool | fixed_grid |
| if the grid does not have to adapt | |
H5PartWrapper: a class that manages calls to H5Part
Definition at line 50 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::ParticleIndex_t PartBunchBase< T, Dim >::ParticleIndex_t |
Definition at line 54 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::ParticlePos_t PartBunchBase< T, Dim >::ParticlePos_t |
Definition at line 53 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::Position_t PartBunchBase< T, Dim >::Position_t |
Definition at line 56 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::UpdateFlags PartBunchBase< T, Dim >::UpdateFlags_t |
Definition at line 55 of file PartBunchBase.h.
| typedef std::pair<Vector_t, Vector_t> PartBunchBase< T, Dim >::VectorPair_t |
Definition at line 58 of file PartBunchBase.h.
|
protected |
MESHFIT=CORE: the warnings of the solve, each given at most once per turn.
| Enumerator | |
|---|---|
| FarChargeWarning | |
| FullBoxWarning | |
| FarFarWarning | |
Definition at line 623 of file PartBunchBase.h.
| enum PartBunchBase::UnitState_t |
| Enumerator | |
|---|---|
| units | |
| unitless | |
Definition at line 62 of file PartBunchBase.h.
|
inlinevirtual |
Definition at line 65 of file PartBunchBase.h.
| PartBunchBase< T, Dim >::PartBunchBase | ( | AbstractParticle< T, Dim > * | pb, |
| const PartData * | ref | ||
| ) |
Definition at line 45 of file PartBunchBase.hpp.
|
delete |
|
virtual |
Definition at line 2035 of file PartBunchBase.hpp.
|
inline |
Definition at line 285 of file PartBunchBase.h.
Referenced by begin(), and DistributionMoments::compute().
|
virtual |
In case of dcBeam_m && hr_m < 0 this is the first call to boundp and we have to set hr completely i.e. x,y and z.
Reimplemented in AmrPartBunch.
Definition at line 514 of file PartBunchBase.hpp.
References IpplTimings::startTimer().
Referenced by ParallelTTracker::computeParticleMatterInteraction(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ParallelCyclotronTracker::deleteParticle(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), ParallelCyclotronTracker::initDistInGlobalFrame(), Distribution::injectBeam(), and MultiBunchHandler::readBunch().

| void PartBunchBase< T, Dim >::boundp_destroyCycl | ( | ) |
delete particles which are too far away from the center of beam
Definition at line 621 of file PartBunchBase.hpp.
References IpplTimings::startTimer().
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().

| size_t PartBunchBase< T, Dim >::boundp_destroyT | ( | ) |
This is only temporary in order to get the collimator and pepperpot working
Definition at line 767 of file PartBunchBase.hpp.
References ne(), reduce(), and Options::remotePartDel.
Referenced by ParallelTTracker::computeExternalFields().

| void PartBunchBase< T, Dim >::calcBeamParameters | ( | ) |
Definition at line 1572 of file PartBunchBase.hpp.
References IpplTimings::startTimer(), and IpplTimings::stopTimer().
Referenced by GreenWakeFunction::apply(), Undulator::apply(), ParallelTTracker::computeSpaceChargeFields(), ParallelTTracker::computeWakefield(), ParallelCyclotronTracker::deleteParticle(), DataSink::dumpSDDS_m(), ParallelCyclotronTracker::finalizeTracking_m(), ParallelCyclotronTracker::initDistInGlobalFrame(), MultiBunchHandler::injectBunch(), TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), ThickTracker::update_m(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPT::writeStep(), and H5PartWrapperForPC::writeStepHeader().

| void PartBunchBase< T, Dim >::calcBeamParametersInitial | ( | ) |
| void PartBunchBase< T, Dim >::calcDebyeLength | ( | ) |
Compute the (global) Debye length for the beam.
Definition at line 417 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::calcEMean | ( | ) |
Definition at line 2059 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::dumpStats(), Distribution::injectBeam(), and ThickTracker::update_m().
| void PartBunchBase< T, Dim >::calcGammas | ( | ) |
Compute the gammas of all bins.
Definition at line 343 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields().
| void PartBunchBase< T, Dim >::calcGammas_cycl | ( | ) |
Definition at line 390 of file PartBunchBase.hpp.
References allreduce(), and dot().
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().

| void PartBunchBase< T, Dim >::calcLineDensity | ( | unsigned int | nBins, |
| std::vector< double > & | lineDensity, | ||
| std::pair< double, double > & | meshInfo | ||
| ) |
calculates the 1d line density (not normalized) and append it to a file.
\method calcLineDensity()
DETAILED TODO
Definition at line 475 of file PartBunchBase.hpp.
Referenced by GreenWakeFunction::apply(), CSRIGFWakeFunction::calculateLineDensity(), and CSRWakeFunction::calculateLineDensity().
| double PartBunchBase< T, Dim >::calcMeanPhi | ( | ) |
calculate average angle of longitudinal direction of bins
Definition at line 1823 of file PartBunchBase.hpp.
References endl(), INFOMSG, Units::rad2deg, and reduce().

|
protected |
|
protected |
| size_t PartBunchBase< T, Dim >::calcNumPartsOutside | ( | Vector_t | x | ) |
returns the number of particles outside of a box defined by x
Definition at line 442 of file PartBunchBase.hpp.
Referenced by DataSink::dumpSDDS_m().
|
protected |
angle range [0~2PI) degree
Definition at line 2102 of file PartBunchBase.hpp.
References Physics::two_pi.
|
private |
MESHFIT=CORE, after every update(): counts the particles outside the mesh domain and throws if there are more than a mesh fitted to the core in the frame of the particles can leave outside (an update() in another frame)
Definition at line 1509 of file PartBunchBase.hpp.
References allreduce(), CORE, Dim, max(), and min().

|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by ParallelTTracker::computeSpaceChargeFields().
|
pure virtual |
Implemented in PartBunch, and AmrPartBunch.
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().
|
pure virtual |
Implemented in PartBunch, and AmrPartBunch.
| void PartBunchBase< T, Dim >::countTotalNumPerBunch | ( | ) |
Definition at line 1760 of file PartBunchBase.hpp.
References allreduce(), and PAssert_LT.
Referenced by ParallelCyclotronTracker::initDistInGlobalFrame().

| void PartBunchBase< T, Dim >::create | ( | size_t | M | ) |
Definition at line 2297 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), Stripper::doCheck(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), Distribution::injectBeam(), and MultiBunchHandler::readBunch().
| void PartBunchBase< T, Dim >::createWithID | ( | unsigned | id | ) |
Definition at line 2292 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::addParticleBackToBunch().
| void PartBunchBase< T, Dim >::destroy | ( | size_t | M, |
| size_t | I, | ||
| bool | doNow = false |
||
| ) |
Definition at line 2307 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), ScatteringPhysics::copyFromBunch(), ParallelCyclotronTracker::deleteParticle(), and ParallelTTracker::evenlyDistributeParticles().
| size_t PartBunchBase< T, Dim >::destroyT | ( | ) |
Definition at line 810 of file PartBunchBase.hpp.
References INFORM_ALL_NODES, ne(), and reduce().
Referenced by BeamStrippingPhysics::apply(), and ParallelTTracker::computeExternalFields().

|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 216 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::doBinaryRepartition(), and ParallelCyclotronTracker::repartition().
| bool PartBunchBase< T, Dim >::doEmission | ( | ) |
Definition at line 270 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::prepareEmission().
| size_t PartBunchBase< T, Dim >::emitParticles | ( | double | eZ | ) |
Emit particles in the given bin i.e. copy the particles from the bin structure into the particle container.
Definition at line 303 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::emitParticles().
|
inline |
Definition at line 289 of file PartBunchBase.h.
References PartBunchBase< T, Dim >::getLocalNum().
Referenced by DistributionMoments::compute(), and end().

| void PartBunchBase< T, Dim >::gatherLoadBalanceStatistics | ( | ) |
Definition at line 1549 of file PartBunchBase.hpp.
References gather(), and IpplInfo::getNodes().
Referenced by DataSink::dumpSDDS_m().

| Vector_t PartBunchBase< T, Dim >::get_68Percentile | ( | ) | const |
Definition at line 1216 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_95Percentile | ( | ) | const |
Definition at line 1221 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_99_99Percentile | ( | ) | const |
Definition at line 1231 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_99Percentile | ( | ) | const |
Definition at line 1226 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| void PartBunchBase< T, Dim >::get_bounds | ( | Vector_t & | rmin, |
| Vector_t & | rmax | ||
| ) | const |
Definition at line 924 of file PartBunchBase.hpp.
References allreduce(), Dim, and min().
Referenced by CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), Vacuum::checkVacuum(), ParallelTTracker::computeExternalFields(), CCollimator::doFinaliseCheck(), CCollimator::doPreCheck(), Probe::doPreCheck(), Septum::doPreCheck(), Stripper::doPreCheck(), ThickTracker::dump_m(), ParallelTTracker::execute(), and ParallelTTracker::writePhaseSpace().

| Vector_t PartBunchBase< T, Dim >::get_centroid | ( | ) | const |
Definition at line 1153 of file PartBunchBase.hpp.
Referenced by Ring::apply(), Undulator::apply(), ParallelTTracker::computeSpaceChargeFields(), MultiBunchHandler::injectBunch(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_DDx | ( | ) | const |
Definition at line 1268 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_DDy | ( | ) | const |
Definition at line 1274 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_debyeLength | ( | ) | const |
Definition at line 1126 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_Dx | ( | ) | const |
Definition at line 1256 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_Dy | ( | ) | const |
Definition at line 1262 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_emit | ( | ) | const |
Definition at line 1199 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_gamma | ( | ) | const |
Definition at line 1109 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), ThickTracker::update_m(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_halo | ( | ) | const |
Definition at line 1211 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
|
virtual |
Reimplemented in AmrPartBunch.
Definition at line 1280 of file PartBunchBase.hpp.
Referenced by MGPoissonSolver::MGPoissonSolver(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| Vector_t PartBunchBase< T, Dim >::get_maxExtent | ( | ) | const |
Definition at line 1147 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_meanKineticEnergy | ( | ) | const |
Definition at line 1115 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), CSRIGFWakeFunction::calculateGreenFunction(), ParallelTTracker::dumpStats(), Expressions::getEkin(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_norm_emit | ( | ) | const |
Definition at line 1205 of file PartBunchBase.hpp.
Referenced by StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_68Percentile | ( | ) | const |
Definition at line 1236 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_95Percentile | ( | ) | const |
Definition at line 1241 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_99_99Percentile | ( | ) | const |
Definition at line 1251 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_99Percentile | ( | ) | const |
Definition at line 1246 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_origin | ( | ) | const |
Definition at line 1141 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::writeStepData(), H5PartWrapperForPT::writeStepData(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| void PartBunchBase< T, Dim >::get_PBounds | ( | Vector_t & | min, |
| Vector_t & | max | ||
| ) | const |
Definition at line 1566 of file PartBunchBase.hpp.
References bounds(), max(), and min().
Referenced by H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().

| double PartBunchBase< T, Dim >::get_plasmaParameter | ( | ) | const |
Definition at line 1131 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_pmean | ( | ) | const |
Definition at line 1183 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), ParallelTTracker::computeSpaceChargeFields(), ParallelTTracker::computeWakefield(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_pmean_Distribution | ( | ) | const |
Definition at line 1189 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::execute(), and ThickTracker::execute().
| Vector_t PartBunchBase< T, Dim >::get_prms | ( | ) | const |
Definition at line 1177 of file PartBunchBase.hpp.
Referenced by StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_rmean | ( | ) | const |
Definition at line 1171 of file PartBunchBase.hpp.
Referenced by StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::get_rmsDensity | ( | ) | const |
Definition at line 1136 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_rprms | ( | ) | const |
Definition at line 1165 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_rrms | ( | ) | const |
Definition at line 1159 of file PartBunchBase.hpp.
Referenced by DataSink::dumpSDDS_m(), MultiBunchHandler::injectBunch(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_sPos | ( | ) | const |
get the spos of the primary beam
| none |
Definition at line 1097 of file PartBunchBase.hpp.
Referenced by CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), BeamStrippingPhysics::apply(), Monitor::applyToReferenceParticle(), Distribution::doRestartOpalCycl(), ParallelTTracker::execute(), ParallelCyclotronTracker::initDistInGlobalFrame(), Monitor::initialise(), ParallelCyclotronTracker::saveInjectValues(), ThickTracker::update_m(), StatWriter::write(), MemoryProfiler::write(), MemoryWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_temperature | ( | ) | const |
Definition at line 1121 of file PartBunchBase.hpp.
Referenced by StatWriter::write().
|
inline |
Definition at line 589 of file PartBunchBase.h.
References PartBunchBase< T, Dim >::pbase_m.
|
virtual |
Definition at line 2029 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getBinGamma | ( | int | bin | ) |
Get gamma of one bin.
Definition at line 424 of file PartBunchBase.hpp.
Referenced by AmrBoxLib::computeSelfFields_cycl().
| std::pair< Vector_t, double > PartBunchBase< T, Dim >::getBoundingSphere | ( | ) |
Definition at line 966 of file PartBunchBase.hpp.
References dot().

| double PartBunchBase< T, Dim >::getCharge | ( | ) | const |
get the total charge per simulation particle
Definition at line 1622 of file PartBunchBase.hpp.
References sum().
Referenced by StatWriter::write(), DataSink::writeImpactStatistics(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().

| double PartBunchBase< T, Dim >::getChargePerParticle | ( | ) | const |
get the macro particle charge
Definition at line 1628 of file PartBunchBase.hpp.
Referenced by GreenWakeFunction::apply(), Undulator::apply(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), Distribution::injectBeam(), Multipole::isFocusing(), and DataSink::writeImpactStatistics().
| double PartBunchBase< T, Dim >::getCouplingConstant | ( | ) | const |
Definition at line 1581 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getdE | ( | ) | const |
Definition at line 2005 of file PartBunchBase.hpp.
Referenced by StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| size_t PartBunchBase< T, Dim >::getDestroyNum | ( | ) | const |
Definition at line 2222 of file PartBunchBase.hpp.
| DistributionType PartBunchBase< T, Dim >::getDistType | ( | ) | const |
Definition at line 1981 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::initDistInGlobalFrame().
| double PartBunchBase< T, Dim >::getdT | ( | ) | const |
Definition at line 1073 of file PartBunchBase.hpp.
Referenced by Corrector::apply(), BeamStrippingPhysics::apply(), ScatteringPhysics::apply(), Undulator::apply(), Degrader::applyToReferenceParticle(), Monitor::applyToReferenceParticle(), ParallelTTracker::autophaseCavities(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::bunchDumpStatData(), Bend2D::calculateBendAngle(), Bend2D::calculateRefTrajectory(), ParallelTTracker::changeDT(), ParallelTTracker::computeParticleMatterInteraction(), MGPoissonSolver::computePotential(), Monitor::driftToCorrectPositionAndSave(), ThickTracker::dump_m(), DataSink::dumpSDDS(), ParallelTTracker::emitParticles(), Distribution::emitParticles(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), Corrector::goOnline(), RBend3D::initialise(), ParallelCyclotronTracker::initializeTracking_m(), ParallelTTracker::prepareEmission(), ParallelTTracker::selectDT(), ParallelTTracker::setTime(), ParallelCyclotronTracker::setTimeStep(), ParallelTTracker::timeIntegration2(), ParallelTTracker::updateReferenceParticle(), ParallelTTracker::updateRefToLabCSTrafo(), and ParallelTTracker::writePhaseSpace().
| double PartBunchBase< T, Dim >::getE | ( | ) | const |
Definition at line 1953 of file PartBunchBase.hpp.
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
| double PartBunchBase< T, Dim >::getEmissionDeltaT | ( | ) |
Definition at line 2047 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::prepareEmission(), and ParallelTTracker::selectDT().
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| FieldSolverType PartBunchBase< T, Dim >::getFieldSolverType | ( | ) | const |
Return the fieldsolver type if we have a fieldsolver.
Definition at line 1666 of file PartBunchBase.hpp.
References NONE.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().
|
virtual |
Definition at line 2023 of file PartBunchBase.hpp.
| size_t PartBunchBase< T, Dim >::getGhostNum | ( | ) | const |
Definition at line 2227 of file PartBunchBase.hpp.
Referenced by P3MPoissonSolver::calculatePairForces().
| Vector_t PartBunchBase< T, Dim >::getGlobalMeanR | ( | ) |
Definition at line 1792 of file PartBunchBase.hpp.
| Quaternion_t PartBunchBase< T, Dim >::getGlobalToLocalQuaternion | ( | ) |
Definition at line 1805 of file PartBunchBase.hpp.
| long long PartBunchBase< T, Dim >::getGlobalTrackStep | ( | ) | const |
Definition at line 1694 of file PartBunchBase.hpp.
Referenced by Monitor::applyToReferenceParticle(), Distribution::doRestartOpalT(), ThickTracker::dump_m(), ParallelTTracker::dumpStats(), ParallelTTracker::execute(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| bool PartBunchBase< T, Dim >::getIfBeamEmitting | ( | ) |
Definition at line 95 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::emitParticles(), FieldSolver::getMeshFitParameters_m(), and ParallelTTracker::selectDT().
| double PartBunchBase< T, Dim >::getInitialBeta | ( | ) | const |
Definition at line 2011 of file PartBunchBase.hpp.
References PartData::getBeta().
Referenced by ThickTracker::advanceDispersion_m(), and ThickTracker::updateParticle_m().

| double PartBunchBase< T, Dim >::getInitialGamma | ( | ) | const |
Definition at line 2017 of file PartBunchBase.hpp.
Referenced by Distribution::createOpalCycl(), and ThickTracker::updateParticle_m().
| Vector_t PartBunchBase< T, Dim >::getKs3DRefp | ( | ) |
| Vector_t PartBunchBase< T, Dim >::getKs3DRefr | ( | ) |
| int PartBunchBase< T, Dim >::getLastemittedBin | ( | ) |
Definition at line 326 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m(), and ParallelCyclotronTracker::deleteParticle().
| int PartBunchBase< T, Dim >::getLastEmittedEnergyBin | ( | ) |
Definition at line 109 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields().
| ParticleLayout< T, Dim > & PartBunchBase< T, Dim >::getLayout | ( | ) |
Definition at line 2242 of file PartBunchBase.hpp.
Referenced by AmrBoxLib::create(), AmrYtWriter::writeBunch(), and AmrYtWriter::writeParticles_m().
| const ParticleLayout< T, Dim > & PartBunchBase< T, Dim >::getLayout | ( | ) | const |
Definition at line 2247 of file PartBunchBase.hpp.
| size_t PartBunchBase< T, Dim >::getLoadBalance | ( | int | p | ) | const |
Definition at line 1560 of file PartBunchBase.hpp.
Referenced by LBalWriter::write().
| std::pair< Vector_t, double > PartBunchBase< T, Dim >::getLocalBoundingSphere | ( | ) |
Definition at line 979 of file PartBunchBase.hpp.
References dot().
Referenced by ParallelTTracker::computeParticleMatterInteraction().

| void PartBunchBase< T, Dim >::getLocalBounds | ( | Vector_t & | rmin, |
| Vector_t & | rmax | ||
| ) | const |
Definition at line 945 of file PartBunchBase.hpp.
| size_t PartBunchBase< T, Dim >::getLocalNum | ( | ) | const |
Definition at line 2216 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::addParticleBackToBunch(), ThickTracker::advanceParticles_m(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), Undulator::apply(), Tracker::applyDrift(), Tracker::applyThinMultipole(), Tracker::applyThinSBend(), Tracker::applyTransform(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::borisExternalFields(), ParallelCyclotronTracker::bunchMode_m(), MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::calcMeanP(), ParallelCyclotronTracker::calcMeanR(), P3MPoissonSolver::calculatePairForces(), ParallelTTracker::changeDT(), ParallelCyclotronTracker::checkNumPart(), Vacuum::checkVacuum(), ParallelTTracker::computeExternalFields(), DistributionMoments::computeMeanKineticEnergy(), ParallelTTracker::computeParticleMatterInteraction(), ParallelCyclotronTracker::computePathLengthUpdate(), ParallelTTracker::computeSpaceChargeFields(), ParallelTTracker::computeWakefield(), ScatteringPhysics::copyFromBunch(), Distribution::createOpalCycl(), ParallelCyclotronTracker::deleteParticle(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), CCollimator::doFinaliseCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), PartBunchBase< T, Dim >::end(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::getReferenceParticle(), ParallelCyclotronTracker::globalToLocal(), Degrader::goOnline(), MultiBunchHandler::injectBunch(), ParallelCyclotronTracker::kick(), ParallelTTracker::kickParticles(), ParallelCyclotronTracker::localToGlobal(), PartBunchBase< T, Dim >::ConstIterator::operator*(), AmrBoxLib::postRegrid_m(), ParallelCyclotronTracker::push(), ParallelTTracker::pushParticles(), MultiBunchHandler::readBunch(), ParallelCyclotronTracker::rotateAroundX(), ParallelCyclotronTracker::rotateAroundZ(), ParallelCyclotronTracker::rotateWithQuaternion(), MultiBunchHandler::saveBunch(), ParallelCyclotronTracker::seoMode_m(), ParallelTTracker::setTime(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), ParallelTTracker::timeIntegration2(), ParallelTTracker::transformBunch(), ThickTracker::update_m(), Vacuum::updateParticleAttributes(), StatWriter::write(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| size_t PartBunchBase< T, Dim >::getLocalNumPerBunch | ( | short | n | ) | const |
Definition at line 1753 of file PartBunchBase.hpp.
References PAssert_LT.
Referenced by ParallelCyclotronTracker::deleteParticle().
| long long PartBunchBase< T, Dim >::getLocalTrackStep | ( | ) | const |
Definition at line 1712 of file PartBunchBase.hpp.
Referenced by MGPoissonSolver::computeMap(), MGPoissonSolver::computePotential(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), Distribution::doRestartOpalT(), ParallelCyclotronTracker::initializeTracking_m(), ParallelCyclotronTracker::initTrackOrbitFile(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getM | ( | ) | const |
Definition at line 1941 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::apply(), Degrader::applyToReferenceParticle(), ParallelCyclotronTracker::bgf_main_collision_test(), MultiBunchHandler::calcBunchBeamParameters(), BendBase::calcDesignRadius(), BendBase::calcFieldAmplitude(), BendBase::calcGamma(), CSRIGFWakeFunction::calculateGreenFunction(), DistributionMoments::computeDebyeLength(), Distribution::createOpalCycl(), Distribution::createOpalT(), CCollimator::doCheck(), Probe::doCheck(), Distribution::doRestartOpalCycl(), ParallelTTracker::execute(), ParallelCyclotronTracker::finalizeTracking_m(), ParallelTTracker::findStartPosition(), Corrector::goOnline(), PartBunchBase< T, Dim >::ConstIterator::operator*(), H5PartWrapperForPC::readStepHeader(), ParallelCyclotronTracker::RFkick(), Corrector::setDesignEnergy(), Distribution::setupEmissionModelAstra(), Distribution::setupEmissionModelNone(), Distribution::setupParticleBins(), Vacuum::updateParticleAttributes(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getMassPerParticle | ( | ) | const |
Definition at line 1633 of file PartBunchBase.hpp.
Referenced by Distribution::emitParticles(), and Distribution::injectBeam().
| const MeshFitParameters & PartBunchBase< T, Dim >::getMeshFit | ( | ) | const |
Definition at line 1329 of file PartBunchBase.hpp.
Referenced by StatWriter::fillHeader(), ParallelCyclotronTracker::ParallelCyclotronTracker(), ParallelCyclotronTracker::printMeshFit_m(), StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().
| const CoreFitSC::CoreSelection & PartBunchBase< T, Dim >::getMeshFitCore | ( | ) | const |
MESHFIT=CORE: the core selection of the last fit of a space-charge solve step, in the local frame of that fit (all zero before the first one)
Definition at line 1341 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::printMeshFit_m(), StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().
| void PartBunchBase< T, Dim >::getMeshFitFullBounds | ( | Vector_t & | rmin, |
| Vector_t & | rmax | ||
| ) | const |
MESHFIT=CORE: the bounds of all particles of the same fit.
Definition at line 1347 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::printMeshFit_m().
| const CoreFitSC::ModeState & PartBunchBase< T, Dim >::getMeshFitMode | ( | ) | const |
MESHFIT=CORE: the mode of the last space-charge solve step (CORE: the mesh fitted to the core; FULL: fitted to all particles) and the solves done in it
Definition at line 1367 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::printMeshFit_m(), StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().
| const PartBunchBase< T, Dim >::MeshFitStatistics & PartBunchBase< T, Dim >::getMeshFitStatistics | ( | ) | const |
Definition at line 1392 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::printMeshFit_m(), and StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::getMeshSpacing | ( | const Vector_t & | rmin, |
| const Vector_t & | rmax | ||
| ) | const |
Mesh spacing that boundp() gives to particles within [rmin, rmax].
Definition at line 1354 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::printMeshFit_m().
| double PartBunchBase< T, Dim >::getMomentumTolerance | ( | ) | const |
Definition at line 1987 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::checkFileMomentum(), and Distribution::createOpalT().
| size_t PartBunchBase< T, Dim >::getNumberOfEmissionSteps | ( | ) |
Definition at line 120 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::prepareEmission().
| int PartBunchBase< T, Dim >::getNumberOfEnergyBins | ( | ) |
Definition at line 126 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::prepareEmission().
| short PartBunchBase< T, Dim >::getNumBunch | ( | ) | const |
Definition at line 1726 of file PartBunchBase.hpp.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::deleteParticle(), Distribution::doRestartOpalCycl(), ParallelCyclotronTracker::execute(), AmrBoxLib::initFineLevels(), ParallelCyclotronTracker::initializeTracking_m(), MultiBunchHandler::MultiBunchHandler(), H5PartWrapperForPC::readStepData(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::getP | ( | ) | const |
Definition at line 1947 of file PartBunchBase.hpp.
Referenced by Distribution::createOpalT(), and Distribution::setupParticleBins().
| OpalParticle PartBunchBase< T, Dim >::getParticle | ( | int | ii | ) |
Definition at line 1025 of file PartBunchBase.hpp.
Referenced by Tracker::applyDrift(), Tracker::applyThinMultipole(), Tracker::applyThinSBend(), and Tracker::applyTransform().
| ParticleOrigin PartBunchBase< T, Dim >::getPOrigin | ( | ) | const |
Definition at line 1959 of file PartBunchBase.hpp.
Referenced by Stripper::doFinaliseCheck().
| ParticleType PartBunchBase< T, Dim >::getPType | ( | ) | const |
Definition at line 1970 of file PartBunchBase.hpp.
Referenced by BeamStrippingPhysics::apply(), ScatteringPhysics::apply(), ScatteringPhysics::computeEnergyLoss(), Distribution::emitParticles(), and Distribution::injectBeam().
|
virtual |
Definition at line 863 of file PartBunchBase.hpp.
|
virtual |
Definition at line 878 of file PartBunchBase.hpp.
|
virtual |
Definition at line 868 of file PartBunchBase.hpp.
|
virtual |
Definition at line 883 of file PartBunchBase.hpp.
|
virtual |
Definition at line 873 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getQ | ( | ) | const |
Access to reference data.
Definition at line 1935 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::apply(), Degrader::applyToReferenceParticle(), BendBase::calcDesignRadius(), BendBase::calcFieldAmplitude(), Distribution::createOpalCycl(), Distribution::createOpalT(), Distribution::emitParticles(), RBend::findChordLength(), Bend2D::findIdealBendParameters(), Corrector::goOnline(), RBend3D::initialise(), RFCavity::initialise(), ParallelCyclotronTracker::RFkick(), Corrector::setDesignEnergy(), Vacuum::updateParticleAttributes(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Quaternion_t PartBunchBase< T, Dim >::getQKs3D | ( | ) |
| const PartData * PartBunchBase< T, Dim >::getReference | ( | ) | const |
Definition at line 2041 of file PartBunchBase.hpp.
Referenced by Bend2D::setupPusher(), RFCavity::trackOnAxisParticle(), and RBend3D::trackRefParticleThrough().
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| FMatrix< double, 2 *Dim, 2 *Dim > PartBunchBase< T, Dim >::getSigmaMatrix | ( | ) | const |
Definition at line 2327 of file PartBunchBase.hpp.
References Dim.
Referenced by ThickTracker::track_m(), and StatWriter::write().
|
private |
Bounds the space-charge mesh is fitted to, before the enlargement by BBOXINCR: get_bounds() with MESHFIT=ALL. With MESHFIT=CORE every fit selects the core (CoreFitSC::selectCore()) and returns its bounds, widened to the particles flagged lost within the core window (CoreFitSC::getMeshBox()), or the bounds of all particles in FULL mode; the fit of a space-charge solve step also decides the mode and stores its selection with the bounds of all particles for the stat file and the log.
Definition at line 1416 of file PartBunchBase.hpp.
References CoreFitSC::CoreSelection::boundsMax, CoreFitSC::CoreSelection::boundsMin, CoreFitSC::CORE, CORE, CoreFitSC::decideMode(), endl(), CoreFitSC::FULL, CoreFitSC::CoreSelection::getFarChargeFraction(), CoreFitSC::getMeshBox(), gmsg, CoreFitSC::ModeState::mode, CoreFitSC::CoreSelection::numCore, CoreFitSC::CoreSelection::numFar, CoreFitSC::CoreSelection::numLive, Options::repartFreq, CoreFitSC::selectCore(), IpplTimings::startTimer(), IpplTimings::stopTimer(), and CoreFitSC::warnFarFraction.

| int PartBunchBase< T, Dim >::getStepsPerTurn | ( | ) | const |
Definition at line 1682 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::initializeTracking_m().
| int PartBunchBase< T, Dim >::getSteptoLastInj | ( | ) | const |
Definition at line 1817 of file PartBunchBase.hpp.
Referenced by Distribution::doRestartOpalCycl(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::getT | ( | ) | const |
Definition at line 1091 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::apply(), Undulator::apply(), ParallelTTracker::applyFractionalStep(), ParallelCyclotronTracker::applyPluginElements(), ParallelTTracker::autophaseCavities(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::borisExternalFields(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), MultiBunchHandler::calcBunchBeamParameters(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalT(), ThickTracker::dump_m(), ParallelTTracker::dumpStats(), ParallelTTracker::emitParticles(), ParallelTTracker::execute(), AmrBoxLib::getT(), AmrBoxLib::initFineLevels(), ParallelCyclotronTracker::initializeTracking_m(), PartBunchBase< T, Dim >::ConstIterator::operator*(), ParallelCyclotronTracker::push(), ParallelCyclotronTracker::saveInjectValues(), ThickTracker::update_m(), ParallelTTracker::updateReferenceParticle(), ParallelCyclotronTracker::updateTime(), StatWriter::write(), GridLBalWriter::write(), LBalWriter::write(), MemoryProfiler::write(), MemoryWriter::write(), DataSink::writeImpactStatistics(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getTEmission | ( | ) |
Definition at line 264 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::prepareEmission().
| size_t PartBunchBase< T, Dim >::getTotalNum | ( | ) | const |
Definition at line 2211 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), ParallelCyclotronTracker::applyPluginElements(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchMode_m(), ParallelCyclotronTracker::calcMeanP(), ParallelCyclotronTracker::calcMeanR(), DistributionMoments::computeDebyeLength(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), ParallelCyclotronTracker::computePathLengthUpdate(), Distribution::createOpalCycl(), Probe::doInitialise(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), ThickTracker::dump_m(), ParallelTTracker::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), ParallelTTracker::execute(), ParallelCyclotronTracker::finalizeTracking_m(), ParallelCyclotronTracker::GenericTracker(), Monitor::initialise(), MultiBunchHandler::injectBunch(), ParallelCyclotronTracker::MtsTracker(), MultiBunchHandler::MultiBunchHandler(), ParallelCyclotronTracker::update_m(), StatWriter::write(), AmrYtWriter::writeBunch(), DataSink::writeImpactStatistics(), ParallelTTracker::writePhaseSpace(), H5Writer::writePhaseSpace(), H5PartWrapperForPC::writeStep(), and H5PartWrapperForPT::writeStep().
| size_t PartBunchBase< T, Dim >::getTotalNumPerBunch | ( | short | n | ) | const |
Definition at line 1739 of file PartBunchBase.hpp.
References PAssert_LT.
Referenced by ParallelCyclotronTracker::calcMeanR(), and ParallelCyclotronTracker::computePathLengthUpdate().
| bool PartBunchBase< T, Dim >::getUpdateFlag | ( | UpdateFlags_t | f | ) | const |
Definition at line 2252 of file PartBunchBase.hpp.
References ParticleLayout< T, Dim >::getUpdateFlag().

|
virtual |
Definition at line 889 of file PartBunchBase.hpp.
|
virtual |
Definition at line 907 of file PartBunchBase.hpp.
|
virtual |
Definition at line 895 of file PartBunchBase.hpp.
|
virtual |
Definition at line 913 of file PartBunchBase.hpp.
|
virtual |
Definition at line 901 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::ghostDestroy | ( | size_t | M, |
| size_t | I | ||
| ) |
Definition at line 2317 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::globalCreate | ( | size_t | np | ) |
Definition at line 2302 of file PartBunchBase.hpp.
| bool PartBunchBase< T, Dim >::hasBinning | ( | ) | const |
Definition at line 252 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::writeStepData().
| bool PartBunchBase< T, Dim >::hasFieldSolver | ( | ) |
Definition at line 1656 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::bunchMode_m(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), ParallelTTracker::doBinaryRepartition(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::getFieldsAtPoint(), and ParallelCyclotronTracker::MtsTracker().
| void PartBunchBase< T, Dim >::incrementT | ( | ) |
Definition at line 1085 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeParticleMatterInteraction(), and ParallelTTracker::execute().
| void PartBunchBase< T, Dim >::incTrackSteps | ( | ) |
Definition at line 1706 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::execute().
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
| bool PartBunchBase< T, Dim >::isGridFixed | ( | ) | const |
Definition at line 246 of file PartBunchBase.hpp.
Referenced by FieldSolver::getMeshFitParameters_m().
| bool PartBunchBase< T, Dim >::isMeshFitRepartitionDue | ( | ) | const |
MESHFIT=CORE: the fit of the space-charge solve step changed the mesh box, at the first solve of a TRACK/RUN or at a switch of the mode; the tracker repartitions at once, whatever REPARTFREQ
Definition at line 1385 of file PartBunchBase.hpp.
References CORE.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().
| bool PartBunchBase< T, Dim >::isMeshFitToCore | ( | ) | const |
MESHFIT=CORE: the mesh of the last fit is fitted to the core, so the solve deposits and gathers the particles by their CoreFitSC::ParticleClass
Definition at line 1379 of file PartBunchBase.hpp.
References CORE.
| void PartBunchBase< T, Dim >::iterateEmittedBin | ( | int | binNumber | ) |
Definition at line 2053 of file PartBunchBase.hpp.
Referenced by Distribution::emitParticles(), and Distribution::injectBeam().
| void PartBunchBase< T, Dim >::maximumAmplitudes | ( | const FMatrix< double, 6, 6 > & | D, |
| double & | axmax, | ||
| double & | aymax | ||
| ) |
Return maximum amplitudes.
Definition at line 1034 of file PartBunchBase.hpp.
References OpalParticle::getPx(), OpalParticle::getPy(), OpalParticle::getPz(), OpalParticle::getX(), OpalParticle::getY(), and OpalParticle::getZ().

| void PartBunchBase< T, Dim >::performDestroy | ( | bool | updateLocalNum = false | ) |
Definition at line 2312 of file PartBunchBase.hpp.
Referenced by ScatteringPhysics::copyFromBunch(), and ParallelCyclotronTracker::deleteParticle().
| Inform & PartBunchBase< T, Dim >::print | ( | Inform & | os | ) |
Definition at line 2064 of file PartBunchBase.hpp.
References endl(), Inform::flags(), Util::getChargeString(), Util::getEnergyString(), Util::getLengthString(), Util::getTimeString(), level1(), and sum().
Referenced by Undulator::apply(), operator<<(), and PartBunch::print().

| void PartBunchBase< T, Dim >::push_back | ( | OpalParticle const & | p | ) |
Definition at line 992 of file PartBunchBase.hpp.
References endl(), OpalParticle::getP(), and OpalParticle::getR().
Referenced by Tracker::addToBunch().

| void PartBunchBase< T, Dim >::Rebin | ( | ) |
Definition at line 132 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::emitParticles().
| void PartBunchBase< T, Dim >::rebin | ( | ) |
Definition at line 317 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::resetID | ( | ) |
Definition at line 2267 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in PartBunch.
Definition at line 2126 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields(), and ParallelTTracker::emitParticles().
| void PartBunchBase< T, Dim >::resetM | ( | double | m | ) |
Definition at line 1999 of file PartBunchBase.hpp.
Referenced by Stripper::doFinaliseCheck().
| void PartBunchBase< T, Dim >::resetMeshFitTurn | ( | ) |
MESHFIT=CORE: starts a turn for the per-turn statistics and for the warnings, which are given at most once per turn
Definition at line 1398 of file PartBunchBase.hpp.
References PartBunchBase< T, Dim >::MeshFitStatistics::turnSolves.
Referenced by ParallelCyclotronTracker::printMeshFit_m().
| bool PartBunchBase< T, Dim >::resetPartBinBunch | ( | ) |
Definition at line 1913 of file PartBunchBase.hpp.
Referenced by MultiBunchHandler::updateParticleBins().
| bool PartBunchBase< T, Dim >::resetPartBinID2 | ( | const double | eta | ) |
reset Bin[] for each particle according to the method given in paper PAST-AB(064402) by G. Fubiani et al.
Definition at line 1862 of file PartBunchBase.hpp.
References endl(), ERRORMSG, INFOMSG, and reduce().
Referenced by MultiBunchHandler::updateParticleBins().

| void PartBunchBase< T, Dim >::resetQ | ( | double | q | ) |
Set reference data
Definition at line 1993 of file PartBunchBase.hpp.
Referenced by Stripper::doFinaliseCheck().
|
inlinevirtual |
Reimplemented in PartBunch.
Definition at line 568 of file PartBunchBase.h.
|
virtual |
Definition at line 2120 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in AmrPartBunch.
Definition at line 1286 of file PartBunchBase.hpp.
Referenced by FieldSolver::initAmrObject_m(), FieldSolver::initSolver(), and AmrPartBunch::set_meshEnlargement().
| void PartBunchBase< T, Dim >::set_sPos | ( | double | s | ) |
Definition at line 1103 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::execute(), ThickTracker::execute(), H5PartWrapperForPC::readStepHeader(), H5PartWrapperForPT::readStepHeader(), ThickTracker::update_m(), ParallelCyclotronTracker::updatePathLength(), and ParallelTTracker::writePhaseSpace().
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 2159 of file PartBunchBase.hpp.
Referenced by TrackRun::setupFieldsolver().
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 2153 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 2165 of file PartBunchBase.hpp.
Referenced by TrackRun::setupFieldsolver().
|
inline |
Definition at line 593 of file PartBunchBase.h.
References PartBunchBase< T, Dim >::pbase_m.
| void PartBunchBase< T, Dim >::setBeamFrequency | ( | double | v | ) |
Definition at line 2322 of file PartBunchBase.hpp.
References Physics::c.
Referenced by TrackRun::setupTTracker().
|
virtual |
Set the charge of all other the ones in bin to zero.
Reimplemented in AmrPartBunch.
Definition at line 436 of file PartBunchBase.hpp.

|
virtual |
Set the charge of one bin to the value of q and all other to zero.
Reimplemented in AmrPartBunch.
Definition at line 430 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields(), and ParallelCyclotronTracker::computeSpaceChargeFields_m().

| void PartBunchBase< T, Dim >::setCharge | ( | double | q | ) |
Definition at line 1593 of file PartBunchBase.hpp.
References endl(), and WARNMSG.
Referenced by TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), and TrackRun::setupTTracker().

| void PartBunchBase< T, Dim >::setChargeZeroPart | ( | double | q | ) |
Definition at line 1603 of file PartBunchBase.hpp.
Referenced by TrackRun::setupThickTracker(), and TrackRun::setupTTracker().
|
inline |
Whether computeSelfFields_cycl(double) also evaluates the rms density and the Debye length. They are only written to the stat file, so a tracker that knows no stat row follows before the next solve can switch them off. On by default.
Definition at line 151 of file PartBunchBase.h.
References PartBunchBase< T, Dim >::computeSCDiagnostics_m.
Referenced by ParallelCyclotronTracker::bunchMode_m().
| void PartBunchBase< T, Dim >::setCouplingConstant | ( | double | c | ) |
Definition at line 1587 of file PartBunchBase.hpp.
Referenced by TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), and TrackRun::setupTTracker().
| void PartBunchBase< T, Dim >::setDistribution | ( | Distribution * | d, |
| size_t | numberOfParticles, | ||
| double | current, | ||
| const Beamline & | bl | ||
| ) |
Definition at line 236 of file PartBunchBase.hpp.
References Distribution::createOpalCycl().

| void PartBunchBase< T, Dim >::setDistribution | ( | Distribution * | d, |
| std::vector< Distribution * > | addedDistributions, | ||
| size_t & | np | ||
| ) |
Definition at line 222 of file PartBunchBase.hpp.
References Distribution::createOpalT().
Referenced by TrackRun::setDistributionParallelT(), and TrackRun::setupCyclotronTracker().

| void PartBunchBase< T, Dim >::setdT | ( | double | dt | ) |
Definition at line 1067 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeParticleMatterInteraction(), ParallelTTracker::execute(), ParallelTTracker::selectDT(), TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), and ThickTracker::update_m().
| void PartBunchBase< T, Dim >::setEnergyBins | ( | int | numberOfEnergyBins | ) |
Definition at line 149 of file PartBunchBase.hpp.
Referenced by Distribution::initializeBeam().
| void PartBunchBase< T, Dim >::setGlobalMeanR | ( | Vector_t | globalMeanR | ) |
Definition at line 1786 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields(), and ParallelCyclotronTracker::computeSpaceChargeFields_m().
| void PartBunchBase< T, Dim >::setGlobalToLocalQuaternion | ( | Quaternion_t | globalToLocalQuaternion | ) |
Definition at line 1798 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().
| void PartBunchBase< T, Dim >::setGlobalTrackStep | ( | long long | n | ) |
step in multiple TRACK commands
Definition at line 1688 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::readStepHeader(), H5PartWrapperForPT::readStepHeader(), and ThickTracker::update_m().
| void PartBunchBase< T, Dim >::setKs3DRefp | ( | Vector_t | p | ) |
| void PartBunchBase< T, Dim >::setKs3DRefr | ( | Vector_t | r | ) |
| void PartBunchBase< T, Dim >::setLocalBinCount | ( | size_t | num, |
| int | bin | ||
| ) |
Definition at line 335 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::deleteParticle().
| void PartBunchBase< T, Dim >::setLocalNum | ( | size_t | n | ) |
Definition at line 2237 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setLocalNumPerBunch | ( | size_t | numpart, |
| short | n | ||
| ) |
Definition at line 1746 of file PartBunchBase.hpp.
References PAssert_LT.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::deleteParticle(), MultiBunchHandler::injectBunch(), and MultiBunchHandler::readBunch().
| void PartBunchBase< T, Dim >::setLocalTrackStep | ( | long long | n | ) |
step in a TRACK command
Definition at line 1700 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::readStepHeader(), H5PartWrapperForPT::readStepHeader(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), and ParallelCyclotronTracker::update_m().
| void PartBunchBase< T, Dim >::setMass | ( | double | mass | ) |
Definition at line 1609 of file PartBunchBase.hpp.
Referenced by TrackRun::setupCyclotronTracker(), and TrackRun::setupTTracker().
| void PartBunchBase< T, Dim >::setMassZeroPart | ( | double | mass | ) |
Definition at line 1616 of file PartBunchBase.hpp.
Referenced by TrackRun::setupTTracker().
| void PartBunchBase< T, Dim >::setMeshFit | ( | const MeshFitParameters & | meshFit | ) |
FIELDSOLVER, MESHFIT: the particles the space-charge mesh is fitted to.
Definition at line 1292 of file PartBunchBase.hpp.
References CORE, IpplTimings::getTimer(), ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::setOutsideToNearest(), MeshFitParameters::type, IpplException::what(), and IpplException::where().
Referenced by FieldSolver::initSolver().

| void PartBunchBase< T, Dim >::setMeshFitMode | ( | const CoreFitSC::ModeState & | mode | ) |
MESHFIT=CORE: restores the mode, from the step attributes of an H5 restart.
Definition at line 1373 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::readStepHeader().
| void PartBunchBase< T, Dim >::setMeshFitSolveStep | ( | bool | solveStep | ) |
Set by the tracker around the mesh fit (boundp() or boundp_destroyCycl()) of each space-charge solve step. With MESHFIT=CORE every fit selects the core and fits the mesh to it, but only that fit decides the mode and is reported: the other fits of a step (repartition, deleteParticle(), in another frame) would otherwise switch the mode or replace the reported selection before the stat file is written.
Definition at line 1335 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::computeSpaceChargeFields_m().
| void PartBunchBase< T, Dim >::setNumBunch | ( | short | n | ) |
Definition at line 1718 of file PartBunchBase.hpp.
Referenced by Distribution::initializeBeam(), MultiBunchHandler::injectBunch(), and H5PartWrapperForPC::readStepHeader().
| void PartBunchBase< T, Dim >::setParticle | ( | FVector< double, 6 > | z, |
| int | ii | ||
| ) |
Definition at line 1007 of file PartBunchBase.hpp.
Referenced by Tracker::applyDrift(), Tracker::applyThinMultipole(), Tracker::applyThinSBend(), and Tracker::applyTransform().
| void PartBunchBase< T, Dim >::setParticle | ( | OpalParticle const & | p, |
| int | ii | ||
| ) |
Definition at line 1018 of file PartBunchBase.hpp.
References OpalParticle::getP(), and OpalParticle::getR().

| void PartBunchBase< T, Dim >::setPBins | ( | PartBins * | pbin | ) |
Definition at line 288 of file PartBunchBase.hpp.
Referenced by Distribution::createOpalCycl(), Distribution::doRestartOpalCycl(), and MultiBunchHandler::MultiBunchHandler().

| void PartBunchBase< T, Dim >::setPBins | ( | PartBinsCyc * | pbin | ) |
Definition at line 296 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setPOrigin | ( | ParticleOrigin | origin | ) |
Definition at line 1964 of file PartBunchBase.hpp.
Referenced by Stripper::doCheck().
| void PartBunchBase< T, Dim >::setPType | ( | const std::string & | type | ) |
Definition at line 1975 of file PartBunchBase.hpp.
References ParticleProperties::getParticleType().
Referenced by TrackRun::setupCyclotronTracker(), and TrackRun::setupTTracker().

| void PartBunchBase< T, Dim >::setQKs3D | ( | Quaternion_t | q | ) |
|
virtual |
CAN not re-inizialize ParticleLayout this is an IPPL issue
Reimplemented in AmrPartBunch.
Definition at line 1638 of file PartBunchBase.hpp.
References OpalData::getInstance().
Referenced by AmrPartBunch::setSolver(), and TrackRun::setupFieldsolver().

| void PartBunchBase< T, Dim >::setStepsPerTurn | ( | int | n | ) |
Definition at line 1676 of file PartBunchBase.hpp.
Referenced by TrackRun::setupCyclotronTracker().
| void PartBunchBase< T, Dim >::setSteptoLastInj | ( | int | n | ) |
Definition at line 1811 of file PartBunchBase.hpp.
Referenced by H5PartWrapperForPC::readStepHeader().
| void PartBunchBase< T, Dim >::setT | ( | double | t | ) |
Definition at line 1079 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), ParallelTTracker::applyFractionalStep(), ParallelTTracker::computeParticleMatterInteraction(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), H5PartWrapperForPC::readStepHeader(), H5PartWrapperForPT::readStepHeader(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), ThickTracker::update_m(), and ParallelCyclotronTracker::updateTime().
| void PartBunchBase< T, Dim >::setTEmission | ( | double | t | ) |
Definition at line 258 of file PartBunchBase.hpp.
Referenced by Distribution::initializeBeam().
| void PartBunchBase< T, Dim >::setTotalNum | ( | size_t | n | ) |
Definition at line 2232 of file PartBunchBase.hpp.
Referenced by ParallelCyclotronTracker::deleteParticle().
| void PartBunchBase< T, Dim >::setTotalNumPerBunch | ( | size_t | numpart, |
| short | n | ||
| ) |
Definition at line 1732 of file PartBunchBase.hpp.
References PAssert_LT.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::deleteParticle(), MultiBunchHandler::injectBunch(), and MultiBunchHandler::readBunch().
|
private |
Definition at line 2176 of file PartBunchBase.hpp.
References AbstractParticle< T, Dim >::addAttribute(), IpplInfo::getNodes(), and IpplTimings::getTimer().

| void PartBunchBase< T, Dim >::setUpdateFlag | ( | UpdateFlags_t | f, |
| bool | val | ||
| ) |
Definition at line 2257 of file PartBunchBase.hpp.
|
virtual |
Definition at line 919 of file PartBunchBase.hpp.
| bool PartBunchBase< T, Dim >::singleInitNode | ( | ) | const |
Definition at line 2262 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in PartBunch.
Definition at line 2131 of file PartBunchBase.hpp.
Referenced by PartBunch::swap().
| void PartBunchBase< T, Dim >::switchOffUnitlessPositions | ( | bool | use_dt_per_particle = false | ) |
Definition at line 192 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::emitParticles(), and ParallelTTracker::pushParticles().
| void PartBunchBase< T, Dim >::switchToUnitlessPositions | ( | bool | use_dt_per_particle = false | ) |
Definition at line 168 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::emitParticles(), and ParallelTTracker::pushParticles().
| void PartBunchBase< T, Dim >::update | ( | ) |
Definition at line 2272 of file PartBunchBase.hpp.
References IpplException::what(), and IpplException::where().

| void PartBunchBase< T, Dim >::update | ( | const ParticleAttrib< char > & | canSwap | ) |
Definition at line 2282 of file PartBunchBase.hpp.
References IpplException::what(), and IpplException::where().

|
privatepure virtual |
Implemented in AmrPartBunch, and PartBunch.
|
privatevirtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 2171 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::updateNumTotal | ( | ) |
Definition at line 309 of file PartBunchBase.hpp.
References reduce().
Referenced by ParallelCyclotronTracker::applyPluginElements(), ParallelTTracker::computeParticleMatterInteraction(), ParallelTTracker::emitParticles(), and ParallelCyclotronTracker::MtsTracker().

|
protected |
| bool PartBunchBase< T, Dim >::weHaveBins | ( | ) | const |
Definition at line 279 of file PartBunchBase.hpp.
Referenced by Stripper::doCheck(), and ParallelCyclotronTracker::isMultiBunch().
| bool PartBunchBase< T, Dim >::weHaveEnergyBins | ( | ) |
Definition at line 158 of file PartBunchBase.hpp.
Referenced by ParallelTTracker::computeSpaceChargeFields(), ParallelTTracker::emitParticles(), and ParallelTTracker::execute().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Bf |
Definition at line 666 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), ParallelCyclotronTracker::borisExternalFields(), ParallelCyclotronTracker::bunchMode_m(), ParallelTTracker::computeExternalFields(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), ParallelTTracker::execute(), ParallelCyclotronTracker::getFieldsAtPoint(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), ParallelTTracker::kickParticles(), ParallelTTracker::transformBunch(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< int > PartBunchBase< T, Dim >::Bin |
Definition at line 667 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), Degrader::apply(), Cyclotron::apply(), Ring::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::bunchMode_m(), Vacuum::checkVacuum(), ParallelTTracker::computeExternalFields(), AmrBoxLib::computeSelfFields_cycl(), ScatteringPhysics::copyFromBunch(), ParallelCyclotronTracker::deleteParticle(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), ParallelCyclotronTracker::initDistInGlobalFrame(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), ParallelCyclotronTracker::push(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), ParallelCyclotronTracker::singleMode_m(), AmrBoxLib::solvePoisson_m(), AmrBoxLib::tagForChargeDensity_m(), AmrYtWriter::writeParticles_m(), and H5PartWrapperForPC::writeStepData().
|
protected |
Definition at line 814 of file PartBunchBase.h.
|
protected |
holds the gamma of the bin
Definition at line 809 of file PartBunchBase.h.
|
protected |
Definition at line 705 of file PartBunchBase.h.
|
protected |
Definition at line 704 of file PartBunchBase.h.
|
protected |
Definition at line 706 of file PartBunchBase.h.
|
protected |
Definition at line 830 of file PartBunchBase.h.
| ParticleAttrib< short > PartBunchBase< T, Dim >::bunchNum |
Definition at line 673 of file PartBunchBase.h.
Referenced by Cyclotron::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::calcMeanR(), ParallelCyclotronTracker::computePathLengthUpdate(), ParallelCyclotronTracker::deleteParticle(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), and H5PartWrapperForPC::writeStepData().
|
protected |
number of particles per bunch
Definition at line 829 of file PartBunchBase.h.
| ParticleAttrib< short > PartBunchBase< T, Dim >::cavityGapCrossed |
Definition at line 672 of file PartBunchBase.h.
Referenced by ParallelCyclotronTracker::bunchMode_m(), ParallelCyclotronTracker::gapCrossKick_m(), and ParallelCyclotronTracker::singleMode_m().
|
protected |
holds the centroid of the beam
Definition at line 729 of file PartBunchBase.h.
|
protected |
See setComputeSCDiagnostics().
Definition at line 755 of file PartBunchBase.h.
Referenced by PartBunchBase< T, Dim >::setComputeSCDiagnostics().
|
protected |
Definition at line 765 of file PartBunchBase.h.
|
protected |
Definition at line 847 of file PartBunchBase.h.
| double PartBunchBase< T, Dim >::deltaTau_m |
Definition at line 691 of file PartBunchBase.h.
Referenced by TrackRun::setupThickTracker(), and TrackRun::setupTTracker().
|
protected |
Mesh enlargement.
Definition at line 774 of file PartBunchBase.h.
|
static |
Definition at line 60 of file PartBunchBase.h.
Referenced by AmrBoxLib::getEExtrema().
|
protected |
Definition at line 843 of file PartBunchBase.h.
|
protected |
counter to store the distribution dump
Definition at line 771 of file PartBunchBase.h.
| IpplTimings::TimerRef PartBunchBase< T, Dim >::distrCreate_m |
Definition at line 688 of file PartBunchBase.h.
Referenced by Distribution::createOpalT().
| IpplTimings::TimerRef PartBunchBase< T, Dim >::distrReload_m |
timer for IC, can not be in Distribution.h
Definition at line 687 of file PartBunchBase.h.
Referenced by Distribution::doRestartOpalCycl(), and Distribution::doRestartOpalT().
| ParticleAttrib< double > PartBunchBase< T, Dim >::dt |
Definition at line 668 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Degrader::apply(), FlexibleCollimator::apply(), Monitor::apply(), Source::apply(), Undulator::apply(), ParallelTTracker::changeDT(), ParallelTTracker::computeExternalFields(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), ParallelTTracker::kickParticles(), ParallelTTracker::pushParticles(), ParallelTTracker::setTime(), ParallelCyclotronTracker::setTimeStep(), ParallelTTracker::timeIntegration2(), ThickTracker::update_m(), and AmrYtWriter::writeParticles_m().
|
protected |
holds the timestep in seconds
Definition at line 732 of file PartBunchBase.h.
| double PartBunchBase< T, Dim >::dtScInit_m |
Definition at line 691 of file PartBunchBase.h.
Referenced by TrackRun::setupThickTracker(), and TrackRun::setupTTracker().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Ef |
Definition at line 663 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), ParallelCyclotronTracker::borisExternalFields(), ParallelCyclotronTracker::bunchMode_m(), ParallelTTracker::computeExternalFields(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ParallelTTracker::computeWakefield(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), ParallelTTracker::execute(), ParallelCyclotronTracker::getFieldsAtPoint(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), ParallelTTracker::kickParticles(), ApplyField< T >::operator()(), ParallelTTracker::transformBunch(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Eftmp |
Definition at line 664 of file PartBunchBase.h.
Referenced by AmrBoxLib::computeSelfFields_cycl().
|
protected |
Definition at line 716 of file PartBunchBase.h.
|
private |
Definition at line 699 of file PartBunchBase.h.
|
protected |
Definition at line 715 of file PartBunchBase.h.
|
private |
if the grid does not have to adapt
Definition at line 701 of file PartBunchBase.h.
|
protected |
stores the used field solver
Definition at line 763 of file PartBunchBase.h.
|
protected |
Initialize the translation vector and rotation quaternion here. Cyclotron tracker will reset these values each timestep TTracker can just use 0 translation and 0 rotation (quat[1 0 0 0]).
Definition at line 743 of file PartBunchBase.h.
|
protected |
Definition at line 841 of file PartBunchBase.h.
|
protected |
Definition at line 744 of file PartBunchBase.h.
|
protected |
if multiple TRACK commands
Definition at line 823 of file PartBunchBase.h.
|
protected |
Definition at line 709 of file PartBunchBase.h.
|
protected |
meshspacing of cartesian mesh
Definition at line 758 of file PartBunchBase.h.
| ParticleIndex_t& PartBunchBase< T, Dim >::ID |
Definition at line 656 of file PartBunchBase.h.
Referenced by Degrader::apply(), FlexibleCollimator::apply(), Monitor::apply(), Source::apply(), Cyclotron::apply(), Ring::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::computePathLengthUpdate(), ScatteringPhysics::copyFromBunch(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::getFieldsAtPoint(), ParallelCyclotronTracker::getReferenceParticle(), ParallelCyclotronTracker::initDistInGlobalFrame(), Distribution::injectBeam(), PartBunchBase< T, Dim >::ConstIterator::operator*(), H5PartWrapperForPT::readStepData(), ParallelCyclotronTracker::RFkick(), ParallelCyclotronTracker::seoMode_m(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), BeamStrippingPhysics::transformToSecondary(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
step in a TRACK command
Definition at line 820 of file PartBunchBase.h.
| ParticleAttrib< double > PartBunchBase< T, Dim >::M |
Definition at line 661 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), FlexibleCollimator::apply(), Monitor::apply(), Source::apply(), Cyclotron::apply(), Ring::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), ScatteringPhysics::copyFromBunch(), RK4< FieldFunction, Arguments >::derivate_m(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), LF2< FieldFunction, Arguments >::kick_m(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), MultiBunchHandler::saveBunch(), BeamStrippingPhysics::transformToSecondary(), Vacuum::updateParticleAttributes(), AmrYtWriter::writeParticles_m(), and H5PartWrapperForPC::writeStepData().
|
protected |
Definition at line 768 of file PartBunchBase.h.
|
protected |
relative enlargement of the mesh
FIELDSOLVER, MESHFIT and its parameters
Definition at line 777 of file PartBunchBase.h.
|
protected |
Definition at line 779 of file PartBunchBase.h.
|
protected |
MESHFIT=CORE: timers for the core selection, for the field outside the core and for its exact core field; setMeshFit() creates them with CORE only
Definition at line 714 of file PartBunchBase.h.
|
protected |
Definition at line 844 of file PartBunchBase.h.
|
protected |
meshsize of cartesian mesh
Definition at line 760 of file PartBunchBase.h.
|
protected |
current bunch number
Definition at line 826 of file PartBunchBase.h.
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::P |
Definition at line 659 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), ThickTracker::advanceParticles_m(), Corrector::apply(), VerticalFFAMagnet::apply(), Degrader::apply(), FlexibleCollimator::apply(), Monitor::apply(), MultipoleT::apply(), RBend3D::apply(), RFCavity::apply(), SBend3D::apply(), ScalingFFAMagnet::apply(), Solenoid::apply(), Source::apply(), TravelingWave::apply(), VariableRFCavity::apply(), VariableRFCavityFringeField::apply(), Cyclotron::apply(), Ring::apply(), Undulator::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), ParallelCyclotronTracker::bunchMode_m(), MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::calcMeanP(), PluginElement::changeWidth(), ParallelCyclotronTracker::checkFileMomentum(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), ParallelCyclotronTracker::computePathLengthUpdate(), ParallelTTracker::computeWakefield(), ScatteringPhysics::copyFromBunch(), ParallelCyclotronTracker::deleteParticle(), LF2< FieldFunction, Arguments >::doAdvance_m(), RK4< FieldFunction, Arguments >::doAdvance_m(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::gapCrossKick_m(), ParallelCyclotronTracker::getReferenceParticle(), ParallelCyclotronTracker::initDistInGlobalFrame(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), LF2< FieldFunction, Arguments >::kick_m(), ParallelTTracker::kickParticles(), ParallelCyclotronTracker::MtsTracker(), PartBunchBase< T, Dim >::ConstIterator::operator*(), ParallelCyclotronTracker::push(), ParallelTTracker::pushParticles(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), ParallelCyclotronTracker::RFkick(), MultiBunchHandler::saveBunch(), ParallelCyclotronTracker::seoMode_m(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), AmrBoxLib::tagForMomenta_m(), ParallelTTracker::transformBunch(), StatWriter::write(), AmrYtWriter::writeParticles_m(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 849 of file PartBunchBase.h.
Referenced by PartBunchBase< T, Dim >::getBConds(), and PartBunchBase< T, Dim >::setBConds().
| PartBins* PartBunchBase< T, Dim >::pbin_m |
Definition at line 684 of file PartBunchBase.h.
Referenced by MultiBunchHandler::MultiBunchHandler().
|
protected |
Definition at line 848 of file PartBunchBase.h.
| ParticleAttrib< double > PartBunchBase< T, Dim >::Phi |
Definition at line 662 of file PartBunchBase.h.
|
private |
Definition at line 698 of file PartBunchBase.h.
| ParticleAttrib< ParticleOrigin > PartBunchBase< T, Dim >::POrigin |
Definition at line 670 of file PartBunchBase.h.
Referenced by ParallelCyclotronTracker::bgf_main_collision_test(), CCollimator::doCheck(), Probe::doCheck(), Stripper::doCheck(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), Distribution::injectBeam(), MultiBunchHandler::readBunch(), MultiBunchHandler::saveBunch(), TrackRun::setupCyclotronTracker(), BeamStrippingPhysics::transformToSecondary(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< ParticleType > PartBunchBase< T, Dim >::PType |
Definition at line 669 of file PartBunchBase.h.
Referenced by BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), Distribution::injectBeam(), BeamStrippingPhysics::transformToSecondary(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< double > PartBunchBase< T, Dim >::Q |
Definition at line 660 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), FlexibleCollimator::apply(), Monitor::apply(), Source::apply(), Cyclotron::apply(), Ring::apply(), Undulator::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ScatteringPhysics::copyFromBunch(), RK4< FieldFunction, Arguments >::derivate_m(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), LF2< FieldFunction, Arguments >::kick_m(), ApplyField< T >::operator()(), PartBunchBase< T, Dim >::ConstIterator::operator*(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), MultiBunchHandler::saveBunch(), AmrBoxLib::solvePoisson_m(), AmrBoxLib::tagForChargeDensity_m(), BeamStrippingPhysics::transformToSecondary(), Vacuum::updateParticleAttributes(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 767 of file PartBunchBase.h.
| ParticlePos_t& PartBunchBase< T, Dim >::R |
Definition at line 655 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), ThickTracker::advanceParticles_m(), Corrector::apply(), Undulator::apply(), VerticalFFAMagnet::apply(), Bend2D::apply(), Degrader::apply(), FlexibleCollimator::apply(), Monitor::apply(), Multipole::apply(), MultipoleT::apply(), RBend3D::apply(), RFCavity::apply(), SBend3D::apply(), ScalingFFAMagnet::apply(), Solenoid::apply(), Source::apply(), TravelingWave::apply(), VariableRFCavity::apply(), VariableRFCavityFringeField::apply(), Cyclotron::apply(), Ring::apply(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), Undulator::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), ParallelCyclotronTracker::bunchMode_m(), MultiBunchHandler::calcBunchBeamParameters(), ParallelCyclotronTracker::calcMeanR(), P3MPoissonSolver::calculatePairForces(), Vacuum::checkVacuum(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), AmrBoxLib::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeSpaceChargeFields(), ParallelCyclotronTracker::computeSpaceChargeFields_m(), ParallelTTracker::computeWakefield(), ScatteringPhysics::copyFromBunch(), ParallelCyclotronTracker::deleteParticle(), RK4< FieldFunction, Arguments >::derivate_m(), LF2< FieldFunction, Arguments >::doAdvance_m(), RK4< FieldFunction, Arguments >::doAdvance_m(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), ParallelCyclotronTracker::gapCrossKick_m(), ParallelCyclotronTracker::getReferenceParticle(), ParallelCyclotronTracker::initDistInGlobalFrame(), Distribution::injectBeam(), ParallelCyclotronTracker::kick(), LF2< FieldFunction, Arguments >::kick_m(), ParallelTTracker::kickParticles(), ParallelCyclotronTracker::MtsTracker(), ApplyField< T >::operator()(), PartBunchBase< T, Dim >::ConstIterator::operator*(), ParallelCyclotronTracker::push(), ParallelTTracker::pushParticles(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), ParallelCyclotronTracker::RFkick(), MultiBunchHandler::saveBunch(), ParallelCyclotronTracker::seoMode_m(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), AmrBoxLib::solvePoisson_m(), AmrBoxLib::tagForChargeDensity_m(), AmrBoxLib::tagForMaxNumParticles_m(), AmrBoxLib::tagForMinNumParticles_m(), AmrBoxLib::tagForMomenta_m(), ParallelTTracker::transformBunch(), StatWriter::write(), AmrYtWriter::writeParticles_m(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 718 of file PartBunchBase.h.
| Vector_t PartBunchBase< T, Dim >::RefPartP_m |
Definition at line 676 of file PartBunchBase.h.
Referenced by Undulator::apply(), ParallelTTracker::applyFractionalStep(), ParallelTTracker::autophaseCavities(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), H5PartWrapperForPT::readStepHeader(), ParallelCyclotronTracker::setRefPartForDump_m(), ParallelTTracker::updateReferenceParticle(), ParallelTTracker::updateRefToLabCSTrafo(), StatWriter::write(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::RefPartR_m |
Definition at line 675 of file PartBunchBase.h.
Referenced by Undulator::apply(), ParallelTTracker::applyFractionalStep(), ParallelTTracker::autophaseCavities(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), ParallelTTracker::hasEndOfLineReached(), H5PartWrapperForPT::readStepHeader(), ParallelCyclotronTracker::setRefPartForDump_m(), ParallelTTracker::updateReferenceParticle(), ParallelTTracker::updateRefToLabCSTrafo(), StatWriter::write(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| ParticleOrigin PartBunchBase< T, Dim >::refPOrigin_m |
Definition at line 680 of file PartBunchBase.h.
| ParticleType PartBunchBase< T, Dim >::refPType_m |
Definition at line 681 of file PartBunchBase.h.
|
protected |
maximal extend of particles
Definition at line 747 of file PartBunchBase.h.
|
protected |
minimal extend of particles
Definition at line 749 of file PartBunchBase.h.
|
protected |
Definition at line 752 of file PartBunchBase.h.
|
protected |
Definition at line 799 of file PartBunchBase.h.
|
protected |
Definition at line 798 of file PartBunchBase.h.
|
protected |
MESHFIT=CORE: see getMeshFitCore() and getMeshFitFullBounds()
Definition at line 781 of file PartBunchBase.h.
|
protected |
MESHFIT=CORE: the mesh of the last fit. If scCoreMesh_m, it is fitted to [scBoxMin_m, scBoxMax_m], the core bounds widened to the particles flagged lost within the core window (CoreFitSC::getMeshBox()); [scMeshMin_m, scMeshMax_m] is the range of its cell centres (the enlarged box), and the fit has scNumCore_m core particles. scFitted_m: a fit has been done in this TRACK/RUN.
Definition at line 797 of file PartBunchBase.h.
|
protected |
Definition at line 803 of file PartBunchBase.h.
|
protected |
Definition at line 783 of file PartBunchBase.h.
|
protected |
Definition at line 782 of file PartBunchBase.h.
|
protected |
Definition at line 789 of file PartBunchBase.h.
|
protected |
Definition at line 801 of file PartBunchBase.h.
|
protected |
Definition at line 800 of file PartBunchBase.h.
|
protected |
MESHFIT=CORE: see getMeshFitMode(), isMeshFitRepartitionDue() and getMeshFitStatistics(). scHasSolved_m: a solve step of this TRACK/RUN has decided the mode; scWarned_m: the warnings given in this turn (MeshFitWarning bits).
Definition at line 787 of file PartBunchBase.h.
|
protected |
Definition at line 802 of file PartBunchBase.h.
|
protected |
Definition at line 788 of file PartBunchBase.h.
|
protected |
Definition at line 790 of file PartBunchBase.h.
|
protected |
Definition at line 791 of file PartBunchBase.h.
|
protected |
timer for selfField calculation
Definition at line 711 of file PartBunchBase.h.
|
protected |
the position along design trajectory
Definition at line 736 of file PartBunchBase.h.
|
protected |
Definition at line 726 of file PartBunchBase.h.
|
protected |
Definition at line 707 of file PartBunchBase.h.
|
protected |
steps per turn for OPAL-cycl
Definition at line 817 of file PartBunchBase.h.
|
protected |
this parameter records the current steps since last bunch injection it helps to inject new bunches correctly in the restart run of OPAL-cycl it is stored during phase space dump.
Definition at line 835 of file PartBunchBase.h.
|
protected |
holds the actual time of the integration
Definition at line 734 of file PartBunchBase.h.
|
protected |
if larger than 0, emitt particles for tEmission_m [s]
Definition at line 806 of file PartBunchBase.h.
| CoordinateSystemTrafo PartBunchBase< T, Dim >::toLabTrafo_m |
Definition at line 678 of file PartBunchBase.h.
Referenced by Undulator::apply(), ParallelTTracker::applyFractionalStep(), ParallelTTracker::computeExternalFields(), ParallelTTracker::computeParticleMatterInteraction(), Monitor::driftToCorrectPositionAndSave(), ParallelTTracker::emitParticles(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), H5PartWrapperForPT::readStepHeader(), ParallelTTracker::updateRefToLabCSTrafo(), ParallelTTracker::writePhaseSpace(), and H5PartWrapperForPT::writeStepHeader().
| ParticleAttrib< int > PartBunchBase< T, Dim >::TriID |
Definition at line 671 of file PartBunchBase.h.
Referenced by Distribution::emitParticles(), ParallelTTracker::evenlyDistributeParticles(), and Distribution::injectBeam().
|
protected |
Definition at line 725 of file PartBunchBase.h.