Stateful streaming unwrapper across periodic frames.
More...
#include <src/include/internal/trajectory.hpp>
|
| | TrajectoryUnwrapper (std::size_t nParticles=0) |
| void | reset (std::size_t nParticles=0) |
| | A count above kMaxTriples leaves the unwrapper empty, and pushFrame refuses such a count.
|
| std::size_t | numParticles () const noexcept |
| std::size_t | framesSeen () const noexcept |
| bool | pushFrame (const double *xyz, std::size_t nParticles, const BoxCell &cell, double *unwrappedOut) |
Stateful streaming unwrapper across periodic frames.
Definition at line 118 of file trajectory.hpp.
◆ TrajectoryUnwrapper()
| traj::TrajectoryUnwrapper::TrajectoryUnwrapper |
( |
std::size_t | nParticles = 0 | ) |
|
|
explicit |
◆ framesSeen()
| std::size_t traj::TrajectoryUnwrapper::framesSeen |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ numParticles()
| std::size_t traj::TrajectoryUnwrapper::numParticles |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ pushFrame()
| bool traj::TrajectoryUnwrapper::pushFrame |
( |
const double * | xyz, |
|
|
std::size_t | nParticles, |
|
|
const BoxCell & | cell, |
|
|
double * | unwrappedOut ) |
◆ reset()
| void traj::TrajectoryUnwrapper::reset |
( |
std::size_t | nParticles = 0 | ) |
|
A count above kMaxTriples leaves the unwrapper empty, and pushFrame refuses such a count.
The documentation for this class was generated from the following file: