33#include "system/System.hpp"
36#include <boost/variant.hpp>
39 if (thermalized_bond) {
40 thermalized_bond->recalc_prefactors(time_step, *(get_system().bonded_ias));
43 langevin->recalc_prefactors(kT, time_step);
46 brownian->recalc_prefactors(kT);
55 npt_iso->recalc_prefactors(kT, get_system().nptiso->piston,
56 get_system().nptiso->mass_list, time_step);
63 langevin->rng_increment();
66 brownian->rng_increment();
70 npt_iso->rng_increment();
78#ifdef STOKESIAN_DYNAMICS
80 stokesian->rng_increment();
84 thermalized_bond->rng_increment();
90 if (get_system().lb.is_solver_set() and ::comm_cart.rank() == 0 and
93 <<
"Recalculating forces, so the LB coupling forces are not "
94 "included in the particle force the first time step. This "
95 "only matters if it happens frequently during sampling.";
97 lb->couple_to_md =
false;
103 for (
auto &kv : bonded_ias) {
104 if (
auto *bond = boost::get<ThermalizedBond>(&(*kv.second))) {
105 bond->recalc_prefactors(time_step);
Data structures for bonded interactions.
container for bonded interactions.
void philox_counter_increment()
Increment RNG counters.
void lb_coupling_deactivate()
void recalc_prefactors(double time_step)
Initialize constants of all thermostats.
This file contains the defaults for ESPResSo.
void dpd_init(double kT, double time_step)
Routines to use DPD as thermostat or pair force .
This file contains the errorhandling code for severe errors, like a broken bond or illegal parameter ...
#define runtimeWarningMsg()
Exports for the NpT code.
void recalc_prefactors(double time_step, BondedInteractionsMap &bonded_ias)
Routines to thermalize the center of mass and distance of a particle pair.