|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Orchestrates structural analysis across multiple frames of a trajectory. More...
#include <TrajectoryAnalyzer.hpp>

Public Member Functions | |
Constructors | |
| TrajectoryAnalyzer (correlation::core::Trajectory &trajectory, real_t neighbor_cutoff, BondCutoffMatrix bond_cutoffs, StartFrame start_frame={0}, EndFrame end_frame={std::numeric_limits< size_t >::max()}, bool ignore_periodic_self_interactions=true, const std::function< void(float, const std::string &)> &progress_callback=nullptr) | |
Accessors | |
| std::unique_ptr< StructureAnalyzer > | createAnalyzer (size_t frame_idx) const |
| Factory method to create a StructureAnalyzer for a specific frame. | |
| std::unique_ptr< StructureAnalyzer > | createAnalyzer (std::shared_ptr< const correlation::core::Cell > cell) const |
| Factory method to create a StructureAnalyzer from an already-loaded shared Cell. | |
| size_t | getNumFrames () const |
| size_t | getStartFrame () const |
| real_t | getTimeStep () const |
| real_t | getNeighborCutoff () const |
| const BondCutoffMatrix & | getBondCutoffs () const |
| bool | getIgnorePeriodicSelfInteractions () const |
Private Attributes | |
| correlation::core::Trajectory * | trajectory_ |
| Pointer to the source trajectory. | |
| size_t | start_frame_ |
| Analysis window start. | |
| size_t | effective_end_ |
| Analysis window end (exclusive). | |
| real_t | time_step_ |
| Time step between frames. | |
| real_t | neighbor_cutoff_ |
| Neighbor search radius. | |
| BondCutoffMatrix | bond_cutoffs_ |
| Squared bond cutoff ranges per pair. | |
| bool | ignore_periodic_self_interactions_ |
| Interaction guard flag. | |
Orchestrates structural analysis across multiple frames of a trajectory.
This class handles iteration over trajectory frames, providing a mechanism to create frame-specific StructureAnalyzer instances. It also manages high-level analysis settings such as start/end frames and periodic interaction toggles.
| correlation::analysis::TrajectoryAnalyzer::TrajectoryAnalyzer | ( | correlation::core::Trajectory & | trajectory, |
| real_t | neighbor_cutoff, | ||
| BondCutoffMatrix | bond_cutoffs, | ||
| StartFrame | start_frame = {0}, | ||
| EndFrame | end_frame = {std::numeric_limits<size_t>::max()}, | ||
| bool | ignore_periodic_self_interactions = true, | ||
| const std::function< void(float, const std::string &)> & | progress_callback = nullptr ) |

|
nodiscard |
Factory method to create a StructureAnalyzer for a specific frame.
| frame_idx | The frame index within the trajectory. |


|
nodiscard |
Factory method to create a StructureAnalyzer from an already-loaded shared Cell.
| cell | Shared pointer to an immutable Cell frame (avoids re-parsing/copying the frame). |
|
inlinenodiscard |

|
inlinenodiscard |
|
inlinenodiscard |

|
inlinenodiscard |

|
inlinenodiscard |

|
inlinenodiscard |

|
private |
Squared bond cutoff ranges per pair.
|
private |
Analysis window end (exclusive).
|
private |
Interaction guard flag.
|
private |
Neighbor search radius.
|
private |
Analysis window start.
|
private |
Time step between frames.
|
private |
Pointer to the source trajectory.