Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: espressomd/espresso
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c5a4f903cc26bed8290d649d0a78ecc3c2e7349c
Choose a base ref
..
head repository: espressomd/espresso
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 670a4df64d872d7b1e992388b6f17bf4fce44f9b
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/reaction_ensemble.cpp
6 changes: 3 additions & 3 deletions src/core/reaction_ensemble.cpp
Original file line number Diff line number Diff line change
@@ -833,9 +833,9 @@ bool ReactionAlgorithm::do_global_mc_move_for_particles_of_type(
new_pos = get_random_position_in_box();
double vel[3];
auto const &p = get_particle_data(p_id);
vel[0] = std::sqrt(temperature/p.p.mass) * gaussian_random();
vel[1] = std::sqrt(temperature/p.p.mass) * gaussian_random();
vel[2] = std::sqrt(temperature/p.p.mass) * gaussian_random();
vel[0] = std::sqrt(temperature / p.p.mass) * gaussian_random();
vel[1] = std::sqrt(temperature / p.p.mass) * gaussian_random();
vel[2] = std::sqrt(temperature / p.p.mass) * gaussian_random();
set_particle_v(p_id, vel);
// new_pos=get_random_position_in_box_enhanced_proposal_of_small_radii();
// //enhanced proposal of small radii