Skip to content
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

Draw Maxwell distributed velocities in ReactionAlgorithm::do_global_mc_move_for_particles_of_type #1770

Closed
jonaslandsgesell opened this issue Jan 17, 2018 · 1 comment

Comments

@jonaslandsgesell
Copy link
Member

jonaslandsgesell commented Jan 17, 2018

In order to get kinetic observables right (e.g. the kinetic part of the stress tensor). Right now the velocities of particles are not changed. That means if particles are created without velocity they stay having no velocity. Static observables are not affected here.

@jonaslandsgesell
Copy link
Member Author

jonaslandsgesell commented Jan 30, 2018

There is code on drawing from the maxwell distribution in deleted code in https://github.com/espressomd/espresso/pull/1793/files (maxwell_velocitiesC() )

thepith added a commit to thepith/espresso that referenced this issue Nov 26, 2018
Draw a random velocity according to the Maxwell-Boltzmann distribution.

Fixes espressomd#1770
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant