Skip to content

Commit

Permalink
1.0.1-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Apr 2, 2024
1 parent 8df870f commit 8aeac10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
## [1.0.1-rc1]

Changes for the upcoming release of SuperNOVAS, possibly around 1 June 2024. Stay tuned...

Expand All @@ -24,8 +24,7 @@ Changes for the upcoming release of SuperNOVAS, possibly around 1 June 2024. Sta

### Changes

- Changed definition of `NOVAS_AU` to the IAU definition of exactly 149597870.7 km (a <10 m change from the
previously defined value).
- Changed definition of `AU` to the IAU definition of exactly 1.495978707e+11 m.
- Various corrections and changes to documentation.


Expand Down
6 changes: 3 additions & 3 deletions include/novas.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@
/// [m/s] Speed of light in meters/second is a defining physical constant.
#define NOVAS_C 299792458.0

/// [m] Astronomical unit in meters. Value is AU_SEC * C. IAU definition.
/// [m] Astronomical unit in meters. IAU definition.
/// See <a href="https://www.iau.org/static/resolutions/IAU2012_English.pdf">IAU 2012 Resolution B2</a>.
#define NOVAS_AU 1.495978707e+11

/*
/// [m] Astronomical unit in meters. Value is AU_SEC * C. (Old definition)
/// [m] Astronomical unit in meters. Value is AU_SEC * C, based on DE-405. (Old definition)
#define NOVAS_AU 1.4959787069098932e+11
*/

/// [AU] Light-time for one astronomical unit (AU) in seconds, from DE-405.
/// [AU] Light-time for one astronomical unit (AU) in seconds.
#define NOVAS_AU_SEC ( NOVAS_AU / NOVAS_C )

/// [AU/day] Speed of light in AU/day. Value is 86400 / AU_SEC.
Expand Down

0 comments on commit 8aeac10

Please sign in to comment.