ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "config/config.hpp"
#include "Particle.hpp"
#include "ParticleRange.hpp"
#include "cell_system/CellStructure.hpp"
#include "rotation.hpp"
Go to the source code of this file.
Functions | |
void | velocity_verlet_propagator_1 (Particle &p, double time_step) |
Propagate the velocities and positions. | |
void | velocity_verlet_propagator_2 (Particle &p, double time_step) |
Final integration step of the Velocity Verlet integrator. | |
void | velocity_verlet_rotator_1 (Particle &p, double time_step) |
void | velocity_verlet_rotator_2 (Particle &p, double time_step) |
|
inline |
Propagate the velocities and positions.
Integration steps before force calculation of the Velocity Verlet integrator:
\[ v(t+0.5 \Delta t) = v(t) + 0.5 \Delta t f(t)/m \]
\[ p(t+\Delta t) = p(t) + \Delta t v(t+0.5 \Delta t) \]
Definition at line 34 of file velocity_verlet_inline.hpp.
References Particle::force(), Particle::is_fixed_along(), Particle::mass(), Particle::pos(), and Particle::v().
Referenced by integrator_step_1().
|
inline |
Final integration step of the Velocity Verlet integrator.
\[ v(t+\Delta t) = v(t+0.5 \Delta t) + 0.5 \Delta t f(t+\Delta t)/m \]
Definition at line 50 of file velocity_verlet_inline.hpp.
References Particle::force(), Particle::is_fixed_along(), Particle::mass(), and Particle::v().
Referenced by integrator_step_2().
|
inline |
Definition at line 60 of file velocity_verlet_inline.hpp.
References Particle::can_rotate(), and propagate_omega_quat_particle().
Referenced by integrator_step_1().
|
inline |
Definition at line 65 of file velocity_verlet_inline.hpp.
References Particle::can_rotate(), and convert_torque_propagate_omega().
Referenced by integrator_step_2().