Class SpaceChargeCalc3D#
Defined in File SpaceChargeCalc3D.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Class Documentation#
-
class SpaceChargeCalc3D : public OrbitUtils::CppPyWrapper#
Public Functions
-
SpaceChargeCalc3D(int xSize, int ySize, int zSize)#
Constructor with the 3D grid sizes.
-
virtual ~SpaceChargeCalc3D()#
Destructor
-
void trackBunch(Bunch *bunch, double length)#
Calculates space charge and applies 3D kicks to the macro-particles in the bunch.
-
void setRatioLimit(double ratio_limit_in)#
Sets the ratio limit for the shape change and Green Function recalculations.
-
double getRatioLimit()#
Returns the ratio limit for the shape change and Green Function recalculations.
-
void setNumberOfExternalBunches(int nBunches)#
Set number of bunches from both sides for space charge calculations
-
void setFrequencyOfBunches(double frequency)#
Set frequency of the arrivals of the bunches
-
int getNumberOfExternalBunches()#
Get number of bunches from both sides for space charge calculations
-
double getFrequencyOfBunches()#
Get frequency of the arrivals of the bunches
-
SpaceChargeCalc3D(int xSize, int ySize, int zSize)#