Skip to content

Commit

Permalink
Merge pull request #611 from danieljprice/v2025
Browse files Browse the repository at this point in the history
V2025
  • Loading branch information
danieljprice authored Jan 17, 2025
2 parents 14141c7 + 335b667 commit e2367af
Show file tree
Hide file tree
Showing 471 changed files with 571 additions and 530 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,6 @@ Stephen Nielson <[email protected]> s-neilson <36410751+s-neils
Stephen Nielson <[email protected]> Stephen Neilson <[email protected]>
Yann Bernard <[email protected]> Yrisch <[email protected]>
David Bamba <[email protected]> DavidBamba <[email protected]>
Amber Tilly <[email protected]> AmberBTilly <[email protected]>
Ryosuke Hirai <[email protected]> ryosuke-hirai <[email protected]>

24 changes: 0 additions & 24 deletions .slackmap

This file was deleted.

3 changes: 1 addition & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Alessia Franchini <[email protected]>
Alex Pettitt <[email protected]>
Jolien Malfait <[email protected]>
Phantom benchmark bot <[email protected]>
Ryosuke Hirai <[email protected]>
Kieran Hirsh <[email protected]>
Nicole Rodrigues <[email protected]>
Ana Lourdes Juarez <[email protected]>
Expand All @@ -57,7 +58,6 @@ Farzana Meru <[email protected]>
Nicolás Cuello <[email protected]>
Chris Nixon <[email protected]>
Miguel Gonzalez-Bolivar <[email protected]>
AmberBTilly <[email protected]>
Benoit Commercon <[email protected]>
Christopher Russell <[email protected]>
Giulia Ballabio <[email protected]>
Expand All @@ -67,7 +67,6 @@ Maxime Lombart <[email protected]>
Orsola De Marco <[email protected]>
Shunquan Huang <[email protected]>
Zachary Pellow <[email protected]>
ryosuke-hirai <[email protected]>
Ariel Chitan <[email protected]>
Chunliang Mu <[email protected]>
Cox, Samuel <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion LICENCE → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!------------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code !
! Copyright (c) 2007-2024 Daniel Price and contributors (see AUTHORS file) !
! Copyright (c) 2007-2025 Daniel Price and contributors (see AUTHORS file) !
!------------------------------------------------------------------------------!
!
! Phantom is free software; you can redistribute it and/or modify
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# See build/Makefile for the main Makefile
#
# (c) 2007-2024 The Authors (see AUTHORS)
# (c) 2007-2025 The Authors (see AUTHORS)
#
#----------------------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ If you need help, please try the following, in order:

