Orrery
A GPU-accelerated N-body gravitational simulator
Loading...
Searching...
No Matches
orrery::sim::TrajectoryInfo Struct Reference

What a trajectory file's header says about it. More...

#include <orrery/sim/trajectory.hpp>

Public Attributes

core::Index particle_count = 0
core::Real timestep = 0
 The timestep the run used, so that a frame's step index can be turned into a time without the configuration file.
bool has_velocities = false
bool single_precision = false
 Whether the file was written by a single-precision build.

Detailed Description

What a trajectory file's header says about it.

Member Data Documentation

◆ single_precision

bool orrery::sim::TrajectoryInfo::single_precision = false

Whether the file was written by a single-precision build.

A reader compiled the other way round refuses the file. The alternative, converting, would mean a double-precision analysis silently reporting figures to sixteen digits of which seven were meaningful.


The documentation for this struct was generated from the following file: