Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
VelocityIntegrator.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
11#include "core/Cell.hpp"
12
13#include <span>
14
15namespace correlation::core {
16
17class Trajectory;
18
24public:
36 static void calculateVelocities(std::span<Cell> frames, real_t time_step);
37
42 static void calculateVelocities(Trajectory &trajectory);
43};
44
45} // namespace correlation::core
Simulation cell structure with periodic boundary conditions.
This class stores a series of snapshots of a system.
Definition Trajectory.hpp:32
Domain calculator responsible for finite-difference velocity calculation under periodic boundary cond...
Definition VelocityIntegrator.hpp:23
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.
Definition VelocityIntegrator.cpp:71
Definition ITrajectoryCalculator.hpp:13
double real_t
Definition Precision.hpp:18