Skip to content

Commit

Permalink
Updating version to 4.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Dec 30, 2024
1 parent be46545 commit 81b669a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Version](https://img.shields.io/badge/rebound-v4.4.5-green.svg?style=flat)](https://rebound.readthedocs.org)
[![Version](https://img.shields.io/badge/rebound-v4.4.6-green.svg?style=flat)](https://rebound.readthedocs.org)
[![PyPI](https://badge.fury.io/py/rebound.svg)](https://badge.fury.io/py/rebound)
[![GPL](https://img.shields.io/badge/license-GPL-green.svg?style=flat)](https://github.com/hannorein/rebound/blob/main/LICENSE)
[![Paper](https://img.shields.io/badge/arXiv-1110.4876-green.svg?style=flat)](https://arxiv.org/abs/1110.4876)
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This changelog only includes the most important changes in recent updates. For a

## Version 4.x

### Version 4.4.6
* When initializing particles with "uniform" in python, REBOUND now uses its own `reb_random_uniform()` function. This avoids importing the "random" library and makes results reproducible as the random seed of the simulation is used when generating random numbers.
* More cracefull interrupt handling. REBOUND now stop the integration after the next timestep when CTRL-C is pressed the first time. If CTRL-C s pressed twice, then long loops (during gravity, collision calculations) are terminated immediately. Continuing an integration after one CTRL-C press should be easier with this change as the simulation does not get corrupted.
* Fixed typos in documentation.

### Version 4.4.5
* Version updated to test github workflows

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ghash = subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii")
ghash_arg = "-DGITHASH="+ghash.strip()
except:
ghash_arg = "-DGITHASH=5d649b9125ed899b4cb25025712c3edf22be76a0" #GITHASHAUTOUPDATE
ghash_arg = "-DGITHASH=be4654593929232c50cce49e27913af43a9db2b8" #GITHASHAUTOUPDATE

extra_link_args=[]
if sys.platform == 'darwin':
Expand Down Expand Up @@ -84,7 +84,7 @@
long_description = f.read()

setup(name='rebound',
version='4.4.5',
version='4.4.6',
description='An open-source multi-purpose N-body code',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion src/rebound.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void usleep(__int64 usec);
const int reb_max_messages_length = 1024; // needs to be constant expression for array size
const int reb_N_max_messages = 10;
const char* reb_build_str = __DATE__ " " __TIME__; // Date and time build string.
const char* reb_version_str = "4.4.5"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually.
const char* reb_version_str = "4.4.6"; // **VERSIONLINE** This line gets updated automatically. Do not edit manually.
const char* reb_githash_str = STRINGIFY(GITHASH); // This line gets updated automatically. Do not edit manually.

static int reb_simulation_error_message_waiting(struct reb_simulation* const r);
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.4.5
4.4.6
2 changes: 1 addition & 1 deletion web_client/shell_rebound.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<div id="overlay" onclick="document.getElementById('overlay-toggle').innerHTML='1'; console.log('no');">
<div id="overlaytext">
<div class="reboundlogo"></div>
REBOUND v4.4.5 <!-- VERSIONLINE -->
REBOUND v4.4.6 <!-- VERSIONLINE -->
</div>
</div>
<div id="overlay-help">
Expand Down
2 changes: 1 addition & 1 deletion web_client/shell_rebound_console.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<div id="overlay" onclick="document.getElementById('overlay-toggle').innerHTML='1'; console.log('no');">
<div id="overlaytext">
<div class="reboundlogo"></div>
REBOUND v4.4.5 <!-- VERSIONLINE -->
REBOUND v4.4.6 <!-- VERSIONLINE -->
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion web_client/shell_rebound_webgl.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<div id="overlay" onclick="document.getElementById('overlay-toggle').innerHTML='1'; console.log('no');">
<div id="overlaytext">
<div class="reboundlogo"></div>
REBOUND v4.4.5 <!-- VERSIONLINE -->
REBOUND v4.4.6 <!-- VERSIONLINE -->
</div>
</div>
<div id="overlay-help">
Expand Down

0 comments on commit 81b669a

Please sign in to comment.