espressomd / espresso

The ESPResSo package

Home Page:https://espressomd.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LB: velocity updated missing in population and force setters

RudolfWeeber opened this issue · comments

Setting populatoins and/or last_applied force changes the velocity of an LB site.

Our implementation caches the velocities in a velocity field, which is calculated during the LB update.
An LB site's velocity field entry ahs to be updatd, when populaoitns or last_applied_force on that site are changed. This is currently missing. Among others, this results in an all-zero velocity field in the firt time step after restoring an LB from a checkpoint.