Class SpaceChargeCalc2p5D#

Inheritance Relationships#

Base Type#

Class Documentation#

class SpaceChargeCalc2p5D : public OrbitUtils::CppPyWrapper#

Public Functions

SpaceChargeCalc2p5D(int xSize, int ySize, int zSize, double xy_ratio_in)#

Constructor

SpaceChargeCalc2p5D(int xSize, int ySize, int zSize)#
virtual ~SpaceChargeCalc2p5D()#

Destructor

void trackBunch(Bunch *bunch, double length, BaseBoundary2D *boundary)#

Calculates space charge and applies the transverse and longitudinal SC kicks to the macro-particles in the bunch.

Grid2D *getRhoGrid()#

Returns the 2D rho grid with a transverse density distribution.

Grid2D *getPhiGrid()#

Returns the 2D phi grid with a transverse potential.

Grid1D *getLongGrid()#

Returns the 1D grid with a longitudinal density.

Protected Attributes

PoissonSolverFFT2D *poissonSolver#
Grid2D *rhoGrid#
Grid2D *phiGrid#
Grid1D *zGrid#
OrbitUtils::BunchExtremaCalculator *bunchExtremaCalc#
double xy_ratio#