|
faunus
|
Base class for dynamics integrators. More...
#include <forcemove.h>


Public Member Functions | |
| virtual void | step (PointVector &velocities, PointVector &forces)=0 |
| Move particles by one time step and update their positions, velocities and acting forces. More... | |
| virtual void | from_json (const json &j)=0 |
| virtual void | to_json (json &j) const =0 |
Protected Member Functions | |
| IntegratorBase (Space &, Energy::EnergyTerm &) | |
Protected Attributes | |
| Space & | spc |
| Energy::EnergyTerm & | energy |
Base class for dynamics integrators.
Integrators progress the simulation in time steps. Positions and velocities of the particles as well as forces acting on them are updated in every time step as prescribed by the given integrator scheme.
|
pure virtual |
Move particles by one time step and update their positions, velocities and acting forces.
| velocities | a vector of particles' velocities |
| forces | a vector of particles' forces |
Implemented in Faunus::move::LangevinVelocityVerlet.
1.8.13