nbody-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

PhysicsConstants

Contents

Description

Note that all SI defined quantities are rational numbers as they are precisely defined as such. Any experimentally derived constants are provided as doubles in as much precision as is known modulo floating point errors.

Synopsis

Constants

nGSI :: Double Source #

Newton's Gravitational constant in SI units (m^3 kg^-1 s^-2), usually unused.

cSI :: Rational Source #

Speed of light in SI units (m s^-1)

cAU :: Rational Source #

Speed of light in au units (au days^-1)

au :: Rational Source #

Standard Astronomical Unit (au) as defined by IAU2012 in metres

aukm :: Rational Source #

Standard Astronomical Unit (au) as defined by IAU2012 in kilometres

secondsInDay :: Rational Source #

SI Defined number of seconds in non-standard unit day

aGMtoSIGM :: Floating f => f -> f Source #

Converts Astronomical GM (au^3 days^-2) to SIkm GM (km^3 s^-2)