Skip to content
Snippets Groups Projects
Commit 6186e11f authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

[Fix] CircularResistiveWall longitudinal wake function

The approximated longitudinal wake function in CircularResistiveWall correctly takes into account the length
parent a34c5150
No related branches found
No related tags found
No related merge requests found
......@@ -151,7 +151,7 @@ class CircularResistiveWall(WakeField):
else:
wl = (-1/(4*np.pi * self.radius)
* np.sqrt(Z0 * self.rho / (c * np.pi) )
/ time**(3/2) )
/ time**(3/2) ) * self.length
ind = np.isnan(wl)
wl[ind] = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment