|
Orrery
A GPU-accelerated N-body gravitational simulator
|
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. | |
What a trajectory file's header says about it.
| 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.