ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <particle_coupling.hpp>
Public Member Functions | |
ParticleCoupling (LBThermostat const &thermostat, LB::Solver &lb, BoxGeometry const &box_geo, LocalBox const &local_box) | |
Utils::Vector3d | get_noise_term (Particle const &p) const |
void | kernel (std::vector< Particle * > const &particles) |
Definition at line 69 of file particle_coupling.hpp.
|
inline |
Definition at line 78 of file particle_coupling.hpp.
References LB::Solver::get_kT(), LB::Solver::get_lattice_speed(), LB::Solver::get_tau(), and Utils::sqr().
Utils::Vector3d LB::ParticleCoupling::get_noise_term | ( | Particle const & | p | ) | const |
Definition at line 204 of file particle_coupling.cpp.
References LBThermostat::gamma, Utils::hadamard_product(), Particle::id(), lb_handle_particle_anisotropy(), BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), and Utils::sqrt().
Referenced by kernel().
void LB::ParticleCoupling::kernel | ( | std::vector< Particle * > const & | particles | ) |
Definition at line 216 of file particle_coupling.cpp.
References LB::Solver::add_forces_at_pos(), Utils::Vector< T, N >::broadcast(), BoxGeometry::folded_position(), LBThermostat::gamma, LB::Solver::get_agrid(), LB::Solver::get_coupling_interpolated_velocities(), get_noise_term(), in_box(), lb_drag_force(), LEES_EDWARDS, lees_edwards_vel_shift(), LocalBox::my_left(), LocalBox::my_right(), positions_in_halo_impl(), and BoxGeometry::type().