Velocity Verlet step in documentation has a typo
Closed this issue · 3 comments
In the documentation (https://espressomd.github.io/doc/integration.html#velocity-verlet-algorithm) the force used for the first half step is
espresso/src/core/integrators/velocity_verlet_inline.hpp
Lines 34 to 45 in abb087c
Used in
espresso/src/core/integrate.cpp
Line 436 in abb087c
(Note the calculate_forces
before it calls integrator_step_1
the code does what the doc says.
whether that is correct, is not obvious for velocity dependent forces (cited literature makes no statement about such forces)
in step 4, the velocity argument to the force is missing (same as in step 3)
Unless I'm overlooking something, at step 4 we have forces calculated based on
Offline discussion: the user guide is consistent with the C++ code. There is only one typo to fix.