![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "config/config.hpp"#include "Particle.hpp"#include "random.hpp"#include "rotation.hpp"#include "thermostat.hpp"#include <utils/Vector.hpp>#include <cmath>
Include dependency graph for thermostats/brownian_inline.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
|
inline |
Determine position: viscous drag driven by conservative forces.
From eq. (14.39) in [40].
| [in] | brownian_gamma | Brownian translational gamma |
| [in] | p | Particle |
| [in] | dt | Time step |
Definition at line 41 of file thermostats/brownian_inline.hpp.
References convert_vector_body_to_space(), convert_vector_space_to_body(), Particle::force(), Particle::gamma(), Particle::is_fixed_along(), and stream.
Referenced by brownian_dynamics_propagator().
|
inline |
Determine quaternions: viscous drag driven by conservative torques.
An analogy of eq. (14.39) in [40].
| [in] | brownian_gamma_rotation | Brownian rotational gamma |
| [in] | p | Particle |
| [in] | dt | Time step |
Definition at line 245 of file thermostats/brownian_inline.hpp.
References Particle::can_rotate_around(), Particle::gamma_rot(), local_rotate_particle_body(), Particle::quat(), Particle::rotation(), stream, and Particle::torque().
Referenced by brownian_dynamics_rotator().
|
inline |
Set the terminal velocity driven by the conservative forces drag.
From eq. (14.34) in [40].
| [in] | brownian_gamma | Brownian translational gamma |
| [in] | p | Particle |
Definition at line 94 of file thermostats/brownian_inline.hpp.
References convert_vector_body_to_space(), convert_vector_space_to_body(), Particle::force(), Particle::gamma(), Particle::is_fixed_along(), stream, and velocity().
Referenced by brownian_dynamics_propagator().
|
inline |
Set the terminal angular velocity driven by the conservative torques drag.
An analogy of the 1st term of eq. (14.34) in [40].
| [in] | brownian_gamma_rotation | Brownian rotational gamma |
| [in] | p | Particle |
Definition at line 284 of file thermostats/brownian_inline.hpp.
References Particle::can_rotate_around(), Particle::gamma_rot(), Particle::rotation(), stream, and Particle::torque().
Referenced by brownian_dynamics_rotator().
|
inline |
Determine the positions: random walk part.
From eq. (14.37) in [40].
| [in] | brownian | Parameters |
| [in] | p | Particle |
| [in] | dt | Time step |
| [in] | kT | Thermal energy |
Definition at line 150 of file thermostats/brownian_inline.hpp.
References convert_vector_body_to_space(), Particle::gamma(), Particle::id(), Particle::is_fixed_along(), BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), BrownianThermostat::sigma(), BrownianThermostat::sigma_pos, and stream.
Referenced by brownian_dynamics_propagator().
|
inline |
Determine the quaternions: random walk part.
An analogy of eq. (14.37) in [40].
| [in] | brownian | Parameters |
| [in] | p | Particle |
| [in] | dt | Time step |
| [in] | kT | Thermal energy |
Definition at line 318 of file thermostats/brownian_inline.hpp.
References Particle::can_rotate_around(), Particle::gamma_rot(), Particle::id(), local_rotate_particle_body(), Particle::quat(), BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), Particle::rotation(), BrownianThermostat::sigma(), BrownianThermostat::sigma_pos_rotation, and stream.
Referenced by brownian_dynamics_rotator().
|
inline |
Determine the velocities: random walk part.
From eq. (10.2.16) in [37].
| [in] | brownian | Parameters |
| [in] | p | Particle |
Definition at line 216 of file thermostats/brownian_inline.hpp.
References Particle::id(), Particle::is_fixed_along(), Particle::mass(), BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), BrownianThermostat::sigma_vel, stream, and velocity().
Referenced by brownian_dynamics_propagator().
|
inline |
Determine the angular velocities: random walk part.
An analogy of eq. (10.2.16) in [37].
| [in] | brownian | Parameters |
| [in] | p | Particle |
Definition at line 365 of file thermostats/brownian_inline.hpp.
References Particle::can_rotate_around(), Particle::id(), Particle::rinertia(), BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), Particle::rotation(), BrownianThermostat::sigma_vel_rotation, and stream.
Referenced by brownian_dynamics_rotator().