|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <PartBunchBase.h>
Classes | |
| class | ConstIterator |
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. | |
| 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 | 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) |
| Set reference data. | |
| 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 Member Functions | |
| size_t | calcMoments () |
| void | calcMomentsInitial () |
| double | calculateAngle (double x, double y) |
| angle range [0~2PI) degree | |
Protected Attributes | |
| IpplTimings::TimerRef | boundpTimer_m |
| IpplTimings::TimerRef | boundpBoundsTimer_m |
| IpplTimings::TimerRef | boundpUpdateTimer_m |
| IpplTimings::TimerRef | statParamTimer_m |
| IpplTimings::TimerRef | histoTimer_m |
| IpplTimings::TimerRef | selfFieldTimer_m |
| timer for selfField calculation | |
| const PartData * | reference |
| UnitState_t | unit_state_ |
| UnitState_t | stateOfLastBoundP_ |
| double | centroid_m [2 *Dim] |
| holds the centroid of the beam | |
| double | dt_m |
| holds the timestep in seconds | |
| double | t_m |
| holds the actual time of the integration | |
| double | spos_m |
| the position along design trajectory | |
| Vector_t | globalMeanR_m |
| Quaternion_t | globalToLocalQuaternion_m |
| Vector_t | rmax_m |
| maximal extend of particles | |
| Vector_t | rmin_m |
| minimal extend of particles | |
| double | rmsDensity_m |
| Vector_t | hr_m |
| meshspacing of cartesian mesh | |
| Vektor< int, 3 > | nr_m |
| meshsize of cartesian mesh | |
| FieldSolver * | fs_m |
| stores the used field solver | |
| double | couplingConstant_m |
| double | qi_m |
| double | massPerParticle_m |
| int | distDump_m |
| counter to store the distribution dump | |
| double | dh_m |
| Mesh enlargement. | |
| double | tEmission_m |
| relative enlargement of the mesh | |
| std::unique_ptr< double[]> | bingamma_m |
| holds the gamma of the bin | |
| std::unique_ptr< size_t[]> | binemitted_m |
| int | stepsPerTurn_m |
| steps per turn for OPAL-cycl | |
| long long | localTrackStep_m |
| step in a TRACK command | |
| long long | globalTrackStep_m |
| if multiple TRACK commands | |
| short | numBunch_m |
| current bunch number | |
| std::vector< size_t > | bunchTotalNum_m |
| number of particles per bunch | |
| std::vector< size_t > | bunchLocalNum_m |
| int | SteptoLastInj_m |
| std::unique_ptr< size_t[]> | globalPartPerNode_m |
| Distribution * | dist_m |
| DistributionMoments | momentsComputer_m |
| bool | dcBeam_m |
| double | periodLength_m |
| std::shared_ptr< AbstractParticle< T, Dim > > | pbase_m |
Private Member Functions | |
| virtual void | updateDomainLength (Vektor< int, 3 > &grid)=0 |
| virtual void | updateFields (const Vector_t &hr, const Vector_t &origin) |
| 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 49 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::ParticleIndex_t PartBunchBase< T, Dim >::ParticleIndex_t |
Definition at line 53 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::ParticlePos_t PartBunchBase< T, Dim >::ParticlePos_t |
Definition at line 52 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::Position_t PartBunchBase< T, Dim >::Position_t |
Definition at line 55 of file PartBunchBase.h.
| typedef AbstractParticle<T,Dim>::UpdateFlags PartBunchBase< T, Dim >::UpdateFlags_t |
Definition at line 54 of file PartBunchBase.h.
| typedef std::pair<Vector_t, Vector_t> PartBunchBase< T, Dim >::VectorPair_t |
Definition at line 57 of file PartBunchBase.h.
| enum PartBunchBase::UnitState_t |
| Enumerator | |
|---|---|
| units | |
| unitless | |
Definition at line 61 of file PartBunchBase.h.
|
inlinevirtual |
Definition at line 64 of file PartBunchBase.h.
| PartBunchBase< T, Dim >::PartBunchBase | ( | AbstractParticle< T, Dim > * | pb, |
| const PartData * | ref ) |
Definition at line 41 of file PartBunchBase.hpp.
References couplingConstant_m, distDump_m, dt_m, f_stream, fixed_grid, fs_m, globalMeanR_m, globalToLocalQuaternion_m, hr_m, ID, massPerParticle_m, nr_m, pbin_m, pmsg_m, qi_m, R, reference, rmax_m, rmin_m, rmsDensity_m, spos_m, stateOfLastBoundP_, t_m, unit_state_, unitless, and units.
Referenced by PartBunchBase< T, Dim >::ConstIterator::ConstIterator(), and PartBunchBase().
|
delete |
|
virtual |
Definition at line 1730 of file PartBunchBase.hpp.
|
inline |
Definition at line 279 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 510 of file PartBunchBase.hpp.
Referenced by boundp_destroyT(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), 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 611 of file PartBunchBase.hpp.
References Bin, boundpBoundsTimer_m, boundpTimer_m, boundpUpdateTimer_m, calcBeamParameters(), countTotalNumPerBunch(), destroy(), dh_m, get_bounds(), getLocalNum(), hr_m, momentsComputer_m, nr_m, pbin_m, R, Options::remotePartDel, rmax_m, rmin_m, IpplTimings::startTimer(), IpplTimings::stopTimer(), update(), updateDomainLength(), updateFields(), and weHaveBins().
| size_t PartBunchBase< T, Dim >::boundp_destroyT | ( | ) |
This is only temporary in order to get the collimator and pepperpot working
Definition at line 719 of file PartBunchBase.hpp.
References Bin, binemitted_m, boundp(), calcBeamParameters(), destroy(), dist_m, gatherLoadBalanceStatistics(), getLocalNum(), getNumberOfEnergyBins(), momentsComputer_m, ne(), nr_m, R, reduce(), Options::remotePartDel, updateDomainLength(), and weHaveEnergyBins().
| void PartBunchBase< T, Dim >::calcBeamParameters | ( | ) |
Definition at line 1267 of file PartBunchBase.hpp.
References get_bounds(), momentsComputer_m, rmax_m, rmin_m, IpplTimings::startTimer(), statParamTimer_m, and IpplTimings::stopTimer().
Referenced by GreenWakeFunction::apply(), Undulator::apply(), boundp_destroyCycl(), boundp_destroyT(), destroyT(), DataSink::dumpSDDS(), MultiBunchHandler::injectBunch(), H5PartWrapperForPT::writeStep(), and H5PartWrapperForPC::writeStepHeader().
| void PartBunchBase< T, Dim >::calcBeamParametersInitial | ( | ) |
References c.
| void PartBunchBase< T, Dim >::calcDebyeLength | ( | ) |
Compute the (global) Debye length for the beam.
Definition at line 413 of file PartBunchBase.hpp.
References momentsComputer_m, and rmsDensity_m.
| void PartBunchBase< T, Dim >::calcEMean | ( | ) |
Definition at line 1754 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by Distribution::injectBeam().
| void PartBunchBase< T, Dim >::calcGammas | ( | ) |
Compute the gammas of all bins.
Definition at line 339 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::calcGammas_cycl | ( | ) |
Definition at line 386 of file PartBunchBase.hpp.
Referenced by resetPartBinBunch(), and resetPartBinID2().
| 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 471 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 1518 of file PartBunchBase.hpp.
References Bin, calculateAngle(), endl(), getLocalNum(), INFOMSG, P, pbin_m, 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 438 of file PartBunchBase.hpp.
Referenced by DataSink::dumpSDDS().
|
protected |
angle range [0~2PI) degree
Definition at line 1797 of file PartBunchBase.hpp.
References atan2(), and Physics::two_pi.
Referenced by calcMeanPhi().
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
|
pure virtual |
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
|
pure virtual |
| void PartBunchBase< T, Dim >::countTotalNumPerBunch | ( | ) |
Definition at line 1455 of file PartBunchBase.hpp.
References allreduce(), bunchLocalNum_m, bunchNum, bunchTotalNum_m, getLocalNum(), getTotalNum(), numBunch_m, and PAssert_LT.
Referenced by boundp_destroyCycl().
| void PartBunchBase< T, Dim >::create | ( | size_t | M | ) |
Definition at line 1990 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), Stripper::doCheck(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), Distribution::emitParticles(), Distribution::injectBeam(), push_back(), and MultiBunchHandler::readBunch().
| void PartBunchBase< T, Dim >::createWithID | ( | unsigned | id | ) |
Definition at line 1985 of file PartBunchBase.hpp.
References pbase_m.
Referenced by ScatteringPhysics::addParticleBackToBunch().
| void PartBunchBase< T, Dim >::destroy | ( | size_t | M, |
| size_t | I, | ||
| bool | doNow = false ) |
Definition at line 2000 of file PartBunchBase.hpp.
Referenced by Undulator::apply(), boundp_destroyCycl(), boundp_destroyT(), ScatteringPhysics::copyFromBunch(), and destroyT().
| size_t PartBunchBase< T, Dim >::destroyT | ( | ) |
Definition at line 762 of file PartBunchBase.hpp.
References Bin, binemitted_m, calcBeamParameters(), destroy(), dist_m, gatherLoadBalanceStatistics(), getLocalNum(), getNumberOfEnergyBins(), getTotalNum(), INFORM_ALL_NODES, ne(), performDestroy(), reduce(), setTotalNum(), and weHaveEnergyBins().
Referenced by BeamStrippingPhysics::apply().
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 212 of file PartBunchBase.hpp.
| bool PartBunchBase< T, Dim >::doEmission | ( | ) |
Definition at line 266 of file PartBunchBase.hpp.
References dist_m.
| 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 299 of file PartBunchBase.hpp.
References dist_m.
|
inline |
Definition at line 283 of file PartBunchBase.h.
References getLocalNum().
Referenced by DistributionMoments::compute(), and end().
| void PartBunchBase< T, Dim >::gatherLoadBalanceStatistics | ( | ) |
Definition at line 1244 of file PartBunchBase.hpp.
References gather(), getLocalNum(), IpplInfo::getNodes(), and globalPartPerNode_m.
Referenced by boundp_destroyT(), destroyT(), and DataSink::dumpSDDS().
| Vector_t PartBunchBase< T, Dim >::get_68Percentile | ( | ) | const |
Definition at line 1168 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_95Percentile | ( | ) | const |
Definition at line 1173 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_99_99Percentile | ( | ) | const |
Definition at line 1183 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_99Percentile | ( | ) | const |
Definition at line 1178 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| void PartBunchBase< T, Dim >::get_bounds | ( | Vector_t & | rmin, |
| Vector_t & | rmax ) const |
Definition at line 876 of file PartBunchBase.hpp.
References allreduce(), Dim, getLocalBounds(), and min().
Referenced by CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), boundp_destroyCycl(), calcBeamParameters(), Vacuum::checkVacuum(), CCollimator::doFinaliseCheck(), CCollimator::doPreCheck(), Probe::doPreCheck(), Septum::doPreCheck(), Stripper::doPreCheck(), and getBoundingSphere().
| Vector_t PartBunchBase< T, Dim >::get_centroid | ( | ) | const |
Definition at line 1105 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by Undulator::apply(), MultiBunchHandler::injectBunch(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_DDx | ( | ) | const |
Definition at line 1220 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_DDy | ( | ) | const |
Definition at line 1226 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_debyeLength | ( | ) | const |
Definition at line 1078 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_Dx | ( | ) | const |
Definition at line 1208 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| double PartBunchBase< T, Dim >::get_Dy | ( | ) | const |
Definition at line 1214 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_emit | ( | ) | const |
Definition at line 1151 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by print(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_gamma | ( | ) | const |
Definition at line 1061 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by Undulator::apply(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_halo | ( | ) | const |
Definition at line 1163 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
|
virtual |
Reimplemented in AmrPartBunch.
Definition at line 1232 of file PartBunchBase.hpp.
References hr_m.
Referenced by print(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| Vector_t PartBunchBase< T, Dim >::get_maxExtent | ( | ) | const |
Definition at line 1099 of file PartBunchBase.hpp.
References rmax_m.
Referenced by Undulator::apply(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_meanKineticEnergy | ( | ) | const |
Definition at line 1067 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by CSRIGFWakeFunction::calculateGreenFunction(), Expressions::getEkin(), print(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_norm_emit | ( | ) | const |
Definition at line 1157 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_68Percentile | ( | ) | const |
Definition at line 1188 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_95Percentile | ( | ) | const |
Definition at line 1193 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_99_99Percentile | ( | ) | const |
Definition at line 1203 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_normalizedEps_99Percentile | ( | ) | const |
Definition at line 1198 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_origin | ( | ) | const |
Definition at line 1093 of file PartBunchBase.hpp.
References rmin_m.
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 1261 of file PartBunchBase.hpp.
References bounds(), max(), min(), and P.
Referenced by H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_plasmaParameter | ( | ) | const |
Definition at line 1083 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_pmean | ( | ) | const |
Definition at line 1135 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by Undulator::apply(), getSigmaMatrix(), print(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_pmean_Distribution | ( | ) | const |
Definition at line 1141 of file PartBunchBase.hpp.
References dist_m, and getM().
| Vector_t PartBunchBase< T, Dim >::get_prms | ( | ) | const |
Definition at line 1129 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by print(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::get_rmean | ( | ) | const |
Definition at line 1123 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by getSigmaMatrix(), print(), StatWriter::write(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::get_rmsDensity | ( | ) | const |
Definition at line 1088 of file PartBunchBase.hpp.
References rmsDensity_m.
Referenced by StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_rprms | ( | ) | const |
Definition at line 1117 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by print(), and StatWriter::write().
| Vector_t PartBunchBase< T, Dim >::get_rrms | ( | ) | const |
Definition at line 1111 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by DataSink::dumpSDDS(), MultiBunchHandler::injectBunch(), print(), 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 1049 of file PartBunchBase.hpp.
References spos_m.
Referenced by BeamStrippingPhysics::apply(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), Distribution::doRestartOpalCycl(), Monitor::initialise(), print(), MemoryProfiler::write(), MemoryWriter::write(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::get_temperature | ( | ) | const |
Definition at line 1073 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by StatWriter::write().
|
inline |
Definition at line 527 of file PartBunchBase.h.
References pbase_m.
|
virtual |
Definition at line 1724 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getBinGamma | ( | int | bin | ) |
Get gamma of one bin.
Definition at line 420 of file PartBunchBase.hpp.
| std::pair< Vector_t, double > PartBunchBase< T, Dim >::getBoundingSphere | ( | ) |
Definition at line 918 of file PartBunchBase.hpp.
References dot(), and get_bounds().
| double PartBunchBase< T, Dim >::getCharge | ( | ) | const |
get the total charge per simulation particle
Definition at line 1317 of file PartBunchBase.hpp.
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 1323 of file PartBunchBase.hpp.
References qi_m.
Referenced by GreenWakeFunction::apply(), Undulator::apply(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), Distribution::injectBeam(), and DataSink::writeImpactStatistics().
| double PartBunchBase< T, Dim >::getCouplingConstant | ( | ) | const |
Definition at line 1276 of file PartBunchBase.hpp.
References couplingConstant_m.
| double PartBunchBase< T, Dim >::getdE | ( | ) | const |
Definition at line 1700 of file PartBunchBase.hpp.
References momentsComputer_m.
Referenced by print(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| size_t PartBunchBase< T, Dim >::getDestroyNum | ( | ) | const |
Definition at line 1917 of file PartBunchBase.hpp.
References pbase_m.
| DistributionType PartBunchBase< T, Dim >::getDistType | ( | ) | const |
Definition at line 1676 of file PartBunchBase.hpp.
References dist_m.
| double PartBunchBase< T, Dim >::getdT | ( | ) | const |
Definition at line 1025 of file PartBunchBase.hpp.
References dt_m.
Referenced by BeamStrippingPhysics::apply(), ScatteringPhysics::apply(), Undulator::apply(), Distribution::emitParticles(), RBend3D::initialise(), print(), and StatWriter::write().
| double PartBunchBase< T, Dim >::getE | ( | ) | const |
Definition at line 1648 of file PartBunchBase.hpp.
References reference.
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
| double PartBunchBase< T, Dim >::getEmissionDeltaT | ( | ) |
Definition at line 1742 of file PartBunchBase.hpp.
References dist_m.
|
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 1361 of file PartBunchBase.hpp.
|
virtual |
Definition at line 1718 of file PartBunchBase.hpp.
| size_t PartBunchBase< T, Dim >::getGhostNum | ( | ) | const |
Definition at line 1922 of file PartBunchBase.hpp.
References pbase_m.
Referenced by P3MPoissonSolver::calculatePairForces().
| Vector_t PartBunchBase< T, Dim >::getGlobalMeanR | ( | ) |
Definition at line 1487 of file PartBunchBase.hpp.
References globalMeanR_m.
| Quaternion_t PartBunchBase< T, Dim >::getGlobalToLocalQuaternion | ( | ) |
Definition at line 1500 of file PartBunchBase.hpp.
References globalToLocalQuaternion_m.
| long long PartBunchBase< T, Dim >::getGlobalTrackStep | ( | ) | const |
Definition at line 1389 of file PartBunchBase.hpp.
References globalTrackStep_m.
Referenced by Distribution::doRestartOpalT(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| bool PartBunchBase< T, Dim >::getIfBeamEmitting | ( | ) |
Definition at line 91 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getInitialBeta | ( | ) | const |
Definition at line 1706 of file PartBunchBase.hpp.
References reference.
| double PartBunchBase< T, Dim >::getInitialGamma | ( | ) | const |
Definition at line 1712 of file PartBunchBase.hpp.
References reference.
Referenced by Distribution::createOpalCycl().
| Vector_t PartBunchBase< T, Dim >::getKs3DRefp | ( | ) |
| Vector_t PartBunchBase< T, Dim >::getKs3DRefr | ( | ) |
| int PartBunchBase< T, Dim >::getLastemittedBin | ( | ) |
Definition at line 322 of file PartBunchBase.hpp.
| int PartBunchBase< T, Dim >::getLastEmittedEnergyBin | ( | ) |
Definition at line 105 of file PartBunchBase.hpp.
| ParticleLayout< T, Dim > & PartBunchBase< T, Dim >::getLayout | ( | ) |
Definition at line 1937 of file PartBunchBase.hpp.
References pbase_m.
Referenced by AmrBoxLib::create(), AmrYtWriter::writeBunch(), and AmrYtWriter::writeParticles_m().
| const ParticleLayout< T, Dim > & PartBunchBase< T, Dim >::getLayout | ( | ) | const |
Definition at line 1942 of file PartBunchBase.hpp.
References pbase_m.
| size_t PartBunchBase< T, Dim >::getLoadBalance | ( | int | p | ) | const |
Definition at line 1255 of file PartBunchBase.hpp.
References globalPartPerNode_m.
Referenced by LBalWriter::write().
| std::pair< Vector_t, double > PartBunchBase< T, Dim >::getLocalBoundingSphere | ( | ) |
Definition at line 931 of file PartBunchBase.hpp.
References dot(), and getLocalBounds().
| void PartBunchBase< T, Dim >::getLocalBounds | ( | Vector_t & | rmin, |
| Vector_t & | rmax ) const |
Definition at line 897 of file PartBunchBase.hpp.
References getLocalNum(), and R.
Referenced by get_bounds(), and getLocalBoundingSphere().
| size_t PartBunchBase< T, Dim >::getLocalNum | ( | ) | const |
Definition at line 1911 of file PartBunchBase.hpp.
References pbase_m.
Referenced by ScatteringPhysics::addParticleBackToBunch(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), Undulator::apply(), boundp_destroyCycl(), boundp_destroyT(), MultiBunchHandler::calcBunchBeamParameters(), calcMeanPhi(), P3MPoissonSolver::calculatePairForces(), Vacuum::checkVacuum(), DistributionMoments::computeMeanKineticEnergy(), ScatteringPhysics::copyFromBunch(), countTotalNumPerBunch(), Distribution::createOpalCycl(), destroyT(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), CCollimator::doFinaliseCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), end(), gatherLoadBalanceStatistics(), getLocalBounds(), MultiBunchHandler::injectBunch(), maximumAmplitudes(), push_back(), MultiBunchHandler::readBunch(), resetPartBinBunch(), resetPartBinID2(), MultiBunchHandler::saveBunch(), swap(), updateNumTotal(), StatWriter::write(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| size_t PartBunchBase< T, Dim >::getLocalNumPerBunch | ( | short | n | ) | const |
Definition at line 1448 of file PartBunchBase.hpp.
References bunchLocalNum_m, and PAssert_LT.
| long long PartBunchBase< T, Dim >::getLocalTrackStep | ( | ) | const |
Definition at line 1407 of file PartBunchBase.hpp.
References localTrackStep_m.
Referenced by Distribution::doRestartOpalT(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getM | ( | ) | const |
Definition at line 1636 of file PartBunchBase.hpp.
References reference.
Referenced by ScatteringPhysics::apply(), MultiBunchHandler::calcBunchBeamParameters(), CSRIGFWakeFunction::calculateGreenFunction(), Distribution::createOpalCycl(), Distribution::createOpalT(), Distribution::doRestartOpalCycl(), get_pmean_Distribution(), H5PartWrapperForPC::readStepHeader(), Distribution::setupEmissionModelAstra(), Distribution::setupEmissionModelNone(), Distribution::setupParticleBins(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getMassPerParticle | ( | ) | const |
Definition at line 1328 of file PartBunchBase.hpp.
References massPerParticle_m.
Referenced by Distribution::emitParticles(), and Distribution::injectBeam().
| double PartBunchBase< T, Dim >::getMomentumTolerance | ( | ) | const |
Definition at line 1682 of file PartBunchBase.hpp.
References reference.
Referenced by Distribution::createOpalT().
| size_t PartBunchBase< T, Dim >::getNumberOfEmissionSteps | ( | ) |
Definition at line 116 of file PartBunchBase.hpp.
| int PartBunchBase< T, Dim >::getNumberOfEnergyBins | ( | ) |
Definition at line 122 of file PartBunchBase.hpp.
References dist_m.
Referenced by boundp_destroyT(), and destroyT().
| short PartBunchBase< T, Dim >::getNumBunch | ( | ) | const |
Definition at line 1421 of file PartBunchBase.hpp.
References numBunch_m.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), Distribution::doRestartOpalCycl(), MultiBunchHandler::MultiBunchHandler(), H5PartWrapperForPC::readStepData(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::getP | ( | ) | const |
Definition at line 1642 of file PartBunchBase.hpp.
References reference.
Referenced by Distribution::createOpalT(), and Distribution::setupParticleBins().
| OpalParticle PartBunchBase< T, Dim >::getParticle | ( | int | ii | ) |
Definition at line 977 of file PartBunchBase.hpp.
References ID, M, P, Q, and R.
Referenced by maximumAmplitudes().
| ParticleOrigin PartBunchBase< T, Dim >::getPOrigin | ( | ) | const |
Definition at line 1654 of file PartBunchBase.hpp.
References refPOrigin_m.
Referenced by Stripper::doFinaliseCheck().
| ParticleType PartBunchBase< T, Dim >::getPType | ( | ) | const |
Definition at line 1665 of file PartBunchBase.hpp.
References refPType_m.
Referenced by BeamStrippingPhysics::apply(), ScatteringPhysics::apply(), ScatteringPhysics::computeEnergyLoss(), Distribution::emitParticles(), and Distribution::injectBeam().
|
virtual |
Definition at line 815 of file PartBunchBase.hpp.
|
virtual |
Definition at line 830 of file PartBunchBase.hpp.
|
virtual |
Definition at line 820 of file PartBunchBase.hpp.
|
virtual |
Definition at line 835 of file PartBunchBase.hpp.
|
virtual |
Definition at line 825 of file PartBunchBase.hpp.
| double PartBunchBase< T, Dim >::getQ | ( | ) | const |
Access to reference data.
Definition at line 1630 of file PartBunchBase.hpp.
References reference.
Referenced by ScatteringPhysics::apply(), Distribution::createOpalCycl(), Distribution::createOpalT(), Distribution::emitParticles(), RBend3D::initialise(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Quaternion_t PartBunchBase< T, Dim >::getQKs3D | ( | ) |
| const PartData * PartBunchBase< T, Dim >::getReference | ( | ) | const |
Definition at line 1736 of file PartBunchBase.hpp.
References reference.
Referenced by Bend2D::setupPusher().
|
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 2020 of file PartBunchBase.hpp.
References Dim, get_pmean(), get_rmean(), and momentsComputer_m.
Referenced by StatWriter::write().
| int PartBunchBase< T, Dim >::getStepsPerTurn | ( | ) | const |
Definition at line 1377 of file PartBunchBase.hpp.
References stepsPerTurn_m.
| int PartBunchBase< T, Dim >::getSteptoLastInj | ( | ) | const |
Definition at line 1512 of file PartBunchBase.hpp.
References SteptoLastInj_m.
Referenced by Distribution::doRestartOpalCycl(), and H5PartWrapperForPC::writeStepHeader().
| double PartBunchBase< T, Dim >::getT | ( | ) | const |
Definition at line 1043 of file PartBunchBase.hpp.
References t_m.
Referenced by ScatteringPhysics::apply(), Undulator::apply(), MultiBunchHandler::calcBunchBeamParameters(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalT(), print(), GridLBalWriter::write(), LBalWriter::write(), MemoryProfiler::write(), MemoryWriter::write(), StatWriter::write(), DataSink::writeImpactStatistics(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| double PartBunchBase< T, Dim >::getTEmission | ( | ) |
Definition at line 260 of file PartBunchBase.hpp.
References tEmission_m.
| size_t PartBunchBase< T, Dim >::getTotalNum | ( | ) | const |
Definition at line 1906 of file PartBunchBase.hpp.
References pbase_m.
Referenced by Undulator::apply(), DistributionMoments::computeDebyeLength(), countTotalNumPerBunch(), Distribution::createOpalCycl(), destroyT(), Probe::doInitialise(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), Monitor::initialise(), MultiBunchHandler::injectBunch(), MultiBunchHandler::MultiBunchHandler(), print(), setCharge(), setMass(), StatWriter::write(), AmrYtWriter::writeBunch(), DataSink::writeImpactStatistics(), H5Writer::writePhaseSpace(), H5PartWrapperForPC::writeStep(), and H5PartWrapperForPT::writeStep().
| size_t PartBunchBase< T, Dim >::getTotalNumPerBunch | ( | short | n | ) | const |
Definition at line 1434 of file PartBunchBase.hpp.
References bunchTotalNum_m, and PAssert_LT.
| bool PartBunchBase< T, Dim >::getUpdateFlag | ( | UpdateFlags_t | f | ) | const |
Definition at line 1947 of file PartBunchBase.hpp.
References pbase_m.
|
virtual |
Definition at line 841 of file PartBunchBase.hpp.
References R.
|
virtual |
Definition at line 859 of file PartBunchBase.hpp.
|
virtual |
Definition at line 847 of file PartBunchBase.hpp.
References R.
|
virtual |
Definition at line 865 of file PartBunchBase.hpp.
|
virtual |
Definition at line 853 of file PartBunchBase.hpp.
References R.
| void PartBunchBase< T, Dim >::ghostDestroy | ( | size_t | M, |
| size_t | I ) |
Definition at line 2010 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::globalCreate | ( | size_t | np | ) |
Definition at line 1995 of file PartBunchBase.hpp.
References pbase_m.
| bool PartBunchBase< T, Dim >::hasBinning | ( | ) | const |
Definition at line 248 of file PartBunchBase.hpp.
References pbin_m.
Referenced by H5PartWrapperForPC::writeStepData().
| bool PartBunchBase< T, Dim >::hasFieldSolver | ( | ) |
Definition at line 1351 of file PartBunchBase.hpp.
References fs_m.
| void PartBunchBase< T, Dim >::incrementT | ( | ) |
Definition at line 1037 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::incTrackSteps | ( | ) |
Definition at line 1401 of file PartBunchBase.hpp.
References globalTrackStep_m, and localTrackStep_m.
|
pure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by setSolver().
| bool PartBunchBase< T, Dim >::isGridFixed | ( | ) | const |
Definition at line 242 of file PartBunchBase.hpp.
References fixed_grid.
| void PartBunchBase< T, Dim >::iterateEmittedBin | ( | int | binNumber | ) |
Definition at line 1748 of file PartBunchBase.hpp.
References binemitted_m.
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 986 of file PartBunchBase.hpp.
References getLocalNum(), getParticle(), OpalParticle::getPx(), OpalParticle::getPy(), OpalParticle::getPz(), OpalParticle::getX(), OpalParticle::getY(), and OpalParticle::getZ().
| void PartBunchBase< T, Dim >::performDestroy | ( | bool | updateLocalNum = false | ) |
Definition at line 2005 of file PartBunchBase.hpp.
References pbase_m.
Referenced by ScatteringPhysics::copyFromBunch(), and destroyT().
| Inform & PartBunchBase< T, Dim >::print | ( | Inform & | os | ) |
Definition at line 1759 of file PartBunchBase.hpp.
References dh_m, endl(), Inform::flags(), get_emit(), get_hr(), get_meanKineticEnergy(), get_pmean(), get_prms(), get_rmean(), get_rprms(), get_rrms(), get_sPos(), Util::getChargeString(), getdE(), getdT(), Util::getEnergyString(), Util::getLengthString(), getT(), Util::getTimeString(), getTotalNum(), level1(), Q, qi_m, rmax_m, rmin_m, and sum().
Referenced by Undulator::apply(), operator<<(), and PartBunch::print().
| void PartBunchBase< T, Dim >::push_back | ( | OpalParticle const & | p | ) |
Definition at line 944 of file PartBunchBase.hpp.
References create(), endl(), getLocalNum(), OpalParticle::getP(), OpalParticle::getR(), P, R, and update().
| void PartBunchBase< T, Dim >::Rebin | ( | ) |
Definition at line 128 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::rebin | ( | ) |
Definition at line 313 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::resetID | ( | ) |
Definition at line 1962 of file PartBunchBase.hpp.
References pbase_m.
|
virtual |
Reimplemented in PartBunch.
Definition at line 1821 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::resetM | ( | double | m | ) |
Definition at line 1694 of file PartBunchBase.hpp.
References reference.
Referenced by Stripper::doFinaliseCheck().
| bool PartBunchBase< T, Dim >::resetPartBinBunch | ( | ) |
Definition at line 1608 of file PartBunchBase.hpp.
References Bin, calcGammas_cycl(), getLocalNum(), numBunch_m, and pbin_m.
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 1557 of file PartBunchBase.hpp.
References Bin, calcGammas_cycl(), endl(), ERRORMSG, getLocalNum(), INFOMSG, P, pbin_m, and reduce().
Referenced by MultiBunchHandler::updateParticleBins().
| void PartBunchBase< T, Dim >::resetQ | ( | double | q | ) |
Set reference data.
Definition at line 1688 of file PartBunchBase.hpp.
References reference.
Referenced by Stripper::doFinaliseCheck().
|
inlinevirtual |
Reimplemented in PartBunch.
Definition at line 506 of file PartBunchBase.h.
|
virtual |
Definition at line 1815 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in AmrPartBunch.
Definition at line 1238 of file PartBunchBase.hpp.
References dh_m.
Referenced by AmrPartBunch::set_meshEnlargement().
| void PartBunchBase< T, Dim >::set_sPos | ( | double | s | ) |
Definition at line 1055 of file PartBunchBase.hpp.
References spos_m.
Referenced by H5PartWrapperForPC::readStepHeader(), and H5PartWrapperForPT::readStepHeader().
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 1854 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 1848 of file PartBunchBase.hpp.
|
virtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 1860 of file PartBunchBase.hpp.
|
inline |
Definition at line 531 of file PartBunchBase.h.
References pbase_m.
| void PartBunchBase< T, Dim >::setBeamFrequency | ( | double | v | ) |
Definition at line 2015 of file PartBunchBase.hpp.
References Physics::c, and periodLength_m.
|
virtual |
|
virtual |
Set the charge of one bin to the value of q and all other to zero.
Reimplemented in AmrPartBunch.
Definition at line 426 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setCharge | ( | double | q | ) |
Definition at line 1288 of file PartBunchBase.hpp.
References endl(), getTotalNum(), Q, qi_m, and WARNMSG.
| void PartBunchBase< T, Dim >::setChargeZeroPart | ( | double | q | ) |
Definition at line 1298 of file PartBunchBase.hpp.
References qi_m.
| void PartBunchBase< T, Dim >::setCouplingConstant | ( | double | c | ) |
Definition at line 1282 of file PartBunchBase.hpp.
References c, and couplingConstant_m.
| void PartBunchBase< T, Dim >::setDistribution | ( | Distribution * | d, |
| size_t | numberOfParticles, | ||
| double | current, | ||
| const Beamline & | bl ) |
Definition at line 232 of file PartBunchBase.hpp.
References dist_m.
| void PartBunchBase< T, Dim >::setDistribution | ( | Distribution * | d, |
| std::vector< Distribution * > | addedDistributions, | ||
| size_t & | np ) |
Definition at line 218 of file PartBunchBase.hpp.
References dist_m.
| void PartBunchBase< T, Dim >::setdT | ( | double | dt | ) |
Definition at line 1019 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setEnergyBins | ( | int | numberOfEnergyBins | ) |
Definition at line 145 of file PartBunchBase.hpp.
Referenced by Distribution::initializeBeam(), and setPBins().
| void PartBunchBase< T, Dim >::setGlobalMeanR | ( | Vector_t | globalMeanR | ) |
Definition at line 1481 of file PartBunchBase.hpp.
References globalMeanR_m.
| void PartBunchBase< T, Dim >::setGlobalToLocalQuaternion | ( | Quaternion_t | globalToLocalQuaternion | ) |
Definition at line 1493 of file PartBunchBase.hpp.
References globalToLocalQuaternion_m.
| void PartBunchBase< T, Dim >::setGlobalTrackStep | ( | long long | n | ) |
step in multiple TRACK commands
Definition at line 1383 of file PartBunchBase.hpp.
References globalTrackStep_m.
Referenced by H5PartWrapperForPC::readStepHeader(), and H5PartWrapperForPT::readStepHeader().
| 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 331 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setLocalNum | ( | size_t | n | ) |
Definition at line 1932 of file PartBunchBase.hpp.
References pbase_m.
| void PartBunchBase< T, Dim >::setLocalNumPerBunch | ( | size_t | numpart, |
| short | n ) |
Definition at line 1441 of file PartBunchBase.hpp.
References bunchLocalNum_m, and PAssert_LT.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), MultiBunchHandler::injectBunch(), and MultiBunchHandler::readBunch().
| void PartBunchBase< T, Dim >::setLocalTrackStep | ( | long long | n | ) |
step in a TRACK command
Definition at line 1395 of file PartBunchBase.hpp.
References localTrackStep_m.
Referenced by H5PartWrapperForPC::readStepHeader(), and H5PartWrapperForPT::readStepHeader().
| void PartBunchBase< T, Dim >::setMass | ( | double | mass | ) |
Definition at line 1304 of file PartBunchBase.hpp.
References getTotalNum(), M, and massPerParticle_m.
| void PartBunchBase< T, Dim >::setMassZeroPart | ( | double | mass | ) |
Definition at line 1311 of file PartBunchBase.hpp.
References massPerParticle_m.
| void PartBunchBase< T, Dim >::setNumBunch | ( | short | n | ) |
Definition at line 1413 of file PartBunchBase.hpp.
References bunchLocalNum_m, bunchTotalNum_m, and numBunch_m.
Referenced by Distribution::initializeBeam(), MultiBunchHandler::injectBunch(), and H5PartWrapperForPC::readStepHeader().
| void PartBunchBase< T, Dim >::setParticle | ( | FVector< double, 6 > | z, |
| int | ii ) |
Definition at line 959 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::setParticle | ( | OpalParticle const & | p, |
| int | ii ) |
Definition at line 970 of file PartBunchBase.hpp.
References OpalParticle::getP(), OpalParticle::getR(), P, and R.
| void PartBunchBase< T, Dim >::setPBins | ( | PartBins * | pbin | ) |
Definition at line 284 of file PartBunchBase.hpp.
References endl(), gmsg, pbin_m, and setEnergyBins().
Referenced by Distribution::createOpalCycl(), Distribution::doRestartOpalCycl(), and MultiBunchHandler::MultiBunchHandler().
| void PartBunchBase< T, Dim >::setPBins | ( | PartBinsCyc * | pbin | ) |
Definition at line 292 of file PartBunchBase.hpp.
References pbin_m.
| void PartBunchBase< T, Dim >::setPOrigin | ( | ParticleOrigin | origin | ) |
Definition at line 1659 of file PartBunchBase.hpp.
References refPOrigin_m.
Referenced by Stripper::doCheck().
| void PartBunchBase< T, Dim >::setPType | ( | const std::string & | type | ) |
Definition at line 1670 of file PartBunchBase.hpp.
References ParticleProperties::getParticleType(), and refPType_m.
| 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 1333 of file PartBunchBase.hpp.
References fs_m, OpalData::getInstance(), and initialize().
Referenced by AmrPartBunch::setSolver().
| void PartBunchBase< T, Dim >::setStepsPerTurn | ( | int | n | ) |
Definition at line 1371 of file PartBunchBase.hpp.
References stepsPerTurn_m.
| void PartBunchBase< T, Dim >::setSteptoLastInj | ( | int | n | ) |
Definition at line 1506 of file PartBunchBase.hpp.
References SteptoLastInj_m.
Referenced by H5PartWrapperForPC::readStepHeader().
| void PartBunchBase< T, Dim >::setT | ( | double | t | ) |
Definition at line 1031 of file PartBunchBase.hpp.
References t_m.
Referenced by Undulator::apply(), H5PartWrapperForPC::readStepHeader(), and H5PartWrapperForPT::readStepHeader().
| void PartBunchBase< T, Dim >::setTEmission | ( | double | t | ) |
Definition at line 254 of file PartBunchBase.hpp.
References tEmission_m.
Referenced by Distribution::initializeBeam().
| void PartBunchBase< T, Dim >::setTotalNum | ( | size_t | n | ) |
| void PartBunchBase< T, Dim >::setTotalNumPerBunch | ( | size_t | numpart, |
| short | n ) |
Definition at line 1427 of file PartBunchBase.hpp.
References bunchTotalNum_m, and PAssert_LT.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), MultiBunchHandler::injectBunch(), and MultiBunchHandler::readBunch().
|
private |
Definition at line 1871 of file PartBunchBase.hpp.
References AbstractParticle< T, Dim >::addAttribute(), Bf, Bin, boundpBoundsTimer_m, boundpTimer_m, boundpUpdateTimer_m, bunchNum, cavityGapCrossed, distrCreate_m, distrReload_m, dt, Ef, Eftmp, IpplInfo::getNodes(), IpplTimings::getTimer(), globalPartPerNode_m, histoTimer_m, M, P, Phi, pmsg_m, POrigin, PType, Q, selfFieldTimer_m, statParamTimer_m, and TriID.
| void PartBunchBase< T, Dim >::setUpdateFlag | ( | UpdateFlags_t | f, |
| bool | val ) |
Definition at line 1952 of file PartBunchBase.hpp.
References pbase_m.
|
virtual |
Definition at line 871 of file PartBunchBase.hpp.
| bool PartBunchBase< T, Dim >::singleInitNode | ( | ) | const |
Definition at line 1957 of file PartBunchBase.hpp.
References pbase_m.
|
virtual |
Reimplemented in PartBunch.
Definition at line 1826 of file PartBunchBase.hpp.
References Bf, Bin, bunchNum, cavityGapCrossed, dt, Ef, Eftmp, getLocalNum(), M, P, Phi, POrigin, PType, Q, R, and TriID.
Referenced by PartBunch::swap().
| void PartBunchBase< T, Dim >::switchOffUnitlessPositions | ( | bool | use_dt_per_particle = false | ) |
Definition at line 188 of file PartBunchBase.hpp.
| void PartBunchBase< T, Dim >::switchToUnitlessPositions | ( | bool | use_dt_per_particle = false | ) |
Definition at line 164 of file PartBunchBase.hpp.
References unit_state_, and unitless.
| void PartBunchBase< T, Dim >::update | ( | ) |
Definition at line 1967 of file PartBunchBase.hpp.
References pbase_m, IpplException::what(), and IpplException::where().
Referenced by boundp_destroyCycl(), and push_back().
| void PartBunchBase< T, Dim >::update | ( | const ParticleAttrib< char > & | canSwap | ) |
Definition at line 1976 of file PartBunchBase.hpp.
References pbase_m, IpplException::what(), and IpplException::where().
|
privatepure virtual |
Implemented in AmrPartBunch, and PartBunch.
Referenced by boundp_destroyCycl(), and boundp_destroyT().
|
privatevirtual |
Reimplemented in AmrPartBunch, and PartBunch.
Definition at line 1866 of file PartBunchBase.hpp.
Referenced by boundp_destroyCycl().
| void PartBunchBase< T, Dim >::updateNumTotal | ( | ) |
Definition at line 305 of file PartBunchBase.hpp.
References getLocalNum().
| bool PartBunchBase< T, Dim >::weHaveBins | ( | ) | const |
Definition at line 275 of file PartBunchBase.hpp.
References pbin_m.
Referenced by boundp_destroyCycl(), and Stripper::doCheck().
| bool PartBunchBase< T, Dim >::weHaveEnergyBins | ( | ) |
Definition at line 154 of file PartBunchBase.hpp.
References dist_m.
Referenced by boundp_destroyT(), and destroyT().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Bf |
Definition at line 583 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), Distribution::injectBeam(), setup(), swap(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< int > PartBunchBase< T, Dim >::Bin |
Definition at line 584 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), boundp_destroyCycl(), boundp_destroyT(), calcMeanPhi(), Vacuum::checkVacuum(), ScatteringPhysics::copyFromBunch(), destroyT(), CCollimator::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), Distribution::injectBeam(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), resetPartBinBunch(), resetPartBinID2(), setBinCharge(), setup(), swap(), AmrYtWriter::writeParticles_m(), and H5PartWrapperForPC::writeStepData().
|
protected |
Definition at line 694 of file PartBunchBase.h.
Referenced by boundp_destroyT(), destroyT(), and iterateEmittedBin().
|
protected |
holds the gamma of the bin
Definition at line 689 of file PartBunchBase.h.
|
protected |
Definition at line 622 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), and setup().
|
protected |
Definition at line 621 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), and setup().
|
protected |
Definition at line 623 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), and setup().
|
protected |
Definition at line 710 of file PartBunchBase.h.
Referenced by countTotalNumPerBunch(), getLocalNumPerBunch(), setLocalNumPerBunch(), and setNumBunch().
| ParticleAttrib< short > PartBunchBase< T, Dim >::bunchNum |
Definition at line 590 of file PartBunchBase.h.
Referenced by MultiBunchHandler::calcBunchBeamParameters(), countTotalNumPerBunch(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), setup(), swap(), and H5PartWrapperForPC::writeStepData().
|
protected |
number of particles per bunch
Definition at line 709 of file PartBunchBase.h.
Referenced by countTotalNumPerBunch(), getTotalNumPerBunch(), setNumBunch(), and setTotalNumPerBunch().
| ParticleAttrib< short > PartBunchBase< T, Dim >::cavityGapCrossed |
Definition at line 589 of file PartBunchBase.h.
|
protected |
holds the centroid of the beam
Definition at line 641 of file PartBunchBase.h.
|
protected |
Definition at line 674 of file PartBunchBase.h.
Referenced by getCouplingConstant(), PartBunchBase(), and setCouplingConstant().
|
protected |
Definition at line 727 of file PartBunchBase.h.
| double PartBunchBase< T, Dim >::deltaTau_m |
Definition at line 608 of file PartBunchBase.h.
|
protected |
Mesh enlargement.
Definition at line 683 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), print(), and set_meshEnlargement().
|
static |
Definition at line 59 of file PartBunchBase.h.
Referenced by MultiBunchHandler::calcBunchBeamParameters().
|
protected |
Definition at line 723 of file PartBunchBase.h.
Referenced by boundp_destroyT(), destroyT(), doEmission(), emitParticles(), get_pmean_Distribution(), getDistType(), getEmissionDeltaT(), getNumberOfEnergyBins(), setDistribution(), setDistribution(), and weHaveEnergyBins().
|
protected |
counter to store the distribution dump
Definition at line 680 of file PartBunchBase.h.
Referenced by PartBunchBase().
| IpplTimings::TimerRef PartBunchBase< T, Dim >::distrCreate_m |
Definition at line 605 of file PartBunchBase.h.
Referenced by Distribution::createOpalT(), and setup().
| IpplTimings::TimerRef PartBunchBase< T, Dim >::distrReload_m |
timer for IC, can not be in Distribution.h
Definition at line 604 of file PartBunchBase.h.
Referenced by Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), and setup().
| ParticleAttrib< double > PartBunchBase< T, Dim >::dt |
Definition at line 585 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Undulator::apply(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), setdT(), setup(), swap(), and AmrYtWriter::writeParticles_m().
|
protected |
holds the timestep in seconds
Definition at line 644 of file PartBunchBase.h.
Referenced by getdT(), incrementT(), PartBunchBase(), and setdT().
| double PartBunchBase< T, Dim >::dtScInit_m |
Definition at line 608 of file PartBunchBase.h.
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Ef |
Definition at line 580 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), ScatteringPhysics::copyFromBunch(), Distribution::emitParticles(), Distribution::injectBeam(), ApplyField< T >::operator()(), setup(), swap(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::Eftmp |
Definition at line 581 of file PartBunchBase.h.
|
private |
Definition at line 616 of file PartBunchBase.h.
Referenced by PartBunchBase().
|
private |
if the grid does not have to adapt
Definition at line 618 of file PartBunchBase.h.
Referenced by isGridFixed(), and PartBunchBase().
|
protected |
stores the used field solver
Definition at line 672 of file PartBunchBase.h.
Referenced by getFieldSolverType(), hasFieldSolver(), PartBunchBase(), and setSolver().
|
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 655 of file PartBunchBase.h.
Referenced by getGlobalMeanR(), PartBunchBase(), and setGlobalMeanR().
|
protected |
Definition at line 721 of file PartBunchBase.h.
Referenced by gatherLoadBalanceStatistics(), getLoadBalance(), and setup().
|
protected |
Definition at line 656 of file PartBunchBase.h.
Referenced by getGlobalToLocalQuaternion(), PartBunchBase(), and setGlobalToLocalQuaternion().
|
protected |
if multiple TRACK commands
Definition at line 703 of file PartBunchBase.h.
Referenced by getGlobalTrackStep(), incTrackSteps(), and setGlobalTrackStep().
|
protected |
Definition at line 626 of file PartBunchBase.h.
Referenced by setup().
|
protected |
meshspacing of cartesian mesh
Definition at line 667 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), get_hr(), and PartBunchBase().
| ParticleIndex_t& PartBunchBase< T, Dim >::ID |
Definition at line 573 of file PartBunchBase.h.
Referenced by ScatteringPhysics::copyFromBunch(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), getParticle(), Distribution::injectBeam(), PartBunchBase(), H5PartWrapperForPT::readStepData(), BeamStrippingPhysics::transformToSecondary(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
step in a TRACK command
Definition at line 700 of file PartBunchBase.h.
Referenced by getLocalTrackStep(), incTrackSteps(), and setLocalTrackStep().
| ParticleAttrib< double > PartBunchBase< T, Dim >::M |
Definition at line 578 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), ScatteringPhysics::copyFromBunch(), create(), RK4< FieldFunction, Arguments >::derivate_m(), destroy(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), getParticle(), ghostDestroy(), Distribution::injectBeam(), LF2< FieldFunction, Arguments >::kick_m(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), MultiBunchHandler::saveBunch(), setMass(), setup(), swap(), BeamStrippingPhysics::transformToSecondary(), AmrYtWriter::writeParticles_m(), and H5PartWrapperForPC::writeStepData().
|
protected |
Definition at line 677 of file PartBunchBase.h.
Referenced by getMassPerParticle(), PartBunchBase(), setMass(), and setMassZeroPart().
|
protected |
Definition at line 724 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), boundp_destroyT(), calcBeamParameters(), calcDebyeLength(), calcEMean(), get_68Percentile(), get_95Percentile(), get_99_99Percentile(), get_99Percentile(), get_centroid(), get_DDx(), get_DDy(), get_debyeLength(), get_Dx(), get_Dy(), get_emit(), get_gamma(), get_halo(), get_meanKineticEnergy(), get_norm_emit(), get_normalizedEps_68Percentile(), get_normalizedEps_95Percentile(), get_normalizedEps_99_99Percentile(), get_normalizedEps_99Percentile(), get_plasmaParameter(), get_pmean(), get_prms(), get_rmean(), get_rprms(), get_rrms(), get_temperature(), getdE(), and getSigmaMatrix().
|
protected |
meshsize of cartesian mesh
Definition at line 669 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), boundp_destroyT(), and PartBunchBase().
|
protected |
current bunch number
Definition at line 706 of file PartBunchBase.h.
Referenced by countTotalNumPerBunch(), getNumBunch(), resetPartBinBunch(), and setNumBunch().
| ParticleAttrib< Vector_t > PartBunchBase< T, Dim >::P |
Definition at line 576 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), Undulator::apply(), MultiBunchHandler::calcBunchBeamParameters(), calcMeanPhi(), PluginElement::changeWidth(), ScatteringPhysics::copyFromBunch(), 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(), get_PBounds(), getParticle(), Distribution::injectBeam(), LF2< FieldFunction, Arguments >::kick_m(), push_back(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), resetPartBinID2(), MultiBunchHandler::saveBunch(), setParticle(), setParticle(), setup(), swap(), StatWriter::write(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 729 of file PartBunchBase.h.
Referenced by create(), createWithID(), destroy(), getBConds(), getDestroyNum(), getGhostNum(), getLayout(), getLayout(), getLocalNum(), getTotalNum(), getUpdateFlag(), ghostDestroy(), globalCreate(), PartBunchBase< T, Dim >::ConstIterator::PartBunchBase< T, Dim >, performDestroy(), resetID(), setBConds(), setLocalNum(), setTotalNum(), setUpdateFlag(), singleInitNode(), update(), and update().
| PartBins* PartBunchBase< T, Dim >::pbin_m |
Definition at line 601 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), calcMeanPhi(), hasBinning(), MultiBunchHandler::MultiBunchHandler(), PartBunchBase(), resetPartBinBunch(), resetPartBinID2(), setPBins(), setPBins(), and weHaveBins().
|
protected |
Definition at line 728 of file PartBunchBase.h.
Referenced by setBeamFrequency().
| ParticleAttrib< double > PartBunchBase< T, Dim >::Phi |
Definition at line 579 of file PartBunchBase.h.
|
private |
Definition at line 615 of file PartBunchBase.h.
Referenced by PartBunchBase(), and setup().
| ParticleAttrib< ParticleOrigin > PartBunchBase< T, Dim >::POrigin |
Definition at line 587 of file PartBunchBase.h.
Referenced by Stripper::doCheck(), Distribution::emitParticles(), Distribution::injectBeam(), MultiBunchHandler::readBunch(), MultiBunchHandler::saveBunch(), setup(), swap(), BeamStrippingPhysics::transformToSecondary(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< ParticleType > PartBunchBase< T, Dim >::PType |
Definition at line 586 of file PartBunchBase.h.
Referenced by BeamStrippingPhysics::doPhysics(), Distribution::emitParticles(), Distribution::injectBeam(), setup(), swap(), BeamStrippingPhysics::transformToSecondary(), and H5PartWrapperForPT::writeStepData().
| ParticleAttrib< double > PartBunchBase< T, Dim >::Q |
Definition at line 577 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Undulator::apply(), ScatteringPhysics::copyFromBunch(), RK4< FieldFunction, Arguments >::derivate_m(), CCollimator::doCheck(), OutputPlane::doCheck(), Probe::doCheck(), Septum::doCheck(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::emitParticles(), getCharge(), getParticle(), Distribution::injectBeam(), LF2< FieldFunction, Arguments >::kick_m(), ApplyField< T >::operator()(), print(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), MultiBunchHandler::saveBunch(), setBinCharge(), setCharge(), setup(), swap(), BeamStrippingPhysics::transformToSecondary(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 676 of file PartBunchBase.h.
Referenced by getChargePerParticle(), PartBunchBase(), print(), setBinCharge(), setCharge(), and setChargeZeroPart().
| ParticlePos_t& PartBunchBase< T, Dim >::R |
Definition at line 572 of file PartBunchBase.h.
Referenced by ScatteringPhysics::addParticleBackToBunch(), Stepper< FieldFunction, Arguments >::advance(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), GreenWakeFunction::apply(), Undulator::apply(), boundp_destroyCycl(), boundp_destroyT(), MultiBunchHandler::calcBunchBeamParameters(), P3MPoissonSolver::calculatePairForces(), Vacuum::checkVacuum(), ScatteringPhysics::copyFromBunch(), 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(), getLocalBounds(), getParticle(), getX(), getY(), getZ(), Distribution::injectBeam(), LF2< FieldFunction, Arguments >::kick_m(), ApplyField< T >::operator()(), PartBunchBase(), push_back(), MultiBunchHandler::readBunch(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), MultiBunchHandler::saveBunch(), setParticle(), setParticle(), swap(), StatWriter::write(), AmrYtWriter::writeParticles_m(), H5PartWrapperForPC::writeStepData(), and H5PartWrapperForPT::writeStepData().
|
protected |
Definition at line 630 of file PartBunchBase.h.
Referenced by getE(), getInitialBeta(), getInitialGamma(), getM(), getMomentumTolerance(), getP(), getQ(), getReference(), PartBunchBase(), resetM(), and resetQ().
| Vector_t PartBunchBase< T, Dim >::RefPartP_m |
Definition at line 593 of file PartBunchBase.h.
Referenced by Undulator::apply(), H5PartWrapperForPT::readStepHeader(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t PartBunchBase< T, Dim >::RefPartR_m |
Definition at line 592 of file PartBunchBase.h.
Referenced by Undulator::apply(), H5PartWrapperForPT::readStepHeader(), StatWriter::write(), H5PartWrapperForPC::writeStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| ParticleOrigin PartBunchBase< T, Dim >::refPOrigin_m |
Definition at line 597 of file PartBunchBase.h.
Referenced by getPOrigin(), and setPOrigin().
| ParticleType PartBunchBase< T, Dim >::refPType_m |
Definition at line 598 of file PartBunchBase.h.
Referenced by getPType(), and setPType().
|
protected |
maximal extend of particles
Definition at line 659 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), calcBeamParameters(), get_maxExtent(), PartBunchBase(), and print().
|
protected |
minimal extend of particles
Definition at line 661 of file PartBunchBase.h.
Referenced by boundp_destroyCycl(), calcBeamParameters(), get_origin(), PartBunchBase(), and print().
|
protected |
Definition at line 664 of file PartBunchBase.h.
Referenced by calcDebyeLength(), get_rmsDensity(), and PartBunchBase().
|
protected |
timer for selfField calculation
Definition at line 628 of file PartBunchBase.h.
Referenced by setup().
|
protected |
the position along design trajectory
Definition at line 648 of file PartBunchBase.h.
Referenced by get_sPos(), PartBunchBase(), and set_sPos().
|
protected |
Definition at line 638 of file PartBunchBase.h.
Referenced by PartBunchBase().
|
protected |
Definition at line 624 of file PartBunchBase.h.
Referenced by calcBeamParameters(), and setup().
|
protected |
steps per turn for OPAL-cycl
Definition at line 697 of file PartBunchBase.h.
Referenced by getStepsPerTurn(), and setStepsPerTurn().
|
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 715 of file PartBunchBase.h.
Referenced by getSteptoLastInj(), and setSteptoLastInj().
|
protected |
holds the actual time of the integration
Definition at line 646 of file PartBunchBase.h.
Referenced by getT(), incrementT(), PartBunchBase(), and setT().
|
protected |
relative enlargement of the mesh
if larger than 0, emitt particles for tEmission_m [s]
Definition at line 686 of file PartBunchBase.h.
Referenced by getTEmission(), and setTEmission().
| CoordinateSystemTrafo PartBunchBase< T, Dim >::toLabTrafo_m |
Definition at line 595 of file PartBunchBase.h.
Referenced by Undulator::apply(), H5PartWrapperForPT::readStepHeader(), and H5PartWrapperForPT::writeStepHeader().
| ParticleAttrib< int > PartBunchBase< T, Dim >::TriID |
Definition at line 588 of file PartBunchBase.h.
Referenced by Distribution::emitParticles(), Distribution::injectBeam(), setup(), and swap().
|
protected |
Definition at line 637 of file PartBunchBase.h.
Referenced by PartBunchBase(), and switchToUnitlessPositions().