|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Domain calculator responsible for finite-difference velocity calculation under periodic boundary conditions. More...
#include <VelocityIntegrator.hpp>
Static Public Member Functions | |
| static void | calculateVelocities (std::span< Cell > frames, real_t time_step) |
| Calculates velocities for all atoms across the provided sequence of frames using finite differences. | |
| static void | calculateVelocities (Trajectory &trajectory) |
| Calculates and populates velocities on all frames within a Trajectory instance. | |
Domain calculator responsible for finite-difference velocity calculation under periodic boundary conditions.
|
static |
Calculates velocities for all atoms across the provided sequence of frames using finite differences.
Utilizes forward difference on the first frame, backward difference on the last frame, and central differences on all interior frames under minimum-image periodic boundary conditions.
| [in,out] | frames | Span of mutable cell snapshots. |
| [in] | time_step | Constant time step between adjacent frames in femtoseconds. |

|
static |
Calculates and populates velocities on all frames within a Trajectory instance.
| [in,out] | trajectory | Trajectory container whose frames will be updated. |
