-
Notifications
You must be signed in to change notification settings - Fork 55
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
[WIP] OverdampedLangevin simulator and PotentialFunction interaction #150
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #150 +/- ##
==========================================
+ Coverage 72.37% 72.38% +0.01%
==========================================
Files 35 35
Lines 5212 5232 +20
==========================================
+ Hits 3772 3787 +15
- Misses 1440 1445 +5
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'm not sure the potential function stuff is worth putting in the main Molly codebase though.
Would be good to add OverdampedLangevin
as a simulator in the "Langevin splitting"
test set, or maybe there is a better way to test some property resulting from an overdamped Langevin simulation.
There was a discussion about how different atomic masses affect the time step, is this implementation consistent with the conclusions of that discussion?
src/simulators.jl
Outdated
""" | ||
OverdampedLangevin(; <keyword arguments>) | ||
|
||
Simulates the overdamped Langevin equation using the Euler-Maruyama method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a canonical paper to reference here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Euler Maruyama scheme is pretty standard, even Wikipedia forgoes the reference..
Considering the limit underdamped Langevin
I removed that part
It is actually simulating another dynamics then (underdamped) Langevin. The two would conincide only in the limit
This is now consistent with these considerations. The units are accounted for by taking the (finite) friction into account. |
Great, thanks. |
I would really like to have these functions (And eventually a
GirsanovOverdampedLangevin
simulator).This is still work in progress.