ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
rattle.hpp File Reference

RATTLE algorithm ([4]). More...

+ Include dependency graph for rattle.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void save_old_position (const ParticleRange &particles, const ParticleRange &ghost_particles)
 Transfer the current particle positions from Particle::pos to Particle::pos_last_time_step.
 
void correct_position_shake (CellStructure &cs, BoxGeometry const &box_geo)
 Propagate velocity and position while using SHAKE algorithm for bond constraint.
 
void correct_velocity_shake (CellStructure &cs, BoxGeometry const &box_geo)
 Correction of current velocities using RATTLE algorithm.
 

Detailed Description

RATTLE algorithm ([4]).

For more information see rattle.cpp.

Definition in file rattle.hpp.

Function Documentation

◆ correct_position_shake()

◆ correct_velocity_shake()

◆ save_old_position()

void save_old_position ( const ParticleRange particles,
const ParticleRange ghost_particles 
)

Transfer the current particle positions from Particle::pos to Particle::pos_last_time_step.

Transfer the current particle positions from Particle::pos to Particle::pos_last_time_step.

Parameters
particlesparticle range
ghost_particlesghost particle range

Definition at line 44 of file rattle.cpp.

Referenced by System::System::integrate().