Tracks through a zero length multipole to simulate space charge effects
Parallel capable? : yes
GPU capable? : no
Backtracking capable? : no
Parameter Name  Units  Type  Default  Description 
GROUP  string  NULL  Optionally used to assign an element to a group, with a userdefined name. Group names will appear in the parameter output file in the column ElementGroup 

Important notes:
This element simulates transverse space charge (SC) kicks using K.Y. Ng’s formula [24].
The linear SC force is given by:
 (153) 
where K_{sc} = , L is the integrating length, σ_{x,y,z} are rms beam size.
The nonlinear SC force is given by:
 (154) 
where w(z) is the complex error function
 (155) 
Equation 154 appear to diverge when σ_{x} = σ_{y}. In fact, this is not true, because the expressions inside the square brackets will provide zero too at σ_{x} = σ_{y} to cancel the poles outside. In our code, we calculate this equation at 1.01σ_{x} and 0.99σ_{x}, and average the total effects.
To invoke the calculation, one must use set up command “insert_sceffects” proceed “run_setup” and “Twiss_output” command proceed “track”.
SCRAPER