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,
nptiso.
piston, time_step);
62 langevin->rng_increment();
65 brownian->rng_increment();
69 npt_iso->rng_increment();
77#ifdef STOKESIAN_DYNAMICS
79 stokesian->rng_increment();
83 thermalized_bond->rng_increment();
89 if (get_system().lb.is_solver_set() and ::comm_cart.rank() == 0 and
92 <<
"Recalculating forces, so the LB coupling forces are not "
93 "included in the particle force the first time step. This "
94 "only matters if it happens frequently during sampling.";
96 lb->couple_to_md =
false;
102 for (
auto &kv : bonded_ias) {
103 if (
auto *bond = boost::get<ThermalizedBond>(&(*kv.second))) {
104 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.
double piston
mass of a virtual piston representing the shaken box
void recalc_prefactors(double time_step, BondedInteractionsMap &bonded_ias)
Routines to thermalize the center of mass and distance of a particle pair.