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

[Fix] CircularResistiveWall wake function sign

Fix approximated longitudinal wake function sign in CircularResistiveWall
parent 2b93c2d9
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ class CircularResistiveWall(WakeField):
np.cos( np.sqrt(3) * t / self.t0 )
- np.sqrt(2) / np.pi * val )
else:
wl = (-1/(4*np.pi * self.radius)
wl = (1/(4*np.pi * self.radius)
* np.sqrt(Z0 * self.rho / (c * np.pi) )
/ time**(3/2) ) * self.length
ind = np.isnan(wl)
......
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