|
Orrery
A GPU-accelerated N-body gravitational simulator
|
An acceleration in double precision, whatever the build's scalar type is. More...
#include <orrery/solvers/reference_kernel.hpp>
Public Attributes | |
| double | x {} |
| double | y {} |
| double | z {} |
An acceleration in double precision, whatever the build's scalar type is.
A distinct type rather than core::Vec3 because the whole point of the reference is that it is not held in the precision under test. Returning a Vec3 would round the answer back to float in the single-precision build and quietly destroy the accuracy this file exists to provide.