|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
#include <.PartBunch.h>
Classes | |
| class | ConstIterator |
Public Types | |
| enum | { Dim = Dimension } |
| enum | UnitState_t { units = 0 , unitless = 1 } |
| typedef ippl::BConds< Field< T, Dim >, Dim > | bc_type |
| typedef IpplParticleBase< Layout_t > | pbase_t |
| typedef std::pair< Vector_t< double, 3 >, Vector_t< double, 3 > > | VectorPair_t |
| using | ParticleContainer_t = ParticleContainer<T, Dim> |
| using | FieldContainer_t = FieldContainer<T, Dim> |
| using | FieldSolver_t = FieldSolver<T, Dim> |
| using | LoadBalancer_t = LoadBalancer<T, Dim> |
| using | Base = ippl::ParticleBase<ippl::ParticleSpatialLayout<T, Dim>> |
| using | BinningSelector_t = typename ParticleBinning::CoordinateSelector<ParticleContainer_t> |
| using | AdaptBins_t = typename ParticleBinning::AdaptBins<ParticleContainer_t, BinningSelector_t> |
| using | binIndex_t = typename ParticleContainer_t::bin_index_type |
Public Member Functions | |
| PartBunch (PLayout &pl, Vector_t< double, Dim > hr, Vector_t< double, Dim > rmin, Vector_t< double, Dim > rmax, std::array< bool, Dim > decomp, double Qtot) | |
| PartBunch & | operator= (const PartBunch &)=delete |
| ~PartBunch () | |
| void | initialize (FieldLayout_t< Dim > &fl, Mesh_t< Dim > &mesh) |
| double | getCouplingConstant () const |
| void | setCouplingConstant (double c) |
| void | calcBeamParameters () |
| void | calcBeamParametersInitial () |
| 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 |
| double | getdE () const |
| double | getGamma (int i) const |
| double | getBeta (int i) const |
| void | actT () |
| const PartData * | getReference () const |
| double | getEmissionDeltaT () |
| void | do_binaryRepart () |
| void | updateDomainLength (Vector_t< int, 3 > &grid) |
| void | updateFields (const Vector_t< T, Dim > &, const Vector_t< T, Dim > &origin) |
| void | initializeORB (FieldLayout_t< Dim > &fl, Mesh_t< Dim > &mesh) |
| void | repartition (FieldLayout_t< Dim > &fl, Mesh_t< Dim > &mesh) |
| bool | balance (unsigned int totalP) |
| void | gatherLoadBalanceStatistics () |
| size_t | getLoadBalance (int p) const |
| void | resizeMesh () |
| const Mesh_t< Dim > & | getMesh () const |
| FieldLayout_t< Dim > & | getFieldLayout () |
| void | updateLayout (FieldLayout_t< Dim > &fl, Mesh_t< Dim > &mesh) |
| bool | isGridFixed () const |
| void | boundp () |
| size_t | boundp_destroyT () |
| size_t | destroyT () |
| void | set_meshEnlargement (double dh) |
| void | setBCAllOpen () |
| void | setBCForDCBeam () |
| void | setupBCs () |
| void | setBCAllPeriodic () |
| void | runTests () |
| void | resetInterpolationCache (bool clearCache=false) |
| void | swap (unsigned int i, unsigned int j) |
| double | getRho (int x, int y, int z) |
| void | gatherStatistics (unsigned int totalP) |
| void | switchToUnitlessPositions (bool use_dt_per_particle=false) |
| void | switchOffUnitlessPositions (bool use_dt_per_particle=false) |
| size_t | calcNumPartsOutside (Vector_t< T, Dim > 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) |
| VectorPair_t | getEExtrema () |
| void | computeSelfFields () |
| void | computeSelfFields (int b) |
| bool | hasFieldSolver () |
| bool | getFieldSolverType () const |
| Return the fieldsolver type if we have a fieldsolver. | |
| Inform & | print (Inform &os) |
| void | dumpData (int iteration) |
| void | gatherCIC () |
| void | scatterCIC (unsigned int totalP, int iteration) |
| bool | getIfBeamEmitting () |
| int | getLastEmittedEnergyBin () |
| size_t | getNumberOfEmissionSteps () |
| int | getNumberOfEnergyBins () |
| void | Rebin () |
| void | setEnergyBins (int numberOfEnergyBins) |
| bool | weHaveEnergyBins () |
| void | setTEmission (double t) |
| double | getTEmission () |
| bool | weHaveBins () const |
| void | setPBins (PartBins *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. | |
| double | getBinGamma (int bin) |
| Get gamma of one bin. | |
| bool | hasBinning () const |
| void | setBinCharge (int bin, double q) |
| Set the charge of one bin to the value of q and all other to zero. | |
| void | setBinCharge (int bin) |
| Set the charge of all other the ones in bin to zero. | |
| double | calcMeanPhi () |
| calculate average angle of longitudinal direction of bins | |
| bool | resetPartBinID2 (const double eta) |
| bool | resetPartBinBunch () |
| double | getPx (int i) |
| double | getPy (int i) |
| double | getPz (int i) |
| double | getPx0 (int i) |
| double | getPy0 (int i) |
| double | getX (int i) |
| double | getY (int i) |
| double | getZ (int i) |
| double | getX0 (int i) |
| double | getY0 (int i) |
| void | setZ (int i, double zcoo) |
| void | get_bounds (Vector_t< T, Dim > &rmin, Vector_t< T, Dim > &rmax) const |
| void | getLocalBounds (Vector_t< T, Dim > &rmin, Vector_t< T, Dim > &rmax) const |
| std::pair< Vector_t< T, Dim >, double > | getBoundingSphere () |
| std::pair< Vector_t< T, Dim >, double > | getLocalBoundingSphere () |
| void | get_PBounds (Vector_t< T, Dim > &min, Vector_t< T, Dim > &max) const |
| void | setdT (double dt) |
| double | getdT () const |
| void | setT (double t) |
| void | incrementT () |
| double | getT () const |
| void | set_sPos (double s) |
| double | get_gamma () const |
| double | get_meanKineticEnergy () |
| Vector_t< T, Dim > | get_origin () const |
| Vector_t< T, Dim > | get_maxExtent () const |
| Vector_t< T, Dim > | get_centroid () const |
| Vector_t< T, Dim > | get_rrms () const |
| Vector_t< T, Dim > | get_rprms () const |
| Vector_t< T, Dim > | get_rmean () const |
| Vector_t< T, Dim > | get_prms () const |
| Vector_t< T, Dim > | get_pmean () const |
| Vector_t< T, Dim > | get_pmean_Distribution () const |
| Vector_t< T, Dim > | get_emit () const |
| Vector_t< T, Dim > | get_norm_emit () const |
| Vector_t< T, Dim > | get_halo () const |
| Vector_t< T, Dim > | get_68Percentile () const |
| Vector_t< T, Dim > | get_95Percentile () const |
| Vector_t< T, Dim > | get_99Percentile () const |
| Vector_t< T, Dim > | get_99_99Percentile () const |
| Vector_t< T, Dim > | get_normalizedEps_68Percentile () const |
| Vector_t< T, Dim > | get_normalizedEps_95Percentile () const |
| Vector_t< T, Dim > | get_normalizedEps_99Percentile () const |
| Vector_t< T, Dim > | get_normalizedEps_99_99Percentile () const |
| Vector_t< T, Dim > | get_hr () const |
| double | get_Dx () const |
| double | get_Dy () const |
| double | get_DDx () const |
| double | get_DDy () const |
| 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 | setGlobalMeanR (Vector_t< T, Dim > globalMeanR) |
| Vector_t< T, Dim > | getGlobalMeanR () |
| void | setSteptoLastInj (int n) |
| int | getSteptoLastInj () const |
| double | calculateAngle (double x, double y) |
| double | get_sPos () const |
| PartBunch (const PartData *ref) | |
| Default constructor. | |
| PartBunch ()=delete | |
| PartBunch (const PartBunch &)=delete | |
| PartBunch & | operator= (const PartBunch &)=delete |
| ~PartBunch () | |
| void | runTests () |
| void | initialize (FieldLayout_t *fLayout) |
| void | do_binaryRepart () |
| double | getRho (int x, int y, int z) |
| const Mesh_t & | getMesh () const |
| Mesh_t & | getMesh () |
| FieldLayout_t & | getFieldLayout () |
| void | setBCAllPeriodic () |
| void | setBCAllOpen () |
| void | setBCForDCBeam () |
| VectorPair_t | getEExtrema () |
| void | computeSelfFields () |
| void | computeSelfFields (int b) |
| void | resetInterpolationCache (bool clearCache=false) |
| void | swap (unsigned int i, unsigned int j) |
| Inform & | print (Inform &os) |
| virtual | ~PartBunch () |
| PartBunch (AbstractParticle< T, Dim > *pb, const PartData *ref) | |
| PartBunch (const PartBunch &rhs)=delete | |
| ConstIterator | begin () const |
| ConstIterator | end () const |
| void | get_PBounds (Vector_t< double, 3 > &min, Vector_t< double, 3 > &max) const |
| Return maximum amplitudes. | |
| Quaternion_t | getQKs3D () |
| void | setQKs3D (Quaternion_t q) |
| Vector_t< double, 3 > | getKs3DRefr () |
| void | setKs3DRefr (Vector_t< double, 3 > r) |
| Vector_t< double, 3 > | getKs3DRefp () |
| void | setKs3DRefp (Vector_t< double, 3 > p) |
| void | iterateEmittedBin (int binNumber) |
| void | calcEMean () |
| 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 |
| 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) |
| 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) |
| PartBunch (double qi, double mi, size_t totalP, int nt, double lbt, std::string integration_method, std::shared_ptr< Distribution > &OPALdistribution, std::shared_ptr< FieldSolverCmd > &OPALFieldSolver) | |
| void | bunchUpdate () |
| void | bunchUpdate (ippl::Vector< double, 3 > hr) |
| ~PartBunch () | |
| std::shared_ptr< ParticleContainer_t > | getParticleContainer () |
| void | setSolver (std::string solver) |
| void | pre_run () override |
| std::shared_ptr< VField_t< T, Dim > > | getTempEField () |
| void | setTempEField (std::shared_ptr< VField_t< T, Dim > > Etmp) |
| std::shared_ptr< AdaptBins_t > | getBins () |
| void | setBins (std::shared_ptr< AdaptBins_t > bins) |
| void | updateMoments () |
| size_t | getTotalNum () const |
| size_t | getLocalNum () const |
| Vector_t< double, Dim > | R (size_t i) |
| Vector_t< double, Dim > | P (size_t i) |
| Vector_t< double, Dim > | Ef (size_t i) |
| Vector_t< double, Dim > | Bf (size_t i) |
| Vector_t< double, Dim > | dt (size_t i) |
| void | advance () override |
| void | par2grid () override |
| void | grid2par () override |
| void | gatherCIC () |
| void | scatterCIC () |
| void | scatterCICPerBin (binIndex_t binIndex) |
| double | getCouplingConstant () const |
| void | setCouplingConstant (double c) |
| void | calcBeamParameters () |
| void | do_binaryRepart () |
| void | setCharge () |
| void | setMass () |
| double | getCharge () const |
| double | getChargePerParticle () const |
| double | getMassPerParticle () const |
| double | getQ () const |
| double | getM () const |
| double | getdE () const |
| double | getGamma (int i) const |
| double | getBeta (int i) const |
| void | actT () |
| PartData * | getReference () |
| double | getEmissionDeltaT () |
| void | gatherLoadBalanceStatistics () |
| size_t | getLoadBalance (int p) |
| void | resizeMesh () |
| bool | isGridFixed () |
| void | boundp () |
| size_t | boundp_destroyT () |
| void | setBCAllOpen () |
| void | setBCForDCBeam () |
| void | setupBCs () |
| void | setBCAllPeriodic () |
| void | resetInterpolationCache (bool clearCache=false) |
| void | swap (unsigned int i, unsigned int j) |
| double | getRho (int x, int y, int z) |
| void | gatherStatistics (unsigned int totalP) |
| void | switchToUnitlessPositions (bool use_dt_per_particle=false) |
| void | switchOffUnitlessPositions (bool use_dt_per_particle=false) |
| size_t | calcNumPartsOutside (Vector_t< double, Dim > x) |
| void | calcLineDensity (unsigned int nBins, std::vector< double > &lineDensity, std::pair< double, double > &meshInfo) |
| void | setBeamFrequency (double v) |
| Vector_t< double, Dim > | getEExtrema () |
| void | computeSelfFields () |
| Inform & | print (Inform &os) |
| bool | hasFieldSolver () |
| bool | getFieldSolverType () |
| bool | getIfBeamEmitting () |
| int | getLastEmittedEnergyBin () |
| size_t | getNumberOfEmissionSteps () |
| int | getNumberOfEnergyBins () |
| void | Rebin () |
| void | setEnergyBins (int numberOfEnergyBins) |
| bool | weHaveEnergyBins () |
| void | setTEmission (double t) |
| double | getTEmission () |
| bool | weHaveBins () |
| size_t | emitParticles (double eZ) |
| void | updateNumTotal () |
| void | rebin () |
| int | getLastemittedBin () |
| void | setLocalBinCount (size_t num, int bin) |
| void | calcGammas () |
| double | getBinGamma (int bin) |
| bool | hasBinning () |
| void | setBinCharge (int bin, double q) |
| void | setBinCharge (int bin) |
| double | calcMeanPhi () |
| bool | resetPartBinID2 (const double eta) |
| bool | resetPartBinBunch () |
| double | getPx (int i) |
| double | getPy (int i) |
| double | getPz (int i) |
| double | getPx0 (int i) |
| double | getPy0 (int i) |
| double | getX (int i) |
| double | getY (int i) |
| double | getZ (int i) |
| double | getX0 (int i) |
| double | getY0 (int i) |
| void | setZ (int i, double zcoo) |
| void | get_bounds (Vector_t< double, Dim > &rmin, Vector_t< double, Dim > &rmax) |
| void | getLocalBounds (Vector_t< double, Dim > &rmin, Vector_t< double, Dim > &rmax) |
| void | get_PBounds (Vector_t< double, Dim > &min, Vector_t< double, Dim > &max) |
| void | setdT (double dt) |
| get 2nd order beam matrix | |
| double | getdT () const |
| void | setT (double t) |
| void | incrementT () |
| double | getT () const |
| void | set_sPos (double s) |
| double | get_sPos () const |
| double | get_gamma () const |
| double | get_meanKineticEnergy () |
| Vector_t< double, Dim > | get_origin () const |
| Vector_t< double, Dim > | get_maxExtent () const |
| Vector_t< double, 2 *Dim > | get_centroid () const |
| Vector_t< double, Dim > | get_rrms () const |
| Vector_t< double, Dim > | get_rprms () const |
| Vector_t< double, Dim > | get_prms () const |
| Vector_t< double, Dim > | get_rmean () const |
| Vector_t< double, Dim > | get_pmean () const |
| Vector_t< double, Dim > | get_pmean_Distribution () const |
| Vector_t< double, Dim > | get_emit () const |
| Vector_t< double, Dim > | get_norm_emit () const |
| Vector_t< double, Dim > | get_halo () const |
| Vector_t< double, Dim > | get_68Percentile () const |
| Vector_t< double, Dim > | get_95Percentile () const |
| Vector_t< double, Dim > | get_99Percentile () const |
| Vector_t< double, Dim > | get_99_99Percentile () const |
| Vector_t< double, Dim > | get_normalizedEps_68Percentile () const |
| Vector_t< double, Dim > | get_normalizedEps_95Percentile () const |
| Vector_t< double, Dim > | get_normalizedEps_99Percentile () const |
| Vector_t< double, Dim > | get_normalizedEps_99_99Percentile () const |
| Vector_t< double, Dim > | get_hr () const |
| double | get_Dx () const |
| double | get_Dy () const |
| double | get_DDx () const |
| double | get_DDy () const |
| double | get_temperature () const |
| void | calcDebyeLength () |
| double | get_debyeLength () const |
| double | get_plasmaParameter () const |
| double | get_rmsDensity () const |
| 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 | setGlobalMeanR (Vector_t< double, Dim > globalMeanR) |
| Vector_t< double, Dim > | getGlobalMeanR () |
| void | setGlobalToLocalQuaternion (Quaternion_t globalToLocalQuaternion) |
| Quaternion_t | getGlobalToLocalQuaternion () |
| void | setSteptoLastInj (int n) |
| int | getSteptoLastInj () const |
| double | calculateAngle (double x, double y) |
| void | spaceChargeEFieldCheck (Vector_t< double, 3 > efScale) |
| double | getQ () const |
| Access to reference data. | |
| double | getM () const |
| double | getP () const |
| double | getE () const |
| double | getInitialBeta () const |
| double | getInitialGamma () const |
| void | resetQ (double q) |
| Set reference data. | |
| void | resetM (double m) |
| void | setPType (const std::string &type) |
Public Attributes | |
| Solver_t< T, Dim > | solver_m |
| ParticleAttrib< double > | Q |
| ParticleAttrib< double > | M |
| ParticleAttrib< int > | bunchNum |
| ParticleAttrib< Vector_t< T, Dim > > | P |
| ParticleAttrib< Vector_t< T, Dim > > | E |
| ParticleAttrib< Vector_t< T, Dim > > | Ef |
| ParticleAttrib< Vector_t< T, Dim > > | Bf |
| ParticleAttrib< int > | Bin |
| ParticleAttrib< double > | dt |
| ParticleAttrib< double > | Phi |
| ParticleAttrib< Vector_t< T, Dim > > | Eftmp |
| Vector_t< T, Dim > | RefPartR_m |
| Vector_t< T, Dim > | RefPartP_m |
| CoordinateSystemTrafo | toLabTrafo_m |
| Vector_t< T, Dim > | globalMeanR_m |
| PartBins * | pbin_m |
| double | tEmission_m |
| if larger than 0, emitt particles for tEmission_m [s] | |
| 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 |
| bool | fixed_grid |
| double | dh_m |
| Mesh enlargement. | |
| const PartData * | reference |
| relative enlargement of the mesh | |
| double | couplingConstant_m |
| double | qi_m |
| double | massPerParticle_m |
| UnitState_t | unit_state_m |
| UnitState_t | stateOfLastBoundP_m |
| double | centroid_m [2 *Dim] |
| holds the centroid of the beam | |
| double | dt_m |
| 6x6 matrix of the moments of the beam | |
| double | t_m |
| holds the actual time of the integration | |
| double | spos_m |
| the position along design trajectory | |
| VField_t< T, Dim > | EFD_m |
| VField_t< T, Dim > | eg_m |
| Field_t< Dim > | EFDMag_m |
| Field_t< Dim > | rho_m |
| Field< T, Dim > | phi_m |
| bc_type | allPeriodic |
| ORB< T, Dim > | orb |
| std::unique_ptr< size_t[]> | globalPartPerNode_m |
| Vector_t< T, Dim > | nr_m |
| std::array< bool, Dim > | isParallel_m |
| Vector_t< double, Dim > | hr_m |
| mesh size [m] | |
| Vector_t< double, Dim > | rmin_m |
| Vector_t< double, Dim > | rmax_m |
| bool | dcBeam_m |
| double | periodLength_m |
| double | Q_m |
| std::unique_ptr< Inform > | pmsg_m |
| std::unique_ptr< std::ofstream > | f_stream |
| Field_t | rho_m |
| scalar potential | |
| VField_t | eg_m |
| vector field on the grid | |
| double | time_m |
| size_type | totalP_m |
| int | nt_m |
| double | lbt_m |
| int | it_m |
| std::string | integration_method_m |
| std::string | solver_m |
| bool | isFirstRepartition_m |
| Vector_t< int, Dim > | nr_m |
| Vector_t< double, Dim > | origin_m |
| double | Bext_m |
| double | alpha_m |
| double | DrInv_m |
| ippl::NDIndex< Dim > | domain_m |
| std::array< bool, Dim > | decomp_m |
| Vector_t< double, Dim > | RefPartR_m |
| Vector_t< double, Dim > | RefPartP_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 | |
Private Types | |
| using | Base = ippl::ParticleBase<PLayout> |
Private Member Functions | |
| void | updateDomainLength (Vektor< int, 3 > &grid) |
| void | updateFields (const Vector_t< double, 3 > &hr, const Vector_t< double, 3 > &origin) |
| void | resizeMesh () |
| resize mesh to geometry specified | |
| ParticleLayout< double, 3 > & | getLayout () |
| const ParticleLayout< double, 3 > & | getLayout () const |
| virtual void | updateDomainLength (Vektor< int, 3 > &grid)=0 |
| virtual void | updateFields (const Vector_t< double, 3 > &hr, const Vector_t< double, 3 > &origin) |
| void | setup (AbstractParticle< T, Dim > *pb) |
Private Attributes | |
| BConds< double, 3, Mesh_t, Center_t > | bc_m |
| for defining the boundary conditions | |
| BConds< Vector_t< double, 3 >, 3, Mesh_t, Center_t > | vbc_m |
| bool | interpolationCacheSet_m |
| ParticleAttrib< CacheDataCIC< double, 3U > > | interpolationCache_m |
| double | mi_m |
| double | rmsDensity_m |
| Vector_t< double, Dim > | globalMeanR_m |
| Quaternion_t | globalToLocalQuaternion_m |
| std::shared_ptr< AdaptBins_t > | bins_m |
| PartData * | reference_m |
| std::shared_ptr< Distribution > | OPALdist_m |
| std::shared_ptr< FieldSolverCmd > | OPALFieldSolver_m |
| std::shared_ptr< VField_t< T, Dim > > | Etmp_m |
| Temporary E field container used to store temporary E field during binned solver. | |
Definition at line 62 of file #PartBunch.hpp#.
| using PartBunch< PLayout, T, Dim >::AdaptBins_t = typename ParticleBinning::AdaptBins<ParticleContainer_t, BinningSelector_t> |
Definition at line 91 of file PartBunch.h.
|
private |
Definition at line 63 of file #PartBunch.hpp#.
| using PartBunch< PLayout, T, Dim >::Base = ippl::ParticleBase<ippl::ParticleSpatialLayout<T, Dim>> |
Definition at line 88 of file PartBunch.h.
| typedef ippl::BConds<Field<T, Dim>, Dim> PartBunch< PLayout, T, Dim >::bc_type |
Definition at line 174 of file #PartBunch.hpp#.
| using PartBunch< PLayout, T, Dim >::binIndex_t = typename ParticleContainer_t::bin_index_type |
Definition at line 92 of file PartBunch.h.
| using PartBunch< PLayout, T, Dim >::BinningSelector_t = typename ParticleBinning::CoordinateSelector<ParticleContainer_t> |
Definition at line 90 of file PartBunch.h.
| using PartBunch< PLayout, T, Dim >::FieldContainer_t = FieldContainer<T, Dim> |
Definition at line 85 of file PartBunch.h.
| using PartBunch< PLayout, T, Dim >::FieldSolver_t = FieldSolver<T, Dim> |
Definition at line 86 of file PartBunch.h.
| using PartBunch< PLayout, T, Dim >::LoadBalancer_t = LoadBalancer<T, Dim> |
Definition at line 87 of file PartBunch.h.
| using PartBunch< PLayout, T, Dim >::ParticleContainer_t = ParticleContainer<T, Dim> |
Definition at line 84 of file PartBunch.h.
| typedef IpplParticleBase<Layout_t> PartBunch< PLayout, T, Dim >::pbase_t |
Definition at line 26 of file .PartBunch.h.
| typedef std::pair<Vector_t<double, 3>, Vector_t<double, 3> > PartBunch< PLayout, T, Dim >::VectorPair_t |
Definition at line 62 of file .PartBunchBase.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Dim | |
Definition at line 27 of file .PartBunch.h.
| enum PartBunch::UnitState_t |
| Enumerator | |
|---|---|
| units | |
| unitless | |
Definition at line 66 of file .PartBunchBase.h.
|
inline |
Definition at line 200 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout, T, Dim >::ConstIterator::ConstIterator(), and PartBunch().
|
inlinevirtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
Definition at line 228 of file #PartBunch.hpp#.
|
explicit |
Default constructor.
Definition at line 37 of file .PartBunch.cpp.
References interpolationCacheSet_m, and PartBunch().
|
delete |
|
delete |
|
virtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
|
inlinevirtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
Reimplemented in PartBunch< PLayout, T, Dim >, PartBunch< PLayout, T, Dim >, PartBunch< PLayout, T, Dim >, PartBunch< PLayout, T, Dim >, PartBunch< double, 3 >, PartBunch< double, 3 >, PartBunch< double, 3 >, and PartBunch< double, 3 >.
Definition at line 69 of file .PartBunchBase.h.
| PartBunch< T, Dim >::PartBunch | ( | AbstractParticle< T, Dim > * | pb, |
| const PartData * | ref ) |
Definition at line 39 of file .PartBunchBase.hpp.
References binemitted_m, bingamma_m, bunchLocalNum_m, bunchTotalNum_m, couplingConstant_m, dcBeam_m, dh_m, dt_m, f_stream, fixed_grid, globalMeanR_m, globalPartPerNode_m, globalToLocalQuaternion_m, globalTrackStep_m, hr_m, localTrackStep_m, massPerParticle_m, nr_m, numBunch_m, pbin_m, periodLength_m, pmsg_m, qi_m, R(), reference, rmax_m, rmin_m, setup(), spos_m, stepsPerTurn_m, SteptoLastInj_m, t_m, unitless, and units.
|
delete |
| PartBunch< T, Dim >::PartBunch | ( | double | qi, |
| double | mi, | ||
| size_t | totalP, | ||
| int | nt, | ||
| double | lbt, | ||
| std::string | integration_method, | ||
| std::shared_ptr< Distribution > & | OPALdistribution, | ||
| std::shared_ptr< FieldSolverCmd > & | OPALFieldSolver ) |
Definition at line 8 of file PartBunch.cpp.
References Options::binningAlpha, Options::binningBeta, decomp_m, Options::desiredWidth, Dim, domain_m, dt_m, getBins(), getParticleContainer(), getTempEField(), globalPartPerNode_m, globalTrackStep_m, gmsg, hr_m, integration_method_m, isFirstRepartition_m, it_m, lbt_m, localTrackStep_m, Options::maxBins, mi_m, nr_m, nt_m, OPALdist_m, OPALFieldSolver_m, origin_m, pre_run(), qi_m, RefPartP_m, RefPartR_m, rmax_m, rmin_m, rmsDensity_m, setBins(), setSolver(), setTempEField(), solver_m, time_m, and totalP_m.
|
inlinevirtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
Definition at line 244 of file PartBunch.h.
Definition at line 350 of file #PartBunch.hpp#.
|
inline |
Definition at line 369 of file PartBunch.h.
|
inlineoverride |
Definition at line 296 of file PartBunch.h.
|
inline |
Definition at line 402 of file #PartBunch.hpp#.
|
inline |
Definition at line 127 of file .PartBunchBase.h.
Referenced by begin().
|
inline |
Definition at line 288 of file PartBunch.h.
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.
Definition at line 474 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT().
|
inline |
Definition at line 405 of file PartBunch.h.
This is only temporary in order to get the collimator and pepperpot working
Definition at line 539 of file #PartBunch.hpp#.
|
inline |
Definition at line 408 of file PartBunch.h.
Definition at line 404 of file PartBunch.cpp.
References getParticleContainer(), hr_m, isFirstRepartition_m, nr_m, OPALFieldSolver_m, and updateMoments().
| void PartBunch< T, Dim >::bunchUpdate | ( | ippl::Vector< double, 3 > | hr | ) |
assume o < 0.0?
Definition at line 366 of file PartBunch.cpp.
References getParticleContainer(), hr_m, isFirstRepartition_m, nr_m, OPALFieldSolver_m, and updateMoments().
Definition at line 249 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT(), DataSink::dumpSDDS(), and H5PartWrapperForPT::writeStep().
| void PartBunch< PLayout, T, Dim >::calcBeamParameters | ( | ) |
| void PartBunch< PLayout, T, Dim >::calcBeamParametersInitial | ( | ) |
|
inline |
Definition at line 718 of file PartBunch.h.
Definition at line 1134 of file .PartBunchBase.hpp.
Compute the gammas of all bins.
Definition at line 1084 of file #PartBunch.hpp#.
|
inline |
Definition at line 512 of file PartBunch.h.
|
inline |
calculates the 1d line density (not normalized) and append it to a file.
\method calcLineDensity()
DETAILED TODO
Definition at line 769 of file #PartBunch.hpp#.
|
inline |
Definition at line 446 of file PartBunch.h.
|
inline |
calculate average angle of longitudinal direction of bins
Definition at line 1107 of file #PartBunch.hpp#.
|
inline |
Definition at line 524 of file PartBunch.h.
|
protected |
|
protected |
|
inline |
Definition at line 442 of file PartBunch.h.
|
inline |
returns the number of particles outside of a box defined by x
Definition at line 740 of file #PartBunch.hpp#.
Referenced by DataSink::dumpSDDS().
|
inline |
Definition at line 1416 of file #PartBunch.hpp#.
|
protected |
angle range [0~2PI) degree
|
inline |
Definition at line 803 of file PartBunch.h.
Magnetic field in x and y direction induced by the eletric field
\[ B_x = \gamma(B_x^{'} - \frac{beta}{c}E_y^{'}) = -\gamma \frac{beta}{c}E_y^{'} = -\frac{beta}{c}E_y \]
\[ B_y = \gamma(B_y^{'} - \frac{beta}{c}E_x^{'}) = +\gamma \frac{beta}{c}E_x^{'} = +\frac{beta}{c}E_x \]
\[ B_z = B_z^{'} = 0 \]
Definition at line 829 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::computeSelfFields | ( | ) |
| void PartBunch< PLayout, T, Dim >::computeSelfFields | ( | ) |
|
inline |
/brief used for self fields with binned distribution
Set initial charge density to zero. Create image charge potential field.
Set initial E field to zero.
Mesh the whole domain
Scatter charge onto space charge grid.
Calculate mesh-scale factor and get gamma for this specific slice (bin).
Scale charge density to get charge density in real units. Account for Lorentz transformation in longitudinal direction.
Scale mesh spacing to real units (meters). Lorentz transform the longitudinal direction.
Find potential from charge in this bin (no image yet) using Poisson's equation (without coefficient: -1/(eps)).
Scale mesh back (to same units as particle locations.)
The scalar potential is given back in rho_m and must be converted to the right units.
IPPL Grad numerical computes gradient to find the electric field (in bin rest frame).
Scale field. Combine Lorentz transform with conversion to proper field units.
Interpolate electric field at particle positions. We reuse the cached information about where the particles are relative to the field, since the particles have not moved since this the most recent scatter operation.
Magnetic field in x and y direction induced by the electric field.
\[ B_x = \gamma(B_x^{'} - \frac{beta}{c}E_y^{'}) = -\gamma \frac{beta}{c}E_y^{'} = -\frac{beta}{c}E_y \]
\[ B_y = \gamma(B_y^{'} - \frac{beta}{c}E_x^{'}) = +\gamma \frac{beta}{c}E_x^{'} = +\frac{beta}{c}E_x \]
\[ B_z = B_z^{'} = 0 \]
Now compute field due to image charge. This is done separately as the image charge is moving to -infinity (instead of +infinity) so the Lorentz transform is different.
Find z shift for shifted Green's function.
Find potential from image charge in this bin using Poisson's equation (without coefficient: -1/(eps)).
Scale mesh back (to same units as particle locations.)
The scalar potential is given back in rho_m and must be converted to the right units.
IPPL Grad numerical computes gradient to find the electric field (in rest frame of this bin's image charge).
Scale field. Combine Lorentz transform with conversion to proper field units.
Interpolate electric field at particle positions. We reuse the cached information about where the particles are relative to the field, since the particles have not moved since this the most recent scatter operation.
Magnetic field in x and y direction induced by the image charge electric field. Note that beta will have the opposite sign from the bunch charge field, as the image charge is moving in the opposite direction.
\[ B_x = \gamma(B_x^{'} - \frac{beta}{c}E_y^{'}) = -\gamma \frac{beta}{c}E_y^{'} = -\frac{beta}{c}E_y \]
\[ B_y = \gamma(B_y^{'} - \frac{beta}{c}E_x^{'}) = +\gamma \frac{beta}{c}E_x^{'} = +\frac{beta}{c}E_x \]
\[ B_z = B_z^{'} = 0 \]
Definition at line 833 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::computeSelfFields | ( | int | b | ) |
/brief used for self fields with binned distribution
Definition at line 1370 of file .PartBunchBase.hpp.
References M.
Definition at line 1365 of file .PartBunchBase.hpp.
| void PartBunch< T, Dim >::destroy | ( | size_t | M, |
| size_t | I, | ||
| bool | doNow = false ) |
Definition at line 1380 of file .PartBunchBase.hpp.
References M.
Definition at line 574 of file #PartBunch.hpp#.
Definition at line 367 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::do_binaryRepart | ( | ) |
| void PartBunch< PLayout, T, Dim >::do_binaryRepart | ( | ) |
|
inline |
Definition at line 292 of file PartBunch.h.
|
inline |
Definition at line 922 of file #PartBunch.hpp#.
|
inline |
Definition at line 284 of file PartBunch.h.
Emit particles in the given bin i.e. copy the particles from the bin structure into the particle container.
Definition at line 1049 of file #PartBunch.hpp#.
|
inline |
Definition at line 500 of file PartBunch.h.
|
inline |
Definition at line 131 of file .PartBunchBase.h.
Referenced by end().
Definition at line 955 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::grid2par().
| void PartBunch< PLayout, T, Dim >::gatherCIC | ( | ) |
Definition at line 421 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT(), and DataSink::dumpSDDS().
| void PartBunch< PLayout, T, Dim >::gatherLoadBalanceStatistics | ( | ) |
|
inline |
Definition at line 706 of file #PartBunch.hpp#.
|
inline |
Definition at line 435 of file PartBunch.h.
|
inline |
Definition at line 1311 of file #PartBunch.hpp#.
|
inline |
Definition at line 673 of file PartBunch.h.
|
inline |
Definition at line 1314 of file #PartBunch.hpp#.
|
inline |
Definition at line 676 of file PartBunch.h.
|
inline |
Definition at line 1320 of file #PartBunch.hpp#.
|
inline |
Definition at line 682 of file PartBunch.h.
|
inline |
Definition at line 1317 of file #PartBunch.hpp#.
|
inline |
Definition at line 679 of file PartBunch.h.
|
inline |
Definition at line 567 of file PartBunch.h.
|
inline |
Definition at line 1162 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp(), PartBunch< PLayout_t< double, 3 >, double, 3 >::calcBeamParameters(), PartBunch< PLayout_t< double, 3 >, double, 3 >::calcLineDensity(), Probe::doPreCheck(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::getBoundingSphere().
|
inline |
Definition at line 1281 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 638 of file PartBunch.h.
Definition at line 1345 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 707 of file PartBunch.h.
Definition at line 1348 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 710 of file PartBunch.h.
|
inline |
Definition at line 722 of file PartBunch.h.
Referenced by StatWriter::write().
Definition at line 1339 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 701 of file PartBunch.h.
Definition at line 1342 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 704 of file PartBunch.h.
|
inline |
Definition at line 1302 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 664 of file PartBunch.h.
Definition at line 1266 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 622 of file PartBunch.h.
|
inline |
Definition at line 1308 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 670 of file PartBunch.h.
Definition at line 1335 of file #PartBunch.hpp#.
|
inline |
Definition at line 697 of file PartBunch.h.
|
inline |
Definition at line 1277 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 633 of file PartBunch.h.
|
inline |
Definition at line 1270 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 626 of file PartBunch.h.
|
inline |
Definition at line 1305 of file #PartBunch.hpp#.
Referenced by StatWriter::write(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 667 of file PartBunch.h.
|
inline |
Definition at line 1323 of file #PartBunch.hpp#.
|
inline |
Definition at line 685 of file PartBunch.h.
|
inline |
Definition at line 1326 of file #PartBunch.hpp#.
|
inline |
Definition at line 688 of file PartBunch.h.
|
inline |
Definition at line 1332 of file #PartBunch.hpp#.
|
inline |
Definition at line 694 of file PartBunch.h.
|
inline |
Definition at line 1329 of file #PartBunch.hpp#.
|
inline |
Definition at line 691 of file PartBunch.h.
|
inline |
Definition at line 1274 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 630 of file PartBunch.h.
|
inline |
Definition at line 575 of file PartBunch.h.
|
inline |
Definition at line 1223 of file #PartBunch.hpp#.
|
inline |
Definition at line 726 of file PartBunch.h.
Referenced by StatWriter::write().
|
inline |
Definition at line 1296 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 658 of file PartBunch.h.
|
inline |
Definition at line 1299 of file #PartBunch.hpp#.
|
inline |
Definition at line 661 of file PartBunch.h.
|
inline |
Definition at line 1293 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 650 of file PartBunch.h.
|
inline |
Definition at line 1290 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::calcNumPartsOutside().
|
inline |
Definition at line 654 of file PartBunch.h.
|
inline |
Definition at line 730 of file PartBunch.h.
Referenced by StatWriter::write().
|
inline |
Definition at line 1287 of file #PartBunch.hpp#.
Referenced by StatWriter::write().
|
inline |
Definition at line 646 of file PartBunch.h.
|
inline |
Definition at line 1284 of file #PartBunch.hpp#.
Referenced by DataSink::dumpSDDS(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 642 of file PartBunch.h.
Definition at line 1420 of file #PartBunch.hpp#.
Referenced by Monitor::initialise(), PartBunch< PLayout_t< double, 3 >, double, 3 >::print(), MemoryProfiler::write(), StatWriter::write(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 618 of file PartBunch.h.
|
inline |
Definition at line 714 of file PartBunch.h.
Referenced by StatWriter::write().
|
inline |
Definition at line 164 of file .PartBunchBase.h.
|
inline |
Definition at line 346 of file #PartBunch.hpp#.
|
inline |
Definition at line 365 of file PartBunch.h.
Get gamma of one bin.
Definition at line 1088 of file #PartBunch.hpp#.
|
inline |
Definition at line 514 of file PartBunch.h.
|
inline |
Definition at line 260 of file PartBunch.h.
Referenced by PartBunch().
|
inline |
Definition at line 1201 of file #PartBunch.hpp#.
get the total charge per simulation particle
Definition at line 284 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::getQ(), StatWriter::write(), DataSink::writeImpactStatistics(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 340 of file PartBunch.h.
get the macro particle charge
Definition at line 289 of file #PartBunch.hpp#.
Referenced by DataSink::writeImpactStatistics().
|
inline |
Definition at line 344 of file PartBunch.h.
Definition at line 241 of file #PartBunch.hpp#.
Referenced by spaceChargeEFieldCheck().
|
inline |
Definition at line 320 of file PartBunch.h.
Definition at line 339 of file #PartBunch.hpp#.
Referenced by StatWriter::write(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 358 of file PartBunch.h.
Definition at line 1297 of file .PartBunchBase.hpp.
Definition at line 1239 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::switchToUnitlessPositions(), and StatWriter::write().
|
inline |
Definition at line 591 of file PartBunch.h.
Definition at line 308 of file #PartBunch.hpp#.
|
inline |
Definition at line 815 of file #PartBunch.hpp#.
| VectorPair_t PartBunch< PLayout, T, Dim >::getEExtrema | ( | ) |
|
inline |
Definition at line 453 of file PartBunch.h.
Definition at line 357 of file #PartBunch.hpp#.
|
inline |
Definition at line 376 of file PartBunch.h.
|
inline |
Definition at line 445 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::getFieldLayout(), PartBunch< PLayout_t< double, 3 >, double, 3 >::getMesh(), PartBunch< PLayout_t< double, 3 >, double, 3 >::runTests(), updateDomainLength(), PartBunch< PLayout_t< double, 3 >, double, 3 >::updateDomainLength(), and updateFields().
| FieldLayout_t & PartBunch< PLayout, T, Dim >::getFieldLayout | ( | ) |
|
inline |
Definition at line 466 of file PartBunch.h.
|
inline |
Return the fieldsolver type if we have a fieldsolver.
Definition at line 845 of file #PartBunch.hpp#.
|
inline |
Definition at line 342 of file #PartBunch.hpp#.
|
inline |
Definition at line 362 of file PartBunch.h.
Definition at line 1302 of file .PartBunchBase.hpp.
|
inline |
Definition at line 1401 of file #PartBunch.hpp#.
|
inline |
Definition at line 783 of file PartBunch.h.
|
inline |
Definition at line 791 of file PartBunch.h.
Definition at line 1369 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 751 of file PartBunch.h.
|
inline |
Definition at line 1004 of file #PartBunch.hpp#.
|
inline |
Definition at line 470 of file PartBunch.h.
Definition at line 315 of file #PartBunch.hpp#.
Definition at line 319 of file #PartBunch.hpp#.
| Vector_t< double, 3 > PartBunch< PLayout, T, Dim >::getKs3DRefp | ( | ) |
| Vector_t< double, 3 > PartBunch< PLayout, T, Dim >::getKs3DRefr | ( | ) |
Definition at line 1070 of file #PartBunch.hpp#.
|
inline |
Definition at line 507 of file PartBunch.h.
|
inline |
Definition at line 1008 of file #PartBunch.hpp#.
|
inline |
Definition at line 473 of file PartBunch.h.
|
inlineprivate |
Definition at line 115 of file .PartBunch.h.
Referenced by getMesh(), initialize(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::updateLayout().
|
inlineprivate |
Definition at line 120 of file .PartBunch.h.
|
inline |
Definition at line 382 of file PartBunch.h.
Definition at line 429 of file #PartBunch.hpp#.
|
inline |
Definition at line 1212 of file #PartBunch.hpp#.
|
inline |
Definition at line 572 of file PartBunch.h.
|
inline |
Definition at line 1180 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::get_bounds(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::getLocalBoundingSphere().
Definition at line 1291 of file .PartBunchBase.hpp.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::balance(), PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), PartBunch< PLayout_t< double, 3 >, double, 3 >::calcLineDensity(), PartBunch< PLayout_t< double, 3 >, double, 3 >::calcNumPartsOutside(), PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT(), Probe::doCheck(), PartBunch< PLayout_t< double, 3 >, double, 3 >::end(), PartBunch< PLayout_t< double, 3 >, double, 3 >::gatherLoadBalanceStatistics(), PartBunch< PLayout_t< double, 3 >, double, 3 >::gatherStatistics(), PartBunch< PLayout_t< double, 3 >, double, 3 >::getLocalBounds(), PartBunch< PLayout_t< double, 3 >, double, 3 >::print(), PartBunch< PLayout_t< double, 3 >, double, 3 >::scatterCIC(), spaceChargeEFieldCheck(), PartBunch< PLayout_t< double, 3 >, double, 3 >::swap(), PartBunch< PLayout_t< double, 3 >, double, 3 >::switchToUnitlessPositions(), PartBunch< PLayout_t< double, 3 >, double, 3 >::updateNumTotal(), StatWriter::write(), and H5PartWrapperForPT::writeStepData().
|
inline |
Definition at line 272 of file PartBunch.h.
Definition at line 1383 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 765 of file PartBunch.h.
Definition at line 301 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 354 of file PartBunch.h.
Definition at line 293 of file #PartBunch.hpp#.
|
inline |
Definition at line 347 of file PartBunch.h.
|
inline |
Definition at line 134 of file .PartBunch.h.
References getLayout().
|
inline |
Definition at line 441 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::runTests(), and updateFields().
| const Mesh_t & PartBunch< PLayout, T, Dim >::getMesh | ( | ) | const |
|
inline |
Definition at line 1012 of file #PartBunch.hpp#.
|
inline |
Definition at line 476 of file PartBunch.h.
Definition at line 1016 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT().
|
inline |
Definition at line 479 of file PartBunch.h.
Definition at line 1393 of file #PartBunch.hpp#.
|
inline |
Definition at line 775 of file PartBunch.h.
Definition at line 304 of file #PartBunch.hpp#.
|
inline |
Definition at line 248 of file PartBunch.h.
Referenced by bunchUpdate(), bunchUpdate(), PartBunch(), PartBunch< PLayout_t< double, 3 >, double, 3 >::setCharge(), PartBunch< PLayout_t< double, 3 >, double, 3 >::setMass(), StatWriter::write(), and H5PartWrapperForPT::writeStepData().
Definition at line 1125 of file #PartBunch.hpp#.
|
inline |
Definition at line 533 of file PartBunch.h.
Definition at line 1135 of file #PartBunch.hpp#.
|
inline |
Definition at line 542 of file PartBunch.h.
Definition at line 1128 of file #PartBunch.hpp#.
|
inline |
Definition at line 536 of file PartBunch.h.
Definition at line 1138 of file #PartBunch.hpp#.
|
inline |
Definition at line 545 of file PartBunch.h.
Definition at line 1131 of file #PartBunch.hpp#.
|
inline |
Definition at line 539 of file PartBunch.h.
Access to reference data.
Definition at line 298 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 351 of file PartBunch.h.
| Quaternion_t PartBunch< PLayout, T, Dim >::getQKs3D | ( | ) |
|
inline |
Definition at line 372 of file PartBunch.h.
Definition at line 353 of file #PartBunch.hpp#.
|
inline |
Definition at line 701 of file #PartBunch.hpp#.
Referenced by scatterCICPerBin().
| double PartBunch< PLayout, T, Dim >::getRho | ( | int | x, |
| int | y, | ||
| int | z ) |
|
inline |
Definition at line 433 of file PartBunch.h.
Definition at line 1360 of file #PartBunch.hpp#.
|
inline |
Definition at line 742 of file PartBunch.h.
Definition at line 1412 of file #PartBunch.hpp#.
|
inline |
Definition at line 799 of file PartBunch.h.
Definition at line 1251 of file #PartBunch.hpp#.
Referenced by LBalWriter::write(), MemoryProfiler::write(), StatWriter::write(), DataSink::writeImpactStatistics(), and H5PartWrapperForPT::writeStepHeader().
|
inline |
Definition at line 603 of file PartBunch.h.
|
inline |
Definition at line 1033 of file #PartBunch.hpp#.
|
inline |
Definition at line 493 of file PartBunch.h.
|
inline |
Definition at line 257 of file PartBunch.h.
Referenced by PartBunch().
Definition at line 1286 of file .PartBunchBase.hpp.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT(), Probe::doInitialise(), PartBunch< PLayout_t< double, 3 >, double, 3 >::getCharge(), PartBunch< PLayout_t< double, 3 >, double, 3 >::getM(), Monitor::initialise(), scatterCICPerBin(), PartBunch< PLayout_t< double, 3 >, double, 3 >::setCharge(), PartBunch< PLayout_t< double, 3 >, double, 3 >::setMass(), spaceChargeEFieldCheck(), StatWriter::write(), DataSink::writeImpactStatistics(), H5Writer::writePhaseSpace(), and H5PartWrapperForPT::writeStep().
|
inline |
Definition at line 268 of file PartBunch.h.
Definition at line 1327 of file .PartBunchBase.hpp.
Definition at line 1142 of file #PartBunch.hpp#.
|
inline |
Definition at line 548 of file PartBunch.h.
Definition at line 1152 of file #PartBunch.hpp#.
|
inline |
Definition at line 557 of file PartBunch.h.
Definition at line 1145 of file #PartBunch.hpp#.
|
inline |
Definition at line 551 of file PartBunch.h.
Definition at line 1155 of file #PartBunch.hpp#.
|
inline |
Definition at line 560 of file PartBunch.h.
Definition at line 1148 of file #PartBunch.hpp#.
|
inline |
Definition at line 554 of file PartBunch.h.
Definition at line 1390 of file .PartBunchBase.hpp.
References M.
Definition at line 1375 of file .PartBunchBase.hpp.
|
inlineoverride |
Definition at line 304 of file PartBunch.h.
|
inline |
Definition at line 517 of file PartBunch.h.
Definition at line 1092 of file #PartBunch.hpp#.
Definition at line 838 of file #PartBunch.hpp#.
|
inline |
Definition at line 462 of file PartBunch.h.
Definition at line 1247 of file #PartBunch.hpp#.
|
inline |
Definition at line 599 of file PartBunch.h.
Definition at line 1378 of file #PartBunch.hpp#.
|
inline |
Definition at line 760 of file PartBunch.h.
| void PartBunch< PLayout, T, Dim >::initialize | ( | FieldLayout_t * | fLayout | ) |
Definition at line 54 of file .PartBunch.cpp.
References getLayout().
|
inline |
Definition at line 231 of file #PartBunch.hpp#.
Referenced by setSolver().
|
inline |
Definition at line 385 of file #PartBunch.hpp#.
|
inline |
Definition at line 401 of file PartBunch.h.
Definition at line 470 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp().
| void PartBunch< PLayout, T, Dim >::iterateEmittedBin | ( | int | binNumber | ) |
|
delete |
|
delete |
|
inline |
Definition at line 280 of file PartBunch.h.
|
inlineoverride |
Definition at line 300 of file PartBunch.h.
| void PartBunch< T, Dim >::performDestroy | ( | bool | updateLocalNum = false | ) |
Definition at line 1385 of file .PartBunchBase.hpp.
Definition at line 320 of file PartBunch.cpp.
Referenced by PartBunch().
Definition at line 869 of file #PartBunch.hpp#.
Referenced by operator<<(), and operator<<().
| Inform & PartBunch< PLayout, T, Dim >::print | ( | Inform & | os | ) |
| Inform & PartBunch< PLayout, T, Dim >::print | ( | Inform & | os | ) |
|
inline |
Definition at line 276 of file PartBunch.h.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::calcLineDensity(), PartBunch< PLayout_t< double, 3 >, double, 3 >::calcNumPartsOutside(), LF2< FieldFunction, Arguments >::doAdvance_m(), Probe::doCheck(), PartBunch< PLayout_t< double, 3 >, double, 3 >::getLocalBounds(), PartBunch(), scatterCICPerBin(), PartBunch< PLayout_t< double, 3 >, double, 3 >::swap(), PartBunch< PLayout_t< double, 3 >, double, 3 >::switchToUnitlessPositions(), and StatWriter::write().
Definition at line 1020 of file #PartBunch.hpp#.
|
inline |
Definition at line 483 of file PartBunch.h.
Definition at line 1063 of file #PartBunch.hpp#.
|
inline |
Definition at line 505 of file PartBunch.h.
|
inline |
Definition at line 389 of file #PartBunch.hpp#.
Definition at line 1342 of file .PartBunchBase.hpp.
References resetID().
Referenced by resetID().
|
inline |
Definition at line 672 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::resetInterpolationCache | ( | bool | clearCache = false | ) |
|
inline |
Definition at line 429 of file PartBunch.h.
Definition at line 329 of file #PartBunch.hpp#.
|
inline |
Definition at line 1116 of file #PartBunch.hpp#.
|
inline |
Definition at line 530 of file PartBunch.h.
|
inline |
reset Bin[] for each particle according to the method given in paper PAST-AB(064402) by G. Fubiani et al.
Definition at line 1112 of file #PartBunch.hpp#.
|
inline |
Definition at line 527 of file PartBunch.h.
Set reference data.
Definition at line 326 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::resizeMesh | ( | ) |
Definition at line 318 of file .PartBunch.cpp.
|
private |
resize mesh to geometry specified
|
inline |
Definition at line 386 of file PartBunch.h.
Definition at line 650 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::runTests | ( | ) |
|
inline |
Definition at line 310 of file PartBunch.h.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::par2grid().
|
inline |
Definition at line 962 of file #PartBunch.hpp#.
| void PartBunch< T, Dim >::scatterCICPerBin | ( | binIndex_t | binIndex | ) |
Scatters only particles in bin binIndex. Scatters all particles if binIndex=-1
Definition at line 547 of file PartBunch.cpp.
References bins_m, getRho(), getTotalNum(), hr_m, it_m, Q, qi_m, R(), rmax_m, rmin_m, and totalP_m.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::scatterCIC().
Definition at line 622 of file #PartBunch.hpp#.
get the spos of the primary beam
| none |
Definition at line 1262 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::readStepHeader().
Definition at line 632 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::setBCAllOpen | ( | ) |
|
inline |
Definition at line 420 of file PartBunch.h.
Definition at line 642 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::runTests(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::setupBCs().
| void PartBunch< PLayout, T, Dim >::setBCAllPeriodic | ( | ) |
|
inline |
Definition at line 426 of file PartBunch.h.
Definition at line 635 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::setBCForDCBeam | ( | ) |
|
inline |
Definition at line 422 of file PartBunch.h.
|
inline |
Definition at line 168 of file .PartBunchBase.h.
Definition at line 806 of file #PartBunch.hpp#.
|
inline |
Definition at line 450 of file PartBunch.h.
Set the charge of all other the ones in bin to zero.
Definition at line 1102 of file #PartBunch.hpp#.
|
inline |
Definition at line 522 of file PartBunch.h.
Set the charge of one bin to the value of q and all other to zero.
Definition at line 1097 of file #PartBunch.hpp#.
|
inline |
Definition at line 520 of file PartBunch.h.
|
inline |
Definition at line 262 of file PartBunch.h.
Referenced by PartBunch().
|
inline |
Definition at line 332 of file PartBunch.h.
Definition at line 257 of file #PartBunch.hpp#.
Definition at line 268 of file #PartBunch.hpp#.
Definition at line 245 of file #PartBunch.hpp#.
|
inline |
Definition at line 324 of file PartBunch.h.
Definition at line 1235 of file #PartBunch.hpp#.
|
inline |
get 2nd order beam matrix
Definition at line 587 of file PartBunch.h.
|
inline |
Definition at line 1023 of file #PartBunch.hpp#.
|
inline |
Definition at line 486 of file PartBunch.h.
|
inline |
Definition at line 779 of file PartBunch.h.
|
inline |
Definition at line 1397 of file #PartBunch.hpp#.
|
inline |
Definition at line 787 of file PartBunch.h.
step in multiple TRACK commands
Definition at line 1365 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::readStepHeader().
|
inline |
step in multiple TRACK commands
Definition at line 747 of file PartBunch.h.
| void PartBunch< PLayout, T, Dim >::setKs3DRefp | ( | Vector_t< double, 3 > | p | ) |
| void PartBunch< PLayout, T, Dim >::setKs3DRefr | ( | Vector_t< double, 3 > | r | ) |
|
inline |
Definition at line 1077 of file #PartBunch.hpp#.
|
inline |
Definition at line 510 of file PartBunch.h.
Definition at line 1312 of file .PartBunchBase.hpp.
step in a TRACK command
Definition at line 1374 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::readStepHeader().
|
inline |
step in a TRACK command
Definition at line 756 of file PartBunch.h.
|
inline |
Definition at line 336 of file PartBunch.h.
Definition at line 273 of file #PartBunch.hpp#.
Definition at line 279 of file #PartBunch.hpp#.
Definition at line 1387 of file #PartBunch.hpp#.
|
inline |
Definition at line 769 of file PartBunch.h.
|
inline |
Definition at line 1041 of file #PartBunch.hpp#.
|
inline |
Definition at line 334 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::setQKs3D | ( | Quaternion_t | q | ) |
CAN not re-inizialize ParticleLayout this is an IPPL issue
Definition at line 898 of file .PartBunchBase.hpp.
References OpalData::getInstance(), initialize(), and FieldSolver< T, Dim >::initSolver().
Referenced by PartBunch().
Definition at line 1356 of file #PartBunch.hpp#.
|
inline |
Definition at line 738 of file PartBunch.h.
Definition at line 1408 of file #PartBunch.hpp#.
|
inline |
Definition at line 795 of file PartBunch.h.
Definition at line 1243 of file #PartBunch.hpp#.
Referenced by H5PartWrapperForPT::readStepHeader().
|
inline |
Definition at line 595 of file PartBunch.h.
|
inline |
Definition at line 1030 of file #PartBunch.hpp#.
|
inline |
Definition at line 491 of file PartBunch.h.
|
inline |
Definition at line 258 of file PartBunch.h.
Referenced by PartBunch().
Definition at line 1307 of file .PartBunchBase.hpp.
|
private |
Definition at line 1251 of file .PartBunchBase.hpp.
References Bf, Bin, bunchNum, dt, Ef, Eftmp, globalPartPerNode_m, M, P, Phi, pmsg_m, and Q.
Referenced by PartBunch().
|
inline |
Definition at line 638 of file #PartBunch.hpp#.
|
inline |
Definition at line 424 of file PartBunch.h.
| void PartBunch< T, Dim >::setUpdateFlag | ( | UpdateFlags_t | f, |
| bool | val ) |
Definition at line 1332 of file .PartBunchBase.hpp.
Definition at line 1159 of file #PartBunch.hpp#.
|
inline |
Definition at line 564 of file PartBunch.h.
| void PartBunch< T, Dim >::spaceChargeEFieldCheck | ( | Vector_t< double, 3 > | efScale | ) |
Definition at line 150 of file PartBunch.cpp.
References getCouplingConstant(), getLocalNum(), and getTotalNum().
|
inline |
Definition at line 678 of file #PartBunch.hpp#.
| void PartBunch< PLayout, T, Dim >::swap | ( | unsigned int | i, |
| unsigned int | j ) |
|
inline |
Definition at line 431 of file PartBunch.h.
|
inline |
Definition at line 736 of file #PartBunch.hpp#.
|
inline |
Definition at line 439 of file PartBunch.h.
|
inline |
Definition at line 715 of file #PartBunch.hpp#.
|
inline |
Definition at line 437 of file PartBunch.h.
Definition at line 1347 of file .PartBunchBase.hpp.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::updateLayout().
| void PartBunch< T, Dim >::update | ( | const ParticleAttrib< char > & | canSwap | ) |
Definition at line 1356 of file .PartBunchBase.hpp.
|
inline |
Definition at line 370 of file #PartBunch.hpp#.
|
privatevirtual |
Implements PartBunch< PLayout_t< double, 3 >, double, 3 >.
Definition at line 490 of file .PartBunch.cpp.
References Dimension, and getFieldLayout().
|
privatepure virtual |
Implements PartBunch< PLayout_t< double, 3 >, double, 3 >.
Implemented in PartBunch< PLayout, T, Dim >, PartBunch< PLayout, T, Dim >, PartBunch< double, 3 >, and PartBunch< double, 3 >.
|
privatevirtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
Definition at line 497 of file .PartBunch.cpp.
References bc_m, eg_m, getFieldLayout(), getMesh(), hr_m, rho_m, and vbc_m.
|
privatevirtual |
Reimplemented from PartBunch< PLayout_t< double, 3 >, double, 3 >.
Reimplemented in PartBunch< PLayout, T, Dim >, PartBunch< PLayout, T, Dim >, PartBunch< double, 3 >, and PartBunch< double, 3 >.
|
inline |
Definition at line 376 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp().
|
inline |
Definition at line 453 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::initialize(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::repartition().
|
inline |
Definition at line 264 of file PartBunch.h.
Referenced by bunchUpdate(), and bunchUpdate().
Definition at line 1053 of file #PartBunch.hpp#.
|
inline |
Definition at line 503 of file PartBunch.h.
|
inline |
Definition at line 496 of file PartBunch.h.
|
inline |
Definition at line 1037 of file #PartBunch.hpp#.
Definition at line 1026 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT().
|
inline |
Definition at line 488 of file PartBunch.h.
| bc_type PartBunch< PLayout, T, Dim >::allPeriodic |
Definition at line 175 of file #PartBunch.hpp#.
Definition at line 132 of file PartBunch.h.
|
private |
for defining the boundary conditions
Definition at line 107 of file .PartBunch.h.
Referenced by updateFields().
Definition at line 131 of file PartBunch.h.
| ParticleAttrib<Vector_t<T, Dim> > PartBunch< PLayout, T, Dim >::Bf |
Definition at line 74 of file #PartBunch.hpp#.
Referenced by setup().
| ParticleAttrib<int> PartBunch< PLayout, T, Dim >::Bin |
Definition at line 75 of file #PartBunch.hpp#.
Referenced by PartBunch< PLayout_t< double, 3 >, double, 3 >::boundp_destroyT(), PartBunch< PLayout_t< double, 3 >, double, 3 >::destroyT(), and setup().
| std::unique_ptr<size_t[]> PartBunch< PLayout, T, Dim >::binemitted_m |
Definition at line 116 of file #PartBunch.hpp#.
Referenced by PartBunch().
| std::unique_ptr< double[]> PartBunch< PLayout, T, Dim >::bingamma_m |
holds the gamma of the bin
Definition at line 111 of file #PartBunch.hpp#.
Referenced by PartBunch().
|
private |
Definition at line 182 of file PartBunch.h.
Referenced by scatterCICPerBin().
| std::vector< size_t > PartBunch< PLayout, T, Dim >::bunchLocalNum_m |
Definition at line 132 of file #PartBunch.hpp#.
Referenced by PartBunch().
| ParticleAttrib<int> PartBunch< PLayout, T, Dim >::bunchNum |
Definition at line 70 of file #PartBunch.hpp#.
Referenced by setup().
| std::vector< size_t > PartBunch< PLayout, T, Dim >::bunchTotalNum_m |
number of particles per bunch
Definition at line 131 of file #PartBunch.hpp#.
Referenced by PartBunch().
| double PartBunch< PLayout, T, Dim >::centroid_m[2 *Dim] |
holds the centroid of the beam
Definition at line 154 of file #PartBunch.hpp#.
| double PartBunch< PLayout, T, Dim >::couplingConstant_m |
Definition at line 145 of file #PartBunch.hpp#.
Referenced by PartBunch().
Definition at line 194 of file #PartBunch.hpp#.
Referenced by PartBunch().
| std::array<bool, Dim> PartBunch< PLayout, T, Dim >::decomp_m |
Definition at line 136 of file PartBunch.h.
Referenced by PartBunch().
|
static |
Definition at line 64 of file .PartBunchBase.h.
Referenced by updateDomainLength().
| ippl::NDIndex<Dim> PartBunch< PLayout, T, Dim >::domain_m |
Definition at line 135 of file PartBunch.h.
Referenced by PartBunch().
Definition at line 133 of file PartBunch.h.
| ParticleAttrib<double> PartBunch< PLayout, T, Dim >::dt |
Definition at line 76 of file #PartBunch.hpp#.
Referenced by setup(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::switchToUnitlessPositions().
6x6 matrix of the moments of the beam
holds the timestep in seconds
Definition at line 160 of file #PartBunch.hpp#.
Referenced by PartBunch(), and PartBunch().
| ParticleAttrib<Vector_t<T, Dim> > PartBunch< PLayout, T, Dim >::E |
Definition at line 72 of file #PartBunch.hpp#.
| ParticleAttrib<Vector_t<T, Dim> > PartBunch< PLayout, T, Dim >::Ef |
Definition at line 73 of file #PartBunch.hpp#.
Referenced by setup().
| VField_t<T, Dim> PartBunch< PLayout, T, Dim >::EFD_m |
Definition at line 166 of file #PartBunch.hpp#.
| Field_t<Dim> PartBunch< PLayout, T, Dim >::EFDMag_m |
Definition at line 169 of file #PartBunch.hpp#.
| ParticleAttrib<Vector_t<T, Dim> > PartBunch< PLayout, T, Dim >::Eftmp |
Definition at line 78 of file #PartBunch.hpp#.
Referenced by setup().
| VField_t<T, Dim> PartBunch< PLayout, T, Dim >::eg_m |
Definition at line 167 of file #PartBunch.hpp#.
Referenced by updateFields().
vector field on the grid
Definition at line 94 of file .PartBunch.h.
|
private |
Temporary E field container used to store temporary E field during binned solver.
Definition at line 233 of file PartBunch.h.
| std::unique_ptr<std::ofstream> PartBunch< PLayout, T, Dim >::f_stream |
Definition at line 920 of file #PartBunch.hpp#.
Referenced by PartBunch().
Definition at line 139 of file #PartBunch.hpp#.
Referenced by PartBunch().
| Vector_t<T, Dim> PartBunch< PLayout, T, Dim >::globalMeanR_m |
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 98 of file #PartBunch.hpp#.
Referenced by PartBunch().
|
private |
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 163 of file PartBunch.h.
| std::unique_ptr< size_t[]> PartBunch< PLayout, T, Dim >::globalPartPerNode_m |
Definition at line 183 of file #PartBunch.hpp#.
Referenced by PartBunch(), PartBunch(), and setup().
|
private |
Definition at line 164 of file PartBunch.h.
Referenced by PartBunch().
| long long PartBunch< PLayout, T, Dim >::globalTrackStep_m |
if multiple TRACK commands
Definition at line 125 of file #PartBunch.hpp#.
Referenced by PartBunch(), and PartBunch().
| Vector_t< double, Dim > PartBunch< PLayout, T, Dim >::hr_m |
mesh size [m]
Definition at line 189 of file #PartBunch.hpp#.
Referenced by bunchUpdate(), bunchUpdate(), PartBunch(), PartBunch(), scatterCICPerBin(), and updateFields().
| std::string PartBunch< PLayout, T, Dim >::integration_method_m |
Definition at line 106 of file PartBunch.h.
Referenced by PartBunch().
|
private |
Definition at line 112 of file .PartBunch.h.
|
private |
Definition at line 110 of file .PartBunch.h.
Referenced by PartBunch().
| bool PartBunch< PLayout, T, Dim >::isFirstRepartition_m |
Definition at line 110 of file PartBunch.h.
Referenced by bunchUpdate(), bunchUpdate(), and PartBunch().
| std::array<bool, Dim> PartBunch< PLayout, T, Dim >::isParallel_m |
Definition at line 187 of file #PartBunch.hpp#.
Definition at line 104 of file PartBunch.h.
Referenced by PartBunch(), and scatterCICPerBin().
Definition at line 100 of file PartBunch.h.
Referenced by PartBunch().
| long long PartBunch< PLayout, T, Dim >::localTrackStep_m |
step in a TRACK command
Definition at line 122 of file #PartBunch.hpp#.
Referenced by PartBunch(), and PartBunch().
| ParticleAttrib<double> PartBunch< PLayout, T, Dim >::M |
Definition at line 69 of file #PartBunch.hpp#.
Referenced by create(), destroy(), ghostDestroy(), setup(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::swap().
| double PartBunch< PLayout, T, Dim >::massPerParticle_m |
Definition at line 147 of file #PartBunch.hpp#.
Referenced by PartBunch().
|
private |
Definition at line 115 of file PartBunch.h.
Referenced by PartBunch().
| Vector_t<T, Dim> PartBunch< PLayout, T, Dim >::nr_m |
Definition at line 185 of file #PartBunch.hpp#.
Referenced by bunchUpdate(), bunchUpdate(), PartBunch(), and PartBunch().
| Vector_t<int, Dim> PartBunch< PLayout, T, Dim >::nr_m |
Definition at line 121 of file PartBunch.h.
Definition at line 98 of file PartBunch.h.
Referenced by PartBunch().
|
private |
Definition at line 212 of file PartBunch.h.
Referenced by PartBunch().
|
private |
Definition at line 214 of file PartBunch.h.
Referenced by bunchUpdate(), bunchUpdate(), and PartBunch().
Definition at line 181 of file #PartBunch.hpp#.
| Vector_t<double, Dim> PartBunch< PLayout, T, Dim >::origin_m |
Definition at line 123 of file PartBunch.h.
Referenced by PartBunch().
| ParticleAttrib<Vector_t<T, Dim> > PartBunch< PLayout, T, Dim >::P |
Definition at line 71 of file #PartBunch.hpp#.
Referenced by PluginElement::changeWidth(), LF2< FieldFunction, Arguments >::doAdvance_m(), Probe::doCheck(), get_PBounds(), setup(), PartBunch< PLayout_t< double, 3 >, double, 3 >::swap(), and StatWriter::write().
| PartBins* PartBunch< PLayout, T, Dim >::pbin_m |
The structure for particle binning
Definition at line 105 of file #PartBunch.hpp#.
Referenced by PartBunch().
| double PartBunch< PLayout, T, Dim >::periodLength_m |
Definition at line 195 of file #PartBunch.hpp#.
Referenced by PartBunch().
| ParticleAttrib<double> PartBunch< PLayout, T, Dim >::Phi |
Definition at line 77 of file #PartBunch.hpp#.
Referenced by setup(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::swap().
| Field<T, Dim> PartBunch< PLayout, T, Dim >::phi_m |
Definition at line 172 of file #PartBunch.hpp#.
| std::unique_ptr<Inform> PartBunch< PLayout, T, Dim >::pmsg_m |
Definition at line 919 of file #PartBunch.hpp#.
Referenced by PartBunch(), and setup().
| ParticleAttrib<double> PartBunch< PLayout, T, Dim >::Q |
Definition at line 68 of file #PartBunch.hpp#.
Referenced by scatterCICPerBin(), setup(), and PartBunch< PLayout_t< double, 3 >, double, 3 >::swap().
Definition at line 197 of file #PartBunch.hpp#.
Definition at line 146 of file #PartBunch.hpp#.
Referenced by PartBunch(), PartBunch(), and scatterCICPerBin().
| const PartData* PartBunch< PLayout, T, Dim >::reference |
relative enlargement of the mesh
Definition at line 143 of file #PartBunch.hpp#.
Referenced by PartBunch().
|
private |
Definition at line 201 of file PartBunch.h.
| Vector_t<T, Dim> PartBunch< PLayout, T, Dim >::RefPartP_m |
Definition at line 86 of file #PartBunch.hpp#.
Referenced by PartBunch(), H5PartWrapperForPT::readStepHeader(), StatWriter::write(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t<double, Dim> PartBunch< PLayout, T, Dim >::RefPartP_m |
Definition at line 147 of file PartBunch.h.
| Vector_t<T, Dim> PartBunch< PLayout, T, Dim >::RefPartR_m |
Reference particle structures
Definition at line 85 of file #PartBunch.hpp#.
Referenced by PartBunch(), H5PartWrapperForPT::readStepHeader(), StatWriter::write(), and H5PartWrapperForPT::writeStepHeader().
| Vector_t<double, Dim> PartBunch< PLayout, T, Dim >::RefPartR_m |
Reference particle structures
Definition at line 146 of file PartBunch.h.
| Field_t<Dim> PartBunch< PLayout, T, Dim >::rho_m |
Definition at line 170 of file #PartBunch.hpp#.
Referenced by updateFields().
scalar potential
Definition at line 91 of file .PartBunch.h.
| Vector_t< double, Dim > PartBunch< PLayout, T, Dim >::rmax_m |
Definition at line 191 of file #PartBunch.hpp#.
Referenced by PartBunch(), PartBunch(), and scatterCICPerBin().
| Vector_t< double, Dim > PartBunch< PLayout, T, Dim >::rmin_m |
Definition at line 190 of file #PartBunch.hpp#.
Referenced by PartBunch(), PartBunch(), and scatterCICPerBin().
|
private |
Definition at line 117 of file PartBunch.h.
Referenced by PartBunch().
| Solver_t<T, Dim> PartBunch< PLayout, T, Dim >::solver_m |
Definition at line 66 of file #PartBunch.hpp#.
Referenced by PartBunch().
| std::string PartBunch< PLayout, T, Dim >::solver_m |
Definition at line 108 of file PartBunch.h.
the position along design trajectory
Definition at line 164 of file #PartBunch.hpp#.
Referenced by PartBunch().
| UnitState_t PartBunch< PLayout, T, Dim >::stateOfLastBoundP_m |
Definition at line 151 of file #PartBunch.hpp#.
| int PartBunch< PLayout, T, Dim >::stepsPerTurn_m |
steps per turn for OPAL-cycl
Definition at line 119 of file #PartBunch.hpp#.
Referenced by PartBunch().
| int PartBunch< PLayout, T, Dim >::SteptoLastInj_m |
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 137 of file #PartBunch.hpp#.
Referenced by PartBunch().
holds the actual time of the integration
Definition at line 162 of file #PartBunch.hpp#.
Referenced by PartBunch().
| double PartBunch< PLayout, T, Dim >::tEmission_m |
if larger than 0, emitt particles for tEmission_m [s]
The structure for particle binning
Definition at line 108 of file #PartBunch.hpp#.
Definition at line 94 of file PartBunch.h.
Referenced by PartBunch().
| CoordinateSystemTrafo PartBunch< PLayout, T, Dim >::toLabTrafo_m |
Definition at line 88 of file #PartBunch.hpp#.
| size_type PartBunch< PLayout, T, Dim >::totalP_m |
Definition at line 96 of file PartBunch.h.
Referenced by PartBunch(), and scatterCICPerBin().
| UnitState_t PartBunch< PLayout, T, Dim >::unit_state_m |
Definition at line 150 of file #PartBunch.hpp#.
|
private |
Definition at line 108 of file .PartBunch.h.
Referenced by updateFields().