Class SpaceChargeCalcSliceBySlice2D#
Defined in File SpaceChargeCalcSliceBySlice2D.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Class Documentation#
-
class SpaceChargeCalcSliceBySlice2D : public OrbitUtils::CppPyWrapper#
Public Functions
-
SpaceChargeCalcSliceBySlice2D(int xSize, int ySize, int zSize, double xy_ratio_in)#
Constructor
-
SpaceChargeCalcSliceBySlice2D(int xSize, int ySize, int zSize)#
-
virtual ~SpaceChargeCalcSliceBySlice2D()#
Destructor
-
void trackBunch(Bunch *bunch, double length, BaseBoundary2D *boundary)#
Calculates space charge and applies the transverse SC kicks to the macro-particles in the bunch.
-
void longTracking(int useLongTracking)#
Sets if we will use the longitudinal dynamics for bunch tracking. Remember if there is no boundary this settings is irrelevant, we cannot perform longitudinal electric field from the Space Charge Solver. useLongTracking = 1 - will use, 0 - no.
-
int getLongitudinalTracking()#
Protected Attributes
-
PoissonSolverFFT2D *poissonSolver#
-
OrbitUtils::BunchExtremaCalculator *bunchExtremaCalc#
-
double xy_ratio#
-
SpaceChargeCalcSliceBySlice2D(int xSize, int ySize, int zSize, double xy_ratio_in)#