Skip to content

Commit 7af07e6

Browse files
committed
Merge remote-tracking branch 'origin/dev' into tides_pseudo_sync
2 parents 56ba593 + c18a089 commit 7af07e6

File tree

22 files changed

+395
-313
lines changed

22 files changed

+395
-313
lines changed

README.md

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,55 @@ https://compas.science/docs
1616
Please email your queries to compas-user@googlegroups.com. You are also welcome to join the [COMPAS User Google Group](https://groups.google.com/forum/#!members/compas-user) to engage in discussions with COMPAS users and developers.
1717

1818
## Acknowledgements
19-
If you use this code or parts of this code for results presented in a scientific publication, we would greatly appreciate if you send us your paper reference and make your input settings and output data publicly available by uploading it to the [COMPAS Zenodo community](https://zenodo.org/communities/compas/). Please also kindly include citations to our COMPAS methods paper https://ui.adsabs.harvard.edu/abs/2021arXiv210910352T/abstract. As the public COMPAS code is a product of work by the entire COMPAS collaboration over many years, we kindly request that, in recognition of this team effort, the paper is cited as “Team COMPAS: J. Riley et al.”. An example bibtex code is:
20-
21-
@ARTICLE{2022ApJS..258...34R,
22-
author = {{Riley}, Jeff and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-G{\'o}mez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold and {Team Compas}},
19+
If you use this code or parts of this code for results presented in a scientific publication, we would greatly appreciate if you send us your paper reference and make your input settings and output data
20+
publicly available by uploading it to the [COMPAS Zenodo community](https://zenodo.org/communities/compas/). Please also kindly include citations to our COMPAS methods papers
21+
https://ui.adsabs.harvard.edu/abs/2022ApJS..258...34R
22+
and
23+
https://ui.adsabs.harvard.edu/abs/2025ApJS..280...43T .
24+
As the public COMPAS code is a product of work by the entire COMPAS collaboration over many years, we kindly request that, in recognition of
25+
this team effort, the papers are cited as “Team COMPAS: J. Riley et al. (2021)” and "Team COMPAS: I. Mandel et al. (2025). Example bibtex codes are:
26+
27+
@ARTICLE{compas2021,
28+
author = {{Team COMPAS: Riley}, Jeff and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-G{\'o}mez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold},
2329
title = "{Rapid Stellar and Binary Population Synthesis with COMPAS}",
2430
journal = {\apjs},
25-
keywords = {1622, 154, 1108, 162, Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - High Energy Astrophysical Phenomena, Astrophysics - Solar and Stellar Astrophysics},
31+
keywords = {1622, 154, 1108, 162},
2632
year = 2022,
2733
month = feb,
2834
volume = {258},
2935
number = {2},
3036
eid = {34},
3137
pages = {34},
3238
doi = {10.3847/1538-4365/ac416c},
33-
archivePrefix = {arXiv},
34-
eprint = {2109.10352},
35-
primaryClass = {astro-ph.IM},
3639
adsurl = {https://ui.adsabs.harvard.edu/abs/2022ApJS..258...34R},
3740
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
3841
}
3942

43+
@ARTICLE{compas2025,
44+
author = {{Team COMPAS: Mandel}, Ilya and {Riley}, Jeff and {Boesky}, Adam and {Brcek}, Adam and {Hirai}, Ryosuke and {Kapil}, Veome and {Lau}, Mike Y.~M. and {Merritt}, JD and {Rodr{\'\i}guez-Segovia}, Nicol{\'a}s and {Romero-Shaw}, Isobel and {Song}, Yuzhe and {Stevenson}, Simon and {Vajpeyi}, Avi and {van Son}, L.~A.~C. and {Vigna-G{\'o}mez}, Alejandro and {Willcox}, Reinhold},
45+
title = "{Rapid Stellar and Binary Population Synthesis with COMPAS: Methods Paper II}",
46+
journal = {\apjs},
47+
keywords = {Binary stars, Stellar populations, Stellar evolution, Stellar evolutionary models, Stellar remnants, 154, 1622, 1599, 2046, 1627, Solar and Stellar Astrophysics, High Energy Astrophysical Phenomena, Instrumentation and Methods for Astrophysics},
48+
year = 2025,
49+
month = sep,
50+
volume = {280},
51+
number = {1},
52+
eid = {43},
53+
pages = {43},
54+
doi = {10.3847/1538-4365/adf8d0},
55+
archivePrefix = {arXiv},
56+
eprint = {2506.02316},
57+
primaryClass = {astro-ph.SR},
58+
adsurl = {https://ui.adsabs.harvard.edu/abs/2025ApJS..280...43T},
59+
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
60+
}
4061

41-
Note that the preferred acknowledgement relies on \noopsort and cites the paper as TEAM COMPAS; Riley et al.; to make it work, you'll have to include the following line at the start of your bibtex file:
42-
@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }
62+
##Note that the preferred acknowledgement relies on \noopsort and cites the paper as TEAM COMPAS; Riley et al.; to make it work, you'll have to include the following line at the start of your bibtex file:
63+
##@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }
4364

44-
and change the author line in the bib entry to:
65+
##and change the author line in the bib entry to:
4566

46-
author = {{\noopsort{Team COMPAS}}{Team COMPAS: Riley, J.} and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-Gomez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold}
67+
##author = {{\noopsort{Team COMPAS}}{Team COMPAS: Riley, J.} and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-Gomez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold}
4768

4869

4970

compas_python_utils/preprocessing/compasConfigDefault.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##~!!~## COMPAS option values
2-
##~!!~## File Created Tue Sep 2 22:42:52 2025 by COMPAS v03.26.00
2+
##~!!~## File Created Mon Oct 27 18:34:22 2025 by COMPAS v03.27.01
33
##~!!~##
44
##~!!~## The default COMPAS YAML file (``compasConfigDefault.yaml``), as distributed, has
55
##~!!~## all COMPAS option entries commented so that the COMPAS default value for the
@@ -29,7 +29,7 @@ booleanChoices:
2929
# --enhance-CHE-lifetimes-luminosities: True # Default: True
3030
# --expel-convective-envelope-above-luminosity-threshold: False # Default: False
3131
# --natal-kick-for-PPISN: False # Default: False
32-
# --scale-CHE-mass-loss-with-surface-helium-abundance: True # Default: True
32+
# --scale-mass-loss-with-surface-helium-abundance: True # Default: True
3333

3434
### BINARY PROPERTIES
3535
# --allow-touching-at-birth: False # Default: False # record binaries that have stars touching at birth in output files
@@ -57,6 +57,7 @@ booleanChoices:
5757
# --allow-non-stripped-ECSN: False # Default: False
5858
# --pair-instability-supernovae: True # Default: True
5959
# --pulsational-pair-instability: True # Default: True
60+
# --USSN-kicks-override-mandel-muller: False # Default: False
6061

6162
### PULSAR PARAMETERS
6263
# --evolve-pulsars: False # Default: False
@@ -243,7 +244,7 @@ stringChoices:
243244
# --envelope-state-prescription: 'LEGACY' # Default: 'LEGACY' # Options: ['CONVECTIVE_MASS_FRACTION','FIXED_TEMPERATURE','HURLEY','LEGACY']
244245
# --initial-mass-function: 'KROUPA' # Default: 'KROUPA' # Options: ['KROUPA','UNIFORM','POWERLAW','SALPETER']
245246
# --LBV-mass-loss-prescription: 'HURLEY_ADD' # Default: 'HURLEY_ADD' # Options: ['BELCZYNSKI','HURLEY','HURLEY_ADD','ZERO']
246-
# --main-sequence-core-mass-prescription: 'MANDEL' # Default: 'MANDEL' # Options: ['BRCEK','MANDEL','ZERO']
247+
# --main-sequence-core-mass-prescription: 'MANDEL' # Default: 'MANDEL' # Options: ['BRCEK','MANDEL','HURLEY']
247248
# --mass-loss-prescription: 'MERRITT2025' # Default: 'MERRITT2025' # Options: ['MERRITT2025','BELCZYNSKI2010','HURLEY','ZERO']
248249
# --OB-mass-loss-prescription: 'VINK2021' # Default: 'VINK2021' # Options: ['KRTICKA2018','BJORKLUND2022','VINK2021','VINK2001','ZERO']
249250
# --RSG-mass-loss-prescription: 'DECIN2023' # Default: 'DECIN2023' # Options: ['NJ90','KEE2021','YANG2023','DECIN2023','BEASOR2020','VINKSABHAHIT2023','ZERO']
Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
1-
@ This formats the citation for the COMPAS Methods Paper in our preferred style
2-
@ The following PREAMBLE entry must appear at the top of the bibtex file
3-
4-
@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }
5-
6-
@ARTICLE{2022ApJS..258...34R,
7-
author = {{Riley}, Jeff and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-G{\'o}mez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold and {Team Compas}},
8-
title = "{Rapid Stellar and Binary Population Synthesis with COMPAS}",
9-
journal = {\apjs},
10-
keywords = {1622, 154, 1108, 162, Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - High Energy Astrophysical Phenomena, Astrophysics - Solar and Stellar Astrophysics},
11-
year = 2022,
12-
month = feb,
13-
volume = {258},
14-
number = {2},
15-
eid = {34},
16-
pages = {34},
17-
doi = {10.3847/1538-4365/ac416c},
18-
archivePrefix = {arXiv},
19-
eprint = {2109.10352},
20-
primaryClass = {astro-ph.IM},
21-
adsurl = {https://ui.adsabs.harvard.edu/abs/2022ApJS..258...34R},
22-
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
23-
}
24-
25-
1+
@ARTICLE{COMPAS:2021,
2+
author = {{Team COMPAS: Riley}, Jeff and {Agrawal}, Poojan and {Barrett}, Jim W. and {Boyett}, Kristan N.~K. and {Broekgaarden}, Floor S. and {Chattopadhyay}, Debatri and {Gaebel}, Sebastian M. and {Gittins}, Fabian and {Hirai}, Ryosuke and {Howitt}, George and {Justham}, Stephen and {Khandelwal}, Lokesh and {Kummer}, Floris and {Lau}, Mike Y.~M. and {Mandel}, Ilya and {de Mink}, Selma E. and {Neijssel}, Coenraad and {Riley}, Tim and {van Son}, Lieke and {Stevenson}, Simon and {Vigna-G{\'o}mez}, Alejandro and {Vinciguerra}, Serena and {Wagg}, Tom and {Willcox}, Reinhold},
3+
title = "{Rapid Stellar and Binary Population Synthesis with COMPAS}",
4+
journal = {\apjs},
5+
keywords = {1622, 154, 1108, 162},
6+
year = 2022,
7+
month = feb,
8+
volume = {258},
9+
number = {2},
10+
eid = {34},
11+
pages = {34},
12+
doi = {10.3847/1538-4365/ac416c},
13+
adsurl = {https://ui.adsabs.harvard.edu/abs/2022ApJS..258...34R},
14+
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
15+
}
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
@ARTICLE{COMPAS:2025,
22
author = {{Team COMPAS: Mandel}, Ilya and {Riley}, Jeff and {Boesky}, Adam and {Brcek}, Adam and {Hirai}, Ryosuke and {Kapil}, Veome and {Lau}, Mike Y.~M. and {Merritt}, JD and {Rodr{\'\i}guez-Segovia}, Nicol{\'a}s and {Romero-Shaw}, Isobel and {Song}, Yuzhe and {Stevenson}, Simon and {Vajpeyi}, Avi and {van Son}, L.~A.~C. and {Vigna-G{\'o}mez}, Alejandro and {Willcox}, Reinhold},
3-
title = "{Rapid stellar and binary population synthesis with COMPAS: methods paper II}",
4-
journal = {arXiv e-prints},
5-
keywords = {Solar and Stellar Astrophysics, High Energy Astrophysical Phenomena, Instrumentation and Methods for Astrophysics},
3+
title = "{Rapid Stellar and Binary Population Synthesis with COMPAS: Methods Paper II}",
4+
journal = {\apjs},
5+
keywords = {Binary stars, Stellar populations, Stellar evolution, Stellar evolutionary models, Stellar remnants, 154, 1622, 1599, 2046, 1627, Solar and Stellar Astrophysics, High Energy Astrophysical Phenomena, Instrumentation and Methods for Astrophysics},
66
year = 2025,
7-
month = jun,
8-
eid = {arXiv:2506.02316},
9-
pages = {arXiv:2506.02316},
10-
doi = {10.48550/arXiv.2506.02316},
7+
month = sep,
8+
volume = {280},
9+
number = {1},
10+
eid = {43},
11+
pages = {43},
12+
doi = {10.3847/1538-4365/adf8d0},
1113
archivePrefix = {arXiv},
1214
eprint = {2506.02316},
1315
primaryClass = {astro-ph.SR},
14-
adsurl = {https://ui.adsabs.harvard.edu/abs/2025arXiv250602316M},
16+
adsurl = {https://ui.adsabs.harvard.edu/abs/2025ApJS..280...43T},
1517
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
1618
}

online-docs/pages/User guide/Program options/program-options-list-defaults.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,8 @@ Default = 4.2
812812

813813
**--main-sequence-core-mass-prescription** |br|
814814
Main sequence core mass prescription. |br|
815-
Options: {ZERO, MANDEL, BRCEK} |br|
816-
``ZERO`` : No core mass treatment, set to zero |br|
815+
Options: {HURLEY, MANDEL, BRCEK} |br|
816+
``HURLEY`` : Treatment from Hurley et al. (2000), in which MS stars do not have a distinct core and core evolution is not tracked |br|
817817
``MANDEL`` : The core following case A mass transfer is set equal to the expected core mass of a newly formed HG star with mass equal to that of the donor, scaled by the fraction of the donor's MS lifetime at mass transfer |br|
818818
``BRCEK`` : Core mass according to Shikauchi et al. (2024) with added rejuvenation of MS accretors and updated stellar tracks |br|
819819
Default = MANDEL
@@ -1319,9 +1319,9 @@ Default = DECIN2023 |br|
13191319

13201320
:ref:`Back to Top <options-props-top>`
13211321

1322-
**--scale-CHE-mass-loss-with-surface-helium-abundance** |br|
1323-
Scale mass loss for chemically homogeneously evolving (CHE) stars with the surface helium abundance.
1324-
Transition from OB to WR mass loss towards the end of the main sequence.
1322+
**--scale-mass-loss-with-surface-helium-abundance** |br|
1323+
Scale mass loss for main sequence, including chemically homogeneously evolving (CHE), stars with the surface helium abundance.
1324+
Transition from OB/VMS to WR mass loss towards the end of the main sequence.
13251325
Default = TRUE
13261326

13271327
**--scale-terminal-wind-velocity-with-metallicity-power** |br|
@@ -1431,6 +1431,10 @@ This option is primarily intended for debugging/testing of convergence issues ra
14311431
Enable mass transfer. |br|
14321432
Default = TRUE
14331433

1434+
**--USSN-kicks-override-mandel-muller** |br|
1435+
Use user-defined USSN kicks (as a fixed value) in lieu of the Mandel & Muller kick prescription for USSNe. |br|
1436+
Default = FALSE
1437+
14341438
.. _options-props-V:
14351439

14361440
:ref:`Back to Top <options-props-top>`
@@ -1531,7 +1535,7 @@ Go to :ref:`the top of this page <options-props-top>` for the full alphabetical
15311535

15321536
--check-photon-tiring-limit, --cool-wind-mass-loss-multiplier, --luminous-blue-variable-prescription, --LBV-mass-loss-prescription
15331537
--luminous-blue-variable-multiplier, --main-sequence-core-mass-prescription, --mass-loss-prescription, --overall-wind-mass-loss-multiplier, --wolf-rayet-multiplier,
1534-
--expel-convective-envelope-above-luminosity-threshold, --luminosity-to-mass-threshold,
1538+
--expel-convective-envelope-above-luminosity-threshold, --luminosity-to-mass-threshold, --scale--mass-loss-with-surface-helium-abundance
15351539
--OB-mass-loss, --OB-mass-loss-prescription, --RSG-mass-loss, --RSG-mass-loss-prescription, --VMS-mass-loss, --vms-mass-loss-prescription, --WR-mass-loss, --WR-mass-loss-prescription
15361540

15371541
--chemically-homogeneous-evolution, --chemically-homogeneous-evolution-mode
@@ -1583,8 +1587,8 @@ Go to :ref:`the top of this page <options-props-top>` for the full alphabetical
15831587
--kick-magnitude-distribution, --kick-magnitude-sigma-CCSN-BH, --kick-magnitude-sigma-CCSN-NS, --kick-magnitude-sigma-ECSN, --kick-magnitude-sigma-USSN,
15841588
--black-hole-kicks, --black-hole-kicks-mode, --fix-dimensionless-kick-magnitude, --kick-magnitude, --kick-magnitude-1, --kick-magnitude-2, --kick-magnitude-min, --kick-magnitude-max,
15851589
--kick-magnitude-random, --kick-magnitude-random-1, --kick-magnitude-random-2, --kick-scaling-factor, -muller-mandel-kick-multiplier-BH,
1586-
--muller-mandel-kick-multiplier-NS, --muller-mandel-sigma-kick-BH, --muller-mandel-sigma-kick-NS, --kick-direction,
1587-
--kick-direction-distribution, --kick-direction-power, --kick-mean-anomaly-1, --kick-mean-anomaly-2, --kick-phi-1, --kick-phi-2, --kick-theta-1, --kick-theta-2
1590+
--muller-mandel-kick-multiplier-NS, --muller-mandel-sigma-kick-BH, --muller-mandel-sigma-kick-NS, --USSN-kicks-override-mandel-muller,
1591+
--kick-direction, --kick-direction-distribution, --kick-direction-power, --kick-mean-anomaly-1, --kick-mean-anomaly-2, --kick-phi-1, --kick-phi-2, --kick-theta-1, --kick-theta-2
15881592

15891593
:ref:`Back to Top <options-props-top>`
15901594

online-docs/pages/whats-new.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ What's new
33

44
Following is a brief list of important updates to the COMPAS code. A complete record of changes can be found in the file ``changelog.h``.
55

6+
**03.26.02 October 27, 2025**
7+
8+
* Added option --USSN-kicks-override-mandel-muller ; if set to true, use user-defined USSN kicks (as a fixed value) in lieu of the Mandel & Muller kick prescription for USSNe
9+
* Replaced --scale-CHE-mass-loss-with-surface-helium-abundance with the more general --scale-mass-loss-with-surface-helium-abundance (applies to all MS stars, not just CHE stars)
10+
611
**03.26.00 September 2, 2025**
712

813
* Added HAMSTARS mass transfer efficiency prescription

0 commit comments

Comments
 (0)