-
Notifications
You must be signed in to change notification settings - Fork 189
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
Documentation of VV, NPT, Thermostats #2939
Conversation
with a single position ``pos`` as an argument can be used. | ||
For the GPU fluid :class:`espressomd.lb.LBFluidGPU` | ||
also :py:attr:`espressomd.lb.LBFluidGPU.get_interpolated_fluid_velocity_at_positions()` | ||
is available, which expects a numpy array of positions as an argument. |
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.
could you please also mention the issue of interpolating velocities near boundaries?
Codecov Report
@@ Coverage Diff @@
## python #2939 +/- ##
=======================================
- Coverage 83% 82% -1%
=======================================
Files 520 519 -1
Lines 26746 26958 +212
=======================================
- Hits 22328 22312 -16
- Misses 4418 4646 +228
Continue to review full report at Codecov.
|
doc/sphinx/system_setup.rst
Outdated
|
||
The keyword ``seed`` controls the state of the random number generator (Philox | ||
Counter-based RNG) and is required on first activation of the thermostat. It | ||
can be omitted in subsequent calls of ``set_langevin()``. It is the user's | ||
responsibility to decide whether the thermostat should be deterministic (by | ||
using a fixed seed) or not (by using a randomized seed). | ||
|
||
The diffusion coeffictient :math:`D` of the particle can be obtained by the Einstein-Smoluchowski relation |
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.
We should discuss to what degree the plain Einstein-Smoluchowski relation is applicable to the gamma which is set in the thermostat. In my mind what is presented in the text only holds for ideal systems. Interactions in the system will modify the DIffusion coefficient -- otherwise there would never be a need to measure diffusion coefficients using the mean squared displacement or a green kubo formula in MD simulations.
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.
I agree with @jonaslandsgesell, the documentation should not make statements about the diffusion coefficient 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.
@jonaslandsgesell I would remove the mention of the diffusion coefficient entirely, as @fweik suggested.
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.
Hey Christoph. Why not removing it?yes, I mean for ideal (noninteracting ) particles one should observe D=kT/gamma_thermostat. So we state that gamma is the friction of the thermostat somewhere?
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.
We say that gamma is the bare friction coefficient for the Langevin equation and any physics beyond that should be the user's responsibility.
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.
Sounds good!
Concerning the dimensions enabled/disabled for scaling in the NPT algorithm: The corresponding code has not been touched since the original commit from 2004. Should I just mark that option as not tested and leave it like that? |
mark NPT as experimental and update "Usage Status = None" in: |
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.
bors r+
bors r- |
Canceled |
I checked NPT against Monte Carlo volume moves. It seems to work, in principle. The PR improves the docs alot. I'd suggest not to defer much longer and instead open a new pr if there is something to add. |
bors r=RudolfWeeber |
2939: Documentation of VV, NPT, Thermostats r=RudolfWeeber a=christophlohrmann Fixes #2680 Description of changes: - Added sphinx documentation for velocity verlet, NPT - Added/Updated sphinx documentation for Langevin, NPT, LB, DPD thermostat - Found some papers as reference PR Checklist ------------ - [ ] Tests? - [ ] Interface - [ ] Core - [x] Docs? 3006: Reduce usage of local cells r=fweik a=KaiSzuttor Fixes part of #2899 Description of changes: - replacement for #2991 3008: Removed from __future__ r=jngrad a=jrfinkbeiner Fixes #3004 3015: Update checkpointing docs r=jngrad a=RudolfWeeber Fixes #2808 Co-authored-by: Christoph Lohrmann <clohrmann@icp.uni-stuttgart.de> Co-authored-by: Jean-Noël Grad <jgrad@icp.uni-stuttgart.de> Co-authored-by: Kai Szuttor <kai@icp.uni-stuttgart.de> Co-authored-by: Alexander Reinauer <st144434@stud.uni-stuttgart.de> Co-authored-by: Jan Finkbeiner <st144298@stud.uni-stuttgart.de> Co-authored-by: Rudolf Weeber <weeber@icp.uni-stuttgart.de>
Timed out (retrying...) |
1 similar comment
Timed out (retrying...) |
2939: Documentation of VV, NPT, Thermostats r=RudolfWeeber a=christophlohrmann Fixes #2680 Description of changes: - Added sphinx documentation for velocity verlet, NPT - Added/Updated sphinx documentation for Langevin, NPT, LB, DPD thermostat - Found some papers as reference PR Checklist ------------ - [ ] Tests? - [ ] Interface - [ ] Core - [x] Docs? 3006: Reduce usage of local cells r=fweik a=KaiSzuttor Fixes part of #2899 Description of changes: - replacement for #2991 Co-authored-by: Christoph Lohrmann <clohrmann@icp.uni-stuttgart.de> Co-authored-by: Jean-Noël Grad <jgrad@icp.uni-stuttgart.de> Co-authored-by: Kai Szuttor <kai@icp.uni-stuttgart.de> Co-authored-by: Alexander Reinauer <st144434@stud.uni-stuttgart.de>
Build succeeded |
Merge conflict (retrying...) |
Merge conflict |
Fixes #2680
Description of changes:
PR Checklist