24#ifdef ESPRESSO_STOKESIAN_DYNAMICS
28#include "thermostat.hpp"
33 double time_step,
double kT) {
36 for (
auto &p : particles) {
38 p.pos() += p.v() * time_step;
40 auto const norm = p.omega().norm();
42 auto const omega_unit = (1. / norm) * p.omega();
This file contains all subroutines required to process rotational motion.
void local_rotate_particle(Particle &p, const Utils::Vector3d &axis_space_frame, const double phi)
Rotate the particle p around the NORMALIZED axis aSpaceFrame by amount phi.
See for the Stokesian dynamics method used here.
void stokesian_dynamics_step_1(ParticleRangeStokesian const &particles, StokesianDynamics const &integrator, StokesianThermostat const &stokesian, double time_step, double kT)
void propagate_vel_pos(ParticleRangeStokesian const &particles, StokesianThermostat const &stokesian, double time_step, double kT) const
Take the forces and torques on all particles and compute velocities.
Thermostat for Stokesian dynamics.