1. Check the [documentation](https://phantomsph.readthedocs.org/).
2. If you encounter a bug, [file an issue](https://github.com/danieljprice/phantom/issues/new)
3. If you want to request a feature, [file an issue](https://github.com/danieljprice/phantom/issues/new), using the issue tracker.
4. If you need help on how to use phantom, [file an issue](https://github.com/danieljprice/phantom/issues/new)
3. If you want to request a feature, [start a discussion](https://github.com/danieljprice/phantom/discussions/new)
4. If you need help on how to use phantom, [start a discussion](https://github.com/danieljprice/phantom/discussions/new)

We welcome general discussion about Phantom, Smoothed Particle Hydrodynamics,
and astrophysics at the [Phantom Slack](https://phantomsph.slack.com/). However, please use the github issues for support requests.
Expand All @@ -70,5 +70,5 @@ Other things
For CHANGES see the release notes: https://phantomsph.readthedocs.io/en/latest/releasenotes.html.
See LICENCE file for usage and distribution conditions.

Copyright (c) 2007-2023 Daniel Price and contributors (see AUTHORS file).
Copyright (c) 2007-2025 Daniel Price and contributors (see AUTHORS file).

4 changes: 2 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#--------------------------------------------------------------------------!
# The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
# Copyright (c) 2007-2024 The Authors (see AUTHORS) !
# Copyright (c) 2007-2025 The Authors (see AUTHORS) !
# See LICENCE file for usage and distribution conditions !
# http://users.monash.edu.au/~dprice/phantom !
#--------------------------------------------------------------------------!
Expand All @@ -19,7 +19,7 @@

.KEEP_STATE:

PHANTOM_VERSION_MAJOR=2024
PHANTOM_VERSION_MAJOR=2025
PHANTOM_VERSION_MINOR=0
PHANTOM_VERSION_MICRO=0
VERSION=$(PHANTOM_VERSION_MAJOR).$(PHANTOM_VERSION_MINOR).$(PHANTOM_VERSION_MICRO)
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
# -- Project information -----------------------------------------------------

project = 'Phantom'
copyright = '2024 The Authors'
copyright = '2025 The Authors'
author = 'Daniel Price'

# The short X.Y version
version = '2024.0'
version = '2025.0'
# The full version, including alpha/beta/rc tags
release = '2024.0.0'
release = '2025.0.0'


# -- General configuration ---------------------------------------------------
Expand Down
68 changes: 64 additions & 4 deletions docs/releasenotes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,66 @@
Release notes
=============

v2025.0.0 - 17th Jan 2025
-------------------------

Physics
~~~~~~~
- Adaptive Particle Refinement implemented in phantom (`Nealon & Price 2025 <https://ui.adsabs.harvard.edu/abs/2024arXiv240911470N>`__; #595)
- 4th order Forward Symplectic Integrator now used by default instead of Leapfrog for sink particles and gravitational dynamics (thanks to Yann Bernard; #523, #539, #564, #601)
- Regularisation and slow down methods implemented for sink-sink interactions (thanks to Yann Bernard; #536, #583)
- New star cluster formation prescription drawing from initial mass function (thanks to Yann Bernard; #548, #577)
- New prescription for stellar feedback due to HII region expansion (thanks to Yann Bernard; #577)
- New porosity evolution module for dust growth (`Michoulier, Gonzalez & Price 2024 <https://ui.adsabs.harvard.edu/abs/2024A&A...688A..31M>`__; #526)
- Added surface force on sink particles from `Ayliffe & Bate 2010 <http://adsabs.harvard.edu/abs/2010MNRAS.408..876A>`__ (thanks to Rebecca Martin, #568)
- Added tracking/accounting of accreted energy (i.e. negative energy removed by deleting particles) to .ev file (#552)
- New injection module for infall-driven self gravitating discs (thanks to Cristiano Longarini; #553, #554)
- Ability to use tabulated metric independently of Einstein Toolkit (thanks to David Bamba; #572)
- Updated coupling between Phantom and KROME (thanks to Mats Esseldeurs; #510)
- Tillotson equation of state for asteroids and other solar system bodies (thanks to Amber Tilly; #609)
- ability to use sink particles in GR (thanks to Megha Sharma; #608)
- Bug fix with exact cooling integration scheme (thanks to Chris Russell; #585, #588)
- Bug fix with very slow simulations due to sink particles failing to accrete (thanks to Chris Russell and Yann Bernard; #588, #589)
- Bug fix with timestep controls in MHD causing unnecessarily short time steps (thanks to Hugh Griffiths; #537)
- Bug fixes and better tests added for sink particles in external potentials, Chinese coin problem from Phantom paper now run automatically in the testsuite (#535)
- Bug fixes with iorig array used to track unique particle IDs (thanks to Mats Esseldeurs; #509)
- Bug fix with corotating frame (thanks to Mike Lau; #563, #562)
- Bug fix with calculation of gamma in dust nucleation (thanks to Lionel Siess; #533)
- Bug fix with failure to converge on density after splitting a dump (thanks to Christophe Pinte; #517)

Setup
~~~~~
- can now enter star and orbital quantities in .setup file in arbitrary units (#600)
- improved/more robust reading of MESA data files for setting up stars (thanks to Ryosuke Hirai; #605, #607)
- new setup for mass transfer simulations (thanks to Ana Juarez; #561)
- improved windtunnel setup (thanks to Mike Lau; #597)
- improved setup for discs around black holes (SETUP=grdisc), with ability to add sink particles/stars on arbitrary orbits around the black hole (#545)
- issues with grdisc setup fixed (thanks to Ariel Chitan; #571)
- improved solar system setup (SETUP=solarsystem), including new add_body routine to add solar system bodies individually (#609)
- bug fixes and improvements in set_star routines (with thanks to Mike Lau; #495, #592, #596)
- SETUP=asteroidwind is now randomwind, can input Mdot in either g/s or Msun/yr (thanks to Rebecca Nealon, Madeline Overton and Shunquan Huang; #463, #566, #578)
- setup and link against KROME library is now checked in github actions workflow (#489)

Analysis/moddump utilities
~~~~~~~~~~~~~~~~~~~~~~~~~~
- new moddump to inject particles from one simulation into another (Hu et al. 2025, submitted; #503)
- various updates to common envelope analysis module (thanks to Mike Lau; #541, #591)
- new moddump that converts a non-radiative dump to a radiative dump (#525)
- updated analysis module for analysing self-gravitating disc stresses (thanks to Cristiano Longarini; #556)

Other
~~~~~
- SYSTEM=ifx option for compiling with new intel compiler (thanks to Lionel Siess; #559)
- all required datafiles now permanently archived and automatically downloaded from Zenodo, rather than a personal web page (#580)
- better testing of all equations of state in the test suite (#528)
- use isink=1 by default if isink is not already set when using ieos=6 / locally isothermal centred on sink (thanks to Kateryna Andrych)
- better testing of options in star setups, testsuite now automatically checks all values of iprofile
- compatibility issues with Shamrock fixed (#518)
- better documentation on stellar relaxation (thanks to Chunliang Mu; #504)
- issue with software license fixed (#473)
- improved documentation on how to archive your data


v2024.0.0 - 29th Jan 2024
-------------------------

Expand All @@ -11,16 +71,16 @@ Physics
- further improvements to wind injection and cooling modules (thanks to Lionel Siess, Mats Esseldeurs, Silke Maes and Jolien Malfait; #392,)
- J2 potential due to oblateness implemented for sink particles (#289)
- external potential implemented for geopotential model, to test J2 potential (#289)
- implemented Loren/Bate implicit scheme for drag with dust-as-particles (thanks to Stephane Michoulier, #428,#436)
- implemented Loren/Bate implicit scheme for drag with dust-as-particles (thanks to Stephane Michoulier; #428,#436)
- dynamic boundary conditions, allowing box with expanding boundaries (thanks to James Wurster; #416)
- bug fix in generalised Farris equation of state (thanks to Nicolas Cuello; #433)

Setup
~~~~~
- major reorganisation of star setup into separate module, can now setup and relax one or more stars in several different setups, allowing one-shot-setup-and-relax for common envelopes, binary stars and tidal disruption events (#405,#407,#413)
- new hierarchical system setup: can now setup an arbitrary number of point masses or stars in hierarchical systems (thanks to Simone Ceppi; #401,#426; see `Ceppi et al. 2022 <https://ui.adsabs.harvard.edu/abs/2022MNRAS.514..906C/abstract>`__)
- relaxation process for stars is restartable, works automatically (#414, #417)
- can setup unbound parabolic and hyperbolic orbits using the standard 6-parameter orbital elements (#443,#448; #302)
- relaxation process for stars is restartable, works automatically (#414,#417)
- can setup unbound parabolic and hyperbolic orbits using the standard 6-parameter orbital elements (#443,#448,#302)
- use m1 and m2 in the binary disc setup instead of primary mass and mass ratio (#431)
- new "wind tunnel" setup and injection module (thanks to Mike Lau; #470)
- new "solar system" setup for placing solar system planets and minor bodies by downloading their published orbital elements (#430)
Expand All @@ -34,7 +94,7 @@ Analysis/moddump utilities
- cleanup and further enhancements to common envelope analysis routines (thanks to Miguel Gonzalez-Bolivar; #467,#462)
- moddump_sink displays correct value of sink luminosity (#439)
- analysis routine for radio emission from tidal disruption events (thanks to Fitz Hu; #472)
- new analysis routine to compute time of dust formation (`Bermudez-Bustamante et al. 2023 <https://ui.adsabs.harvard.edu/abs/2024arXiv240103644B/abstract>`__)
- new analysis routine to compute time of dust formation (`Bermudez-Bustamante et al. 2024 <https://ui.adsabs.harvard.edu/abs/2024MNRAS.533..464B>`__)

Other
~~~~~
Expand Down
2 changes: 1 addition & 1 deletion src/main/H2regions.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/apr.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/apr_region.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/bondiexact.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/bondiexact_gr.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/boundary.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/boundary_dynamic.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/centreofmass.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/checkconserved.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/checkoptions.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/checksetup.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/config.F90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
2 changes: 1 addition & 1 deletion src/main/cons2prim.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!--------------------------------------------------------------------------!
! The Phantom Smoothed Particle Hydrodynamics code, by Daniel Price et al. !
! Copyright (c) 2007-2024 The Authors (see AUTHORS) !
! Copyright (c) 2007-2025 The Authors (see AUTHORS) !
! See LICENCE file for usage and distribution conditions !
! http://phantomsph.github.io/ !
!--------------------------------------------------------------------------!
Expand Down
Loading

0 comments on commit e2367af

Please sign in to comment.