Something went wrong on our end
Faster CircularResistiveWall
1 unresolved thread
1 unresolved thread
Compare changes
- Keon Hee KIM authored
@@ -186,8 +186,11 @@ class CircularResistiveWall(WakeField):
Update CircularResistiveWall class in resistive_wall.py to replace numerical integrations with an analytical forms for improved performance.
I believe "atol" is not needed when considering the fundamental theorem of beam loading. This is because Wl(0) = Wl(0+)/2 is comes from the equation Wl(0) = [Wl(0-)*l/2 + Wl(0+)*l/2] / l, which represents the average Wl value of a very narrow bin (as the length of bin l -> 0) at the origin. Defining "atol" for the fundamental theorem of beam loading introduces the possibility that more than one point could be divided by 2, which I believe is mathematically and physically unacceptable. Thus, it is correct to consider the fundamental theorem of beam loading only at the origin. PyHEADTAIL also considers the fundamental theorem of beam loading only at the origin. Please see def function_longitudinal at the link (line 341).
The place to be for your source code