Skip to content
Snippets Groups Projects
Commit 584b3d9c authored by Keon Hee KIM's avatar Keon Hee KIM
Browse files

change the default option for CircularResistiveWall to exact=True from exact=False

parent 7df41cfe
No related branches found
No related tags found
1 merge request!14Faster CircularResistiveWall
...@@ -87,7 +87,7 @@ class CircularResistiveWall(WakeField): ...@@ -87,7 +87,7 @@ class CircularResistiveWall(WakeField):
length, length,
rho, rho,
radius, radius,
exact=False): exact=True):
super().__init__() super().__init__()
self.length = length self.length = length
...@@ -125,7 +125,7 @@ class CircularResistiveWall(WakeField): ...@@ -125,7 +125,7 @@ class CircularResistiveWall(WakeField):
super().append_to_model(Wxdip) super().append_to_model(Wxdip)
super().append_to_model(Wydip) super().append_to_model(Wydip)
def LongitudinalWakeFunction(self, time, exact=False): def LongitudinalWakeFunction(self, time, exact=True):
""" """
Compute the longitudinal wake function of a circular resistive wall Compute the longitudinal wake function of a circular resistive wall
using Eq. (11), of [1], or approxmiated expression Eq. (24), of [2]. using Eq. (11), of [1], or approxmiated expression Eq. (24), of [2].
...@@ -183,7 +183,7 @@ class CircularResistiveWall(WakeField): ...@@ -183,7 +183,7 @@ class CircularResistiveWall(WakeField):
wl[idx2] = self.__LongWakeApprox(time[idx2]) wl[idx2] = self.__LongWakeApprox(time[idx2])
return wl return wl
def TransverseWakeFunction(self, time, exact=False): def TransverseWakeFunction(self, time, exact=True):
""" """
Compute the transverse wake function of a circular resistive wall Compute the transverse wake function of a circular resistive wall
using Eq. (11), of [1], or approxmiated expression Eq. (26), of [2]. using Eq. (11), of [1], or approxmiated expression Eq. (26), of [2].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment