-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional form for BAOAB solver #519
Comments
After reading the paper a little bit, I now understand that the point of the BAOAB method is to include this term in the middle "O" operation for better accuracy. As a compromise for applications different than molecular sampling, I'd suggest going back to @jamesgardner1421's second proposition, where For my application, for example, where I need:
I can use
with I can make a PR, if that is acceptable. |
What about a gamma and a beta, separate terms? |
Fixed by #520 |
need to update docs? |
There weren't any docs for this algorithm. I actually found it by chance, going through the code. As far as I understand, this is the only algo for second-order SDEs, and there isn't even a section in the docs for that. |
From PR #397, it is stated that the functional form assumed for the SDE with the
BAOAB
solver isThis is not what I would expect, since it has an extra
-gamma*v*dt
term. Is there a reason for this difference?Comparing with the ODE case in the following script, the solutions are different:
The text was updated successfully, but these errors were encountered: