![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "config/config.hpp"
#include "random.hpp"
#include "thermostat.hpp"
#include <utils/Vector.hpp>
#include <cstddef>
Go to the source code of this file.
Functions | |
Utils::Vector3d | propagate_therm0_nptiso (IsotropicNptThermostat const &npt_iso, Utils::Vector3d const &vel, double mass, int p_identity) |
Add velocity-dependent noise and friction for NpT-sims to the particle's velocity; \( p(t) = p(t) \exp(- \gamma_0 dt / m)
+ \sqrt{k_B T (1 - \exp(-2 \gamma_0 dt)}N(0,1) \). | |
double | propagate_thermV_nptiso (IsotropicNptThermostat const &npt_iso, double p_epsilon, double piston) |
Added noise and friction for NpT-sims to NptIsoParameters::p_epsilon; \( p_{\epsilon} = p_{epsilon}(t) \exp(- \gamma_V dt / W)
+ \sqrt{k_B T (1 - \exp(-2 \gamma_V dt / W)}N(0,1) \). | |
|
inline |
Add velocity-dependent noise and friction for NpT-sims to the particle's velocity; \( p(t) = p(t) \exp(- \gamma_0 dt / m) + \sqrt{k_B T (1 - \exp(-2 \gamma_0 dt)}N(0,1) \).
npt_iso | Parameters |
vel | particle velocity |
mass | particle mass |
p_identity | particle identity |
Definition at line 48 of file npt_inline.hpp.
References IsotropicNptThermostat::gamma0, IsotropicNptThermostat::pref_noise_0, IsotropicNptThermostat::pref_rescale_0, BaseThermostat::rng_counter(), and BaseThermostat::rng_seed().
Referenced by velocity_verlet_npt_propagate_pos().
|
inline |
Added noise and friction for NpT-sims to NptIsoParameters::p_epsilon; \( p_{\epsilon} = p_{epsilon}(t) \exp(- \gamma_V dt / W) + \sqrt{k_B T (1 - \exp(-2 \gamma_V dt / W)}N(0,1) \).
npt_iso | Parameters |
p_epsilon | conjugate momentum of volume |
piston | piston mass |
Definition at line 69 of file npt_inline.hpp.
References IsotropicNptThermostat::gammav, IsotropicNptThermostat::pref_noise_V, IsotropicNptThermostat::pref_rescale_V, BaseThermostat::rng_counter(), and BaseThermostat::rng_seed().
Referenced by velocity_verlet_npt_propagate_pos().