atcollab / at

Accelerator Toolbox
Apache License 2.0
48 stars 31 forks source link

B0 added twice in exactkickrad #736

Closed swhite2401 closed 5 months ago

swhite2401 commented 5 months ago

Hello @lfarv,

We we looking at the function ex_strthinkickrad in exactkickrad.c with @JeanLucPons and we don't understand why B0 is added again in line 171:

https://github.com/atcollab/at/blob/d804a2d5e5c52fa7adb53afca80086697a277a9b/atintegrators/exactkickrad.c#L171

Is this a bug or are there good reasons for it to be added here?

Thanks!

JeanLucPons commented 5 months ago

Hello, I was confused by the name B0 which does not refer the PolynomB[0]. ex_strthinkickrad() is always called by ExactMultiplolePass with B0 = 0.0 JL

swhite2401 commented 5 months ago

Ah ok good, so when close this issue?