ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
langevin_inline.hpp File Reference
#include "config/config.hpp"
#include "Particle.hpp"
#include "random.hpp"
#include "rotation.hpp"
#include "thermostat.hpp"
#include <utils/Vector.hpp>
#include <utils/matrix.hpp>
+ Include dependency graph for langevin_inline.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Utils::Vector3d friction_thermo_langevin (LangevinThermostat const &langevin, Particle const &p, double time_step, double kT)
 Langevin thermostat for particle translational velocities.
 
Utils::Vector3d friction_thermo_langevin_rotation (LangevinThermostat const &langevin, Particle const &p, double time_step, double kT)
 Langevin thermostat for particle angular velocities.
 

Function Documentation

◆ friction_thermo_langevin()

Utils::Vector3d friction_thermo_langevin ( LangevinThermostat const &  langevin,
Particle const &  p,
double  time_step,
double  kT 
)
inline

Langevin thermostat for particle translational velocities.

Parameters
[in]langevinParameters
[in]pParticle
[in]time_stepTime step
[in]kTThermal energy

Definition at line 41 of file langevin_inline.hpp.

References Particle::gamma(), LangevinThermostat::gamma, Particle::id(), LangevinThermostat::pref_friction, LangevinThermostat::pref_noise, BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), LangevinThermostat::sigma(), and Particle::v().

Referenced by System::System::thermostat_force_init().

◆ friction_thermo_langevin_rotation()

Utils::Vector3d friction_thermo_langevin_rotation ( LangevinThermostat const &  langevin,
Particle const &  p,
double  time_step,
double  kT 
)
inline

Langevin thermostat for particle angular velocities.

Parameters
[in]langevinParameters
[in]pParticle
[in]time_stepTime step
[in]kTThermal energy

Definition at line 69 of file langevin_inline.hpp.

References Particle::gamma_rot(), LangevinThermostat::gamma_rotation, Particle::id(), Particle::omega(), LangevinThermostat::pref_noise_rotation, BaseThermostat::rng_counter(), BaseThermostat::rng_seed(), and LangevinThermostat::sigma().

Referenced by System::System::thermostat_force_init().