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

A run, stopped. More...

#include <orrery/sim/checkpoint.hpp>

Public Attributes

Configuration configuration
 The settings the run was started with, including the ones the command line supplied rather than the file.
core::Index step = 0
 How many steps had been taken when this was written.
core::ParticleData particles
 Positions, velocities, accelerations and masses, exactly as they were.

Detailed Description

A run, stopped.

Member Data Documentation

◆ step

core::Index orrery::sim::Checkpoint::step = 0

How many steps had been taken when this was written.

The simulated time is this times the timestep, and is not stored separately. Two fields that must agree are how they come to disagree, and this is the one the run counts in.


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