seams-core v2.14.2
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
traj::TrajectoryUnwrapper Class Reference

Stateful streaming unwrapper across periodic frames. More...

#include <src/include/internal/trajectory.hpp>

Public Member Functions

 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)

Detailed Description

Stateful streaming unwrapper across periodic frames.

Definition at line 118 of file trajectory.hpp.

Constructor & Destructor Documentation

◆ TrajectoryUnwrapper()

traj::TrajectoryUnwrapper::TrajectoryUnwrapper ( std::size_t nParticles = 0)
explicit

Member Function Documentation

◆ framesSeen()

std::size_t traj::TrajectoryUnwrapper::framesSeen ( ) const
inlinenodiscardnoexcept

Definition at line 127 of file trajectory.hpp.

127{ return framesSeen_; }

◆ numParticles()

std::size_t traj::TrajectoryUnwrapper::numParticles ( ) const
inlinenodiscardnoexcept

Definition at line 126 of file trajectory.hpp.

126{ return nParticles_; }

◆ 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: