ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
velocity_verlet_inline.hpp File Reference
#include "config/config.hpp"
#include "Particle.hpp"
#include "ParticleRange.hpp"
#include "cell_system/CellStructure.hpp"
#include "rotation.hpp"
+ Include dependency graph for velocity_verlet_inline.hpp:
+ This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

◆ velocity_verlet_propagator_1()

void velocity_verlet_propagator_1 ( 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().

◆ velocity_verlet_propagator_2()

void velocity_verlet_propagator_2 ( Particle p,
double  time_step 
)
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().

◆ velocity_verlet_rotator_1()

void velocity_verlet_rotator_1 ( Particle p,
double  time_step 
)
inline

◆ velocity_verlet_rotator_2()

void velocity_verlet_rotator_2 ( Particle p,
double  time_step 
)
inline