Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Sunny Wong rotation brunt change #553

Open
wants to merge 399 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
e561043
revert
evbauer Jun 16, 2023
5677955
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
5401655
Re enable parallelisation
rjfarmer Jun 20, 2023
78e4fdc
[ci fpe] fpe check again
evbauer Aug 18, 2023
74a674d
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
37c0d3f
[ci fpe] fpe check
rjfarmer Jun 16, 2023
5b34234
test including brunt updates during solver iterations
evbauer Jun 16, 2023
bb224d4
[ci optional] full test
evbauer Jun 16, 2023
28f3180
revert
evbauer Jun 16, 2023
4034cb6
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
f7f799e
Re enable parallelisation
rjfarmer Jun 20, 2023
9588023
[ci fpe] fpe check again
evbauer Aug 18, 2023
26bafe8
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
4fb62b5
[ci fpe] fpe check
rjfarmer Jun 16, 2023
a7fa446
test including brunt updates during solver iterations
evbauer Jun 16, 2023
0358fdf
[ci optional] full test
evbauer Jun 16, 2023
ffcc322
revert
evbauer Jun 16, 2023
d67fed9
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
7e948df
Re enable parallelisation
rjfarmer Jun 20, 2023
5fcecf9
[ci fpe] fpe check again
evbauer Aug 18, 2023
0433187
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
222c81c
[ci fpe] fpe check
rjfarmer Jun 16, 2023
4a1d4c0
test including brunt updates during solver iterations
evbauer Jun 16, 2023
c2472e2
[ci optional] full test
evbauer Jun 16, 2023
f129c5a
revert
evbauer Jun 16, 2023
441cb17
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
ab7388f
Re enable parallelisation
rjfarmer Jun 20, 2023
111da87
[ci fpe] fpe check again
evbauer Aug 18, 2023
1214f46
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
25d8bc1
fixing rebase
pmocz Jan 23, 2025
0603797
Merge branch 'brunt_in_rotation' of github.com:MESAHub/mesa into brun…
pmocz Jan 23, 2025
36e0652
fixing rebae
pmocz Jan 23, 2025
b4b0dbf
[ci fpe] fpe check
rjfarmer Jun 16, 2023
00af3a7
test including brunt updates during solver iterations
evbauer Jun 16, 2023
afcc394
[ci optional] full test
evbauer Jun 16, 2023
c89e693
revert
evbauer Jun 16, 2023
47388b4
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
09cbe20
Re enable parallelisation
rjfarmer Jun 20, 2023
e4275a8
[ci fpe] fpe check again
evbauer Aug 18, 2023
8bc1825
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
9c0eadb
[ci fpe] fpe check
rjfarmer Jun 16, 2023
30055db
test including brunt updates during solver iterations
evbauer Jun 16, 2023
a7ba97b
[ci optional] full test
evbauer Jun 16, 2023
af39677
revert
evbauer Jun 16, 2023
438e958
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
c40908a
Re enable parallelisation
rjfarmer Jun 20, 2023
c79845a
[ci fpe] fpe check again
evbauer Aug 18, 2023
208574f
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
d741d34
[ci fpe] fpe check
rjfarmer Jun 16, 2023
f678457
test including brunt updates during solver iterations
evbauer Jun 16, 2023
40e375e
[ci optional] full test
evbauer Jun 16, 2023
5974c75
revert
evbauer Jun 16, 2023
e9da0d3
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
0a0342e
Re enable parallelisation
rjfarmer Jun 20, 2023
7cfe831
[ci fpe] fpe check again
evbauer Aug 18, 2023
22368c1
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
5a85e69
[ci fpe] fpe check
rjfarmer Jun 16, 2023
a7d60b3
test including brunt updates during solver iterations
evbauer Jun 16, 2023
67cf518
[ci optional] full test
evbauer Jun 16, 2023
6014e76
revert
evbauer Jun 16, 2023
13b8335
Turn off parallelisation in set_rotation_mixing_info
rjfarmer Jun 20, 2023
f7f0317
Re enable parallelisation
rjfarmer Jun 20, 2023
8562138
[ci fpe] fpe check again
evbauer Aug 18, 2023
0b04a01
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
11f9437
fixing rebae
pmocz Jan 23, 2025
80b703f
[ci fpe] fpe check
rjfarmer Jun 16, 2023
4d17ecc
[ci optional] full test
evbauer Jun 16, 2023
a1ce03a
[ci fpe] fpe check again
evbauer Aug 18, 2023
75d85ee
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
c4c9b9a
[ci fpe] fpe check
rjfarmer Jun 16, 2023
a1e7a7b
[ci optional] full test
evbauer Jun 16, 2023
ebd9110
[ci fpe] fpe check again
evbauer Aug 18, 2023
09164d0
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
07b77fc
[ci fpe] fpe check
rjfarmer Jun 16, 2023
04e546d
[ci optional] full test
evbauer Jun 16, 2023
6853dca
[ci fpe] fpe check again
evbauer Aug 18, 2023
4689d86
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
7a36838
[ci fpe] fpe check
rjfarmer Jun 16, 2023
9a7b8a9
[ci optional] full test
evbauer Jun 16, 2023
6efc567
[ci fpe] fpe check again
evbauer Aug 18, 2023
c8d343e
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
ecd0224
[ci fpe] fpe check
rjfarmer Jun 16, 2023
4aee01f
[ci optional] full test
evbauer Jun 16, 2023
bc40952
[ci fpe] fpe check again
evbauer Aug 18, 2023
53e3f06
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
ce9f3e0
[ci fpe] fpe check
rjfarmer Jun 16, 2023
66f74be
[ci optional] full test
evbauer Jun 16, 2023
13fc2d6
[ci fpe] fpe check again
evbauer Aug 18, 2023
0df3a7c
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
d4f0c5a
[ci fpe] fpe check
rjfarmer Jun 16, 2023
6103c60
[ci optional] full test
evbauer Jun 16, 2023
e2ca991
[ci fpe] fpe check again
evbauer Aug 18, 2023
6a8cfb2
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
baf854e
[ci fpe] fpe check
rjfarmer Jun 16, 2023
f8354eb
[ci optional] full test
evbauer Jun 16, 2023
f960baf
[ci fpe] fpe check again
evbauer Aug 18, 2023
2953fbb
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
fc91f24
[ci fpe] fpe check
rjfarmer Jun 16, 2023
94a6d38
[ci optional] full test
evbauer Jun 16, 2023
5d4a9d4
[ci fpe] fpe check again
evbauer Aug 18, 2023
d533a01
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
cf3c6f6
[ci fpe] fpe check
rjfarmer Jun 16, 2023
cfce1b9
[ci optional] full test
evbauer Jun 16, 2023
dacc53d
[ci fpe] fpe check again
evbauer Aug 18, 2023
ae4d2dc
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
5e7f23f
[ci fpe] fpe check
rjfarmer Jun 16, 2023
b98474f
[ci optional] full test
evbauer Jun 16, 2023
4b7a195
[ci fpe] fpe check again
evbauer Aug 18, 2023
d1d05f6
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
5cd559a
[ci fpe] fpe check
rjfarmer Jun 16, 2023
a8fa9d9
[ci optional] full test
evbauer Jun 16, 2023
c94ca83
[ci fpe] fpe check again
evbauer Aug 18, 2023
547089d
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
eb978b7
Merge branch 'brunt_in_rotation' of github.com:MESAHub/mesa into brun…
pmocz Jan 23, 2025
c630c00
formatting
pmocz Jan 24, 2025
60af935
[ci fpe] fpe check again
pmocz Jan 24, 2025
fd27611
[ci fpe] try uncomment mstar_prev in photos
pmocz Jan 27, 2025
f2ccb1a
fix bug in adjust_mass.f90
Jan 23, 2025
2a67868
introduce q in history
Dec 12, 2024
09728bb
add mass ratio in pgbinary defaults
Dec 12, 2024
86ecb67
add mass ratio in namelist
Dec 12, 2024
7899695
let pgbinary use it in text form
Dec 12, 2024
72cdbe7
[ci fpe] fpe check
rjfarmer Jun 16, 2023
6b02a2c
[ci optional] full test
evbauer Jun 16, 2023
74aabfa
[ci fpe] fpe check again
evbauer Aug 18, 2023
7ec7f63
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
29472d1
[ci fpe] fpe check
rjfarmer Jun 16, 2023
7ccdb98
[ci optional] full test
evbauer Jun 16, 2023
8f269d9
[ci fpe] fpe check again
evbauer Aug 18, 2023
d2f9e2b
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
0544056
[ci fpe] fpe check
rjfarmer Jun 16, 2023
73a67cc
[ci optional] full test
evbauer Jun 16, 2023
68f9c01
[ci fpe] fpe check again
evbauer Aug 18, 2023
8dbeff9
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
14c46e0
[ci fpe] fpe check
rjfarmer Jun 16, 2023
1aeb41b
[ci optional] full test
evbauer Jun 16, 2023
b75d87c
[ci fpe] fpe check again
evbauer Aug 18, 2023
44d2322
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
08bdba8
[ci fpe] fpe check
rjfarmer Jun 16, 2023
439fb14
[ci optional] full test
evbauer Jun 16, 2023
62bc878
[ci fpe] fpe check again
evbauer Aug 18, 2023
a08b8b9
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
daee27e
[ci fpe] fpe check
rjfarmer Jun 16, 2023
f1703b9
[ci optional] full test
evbauer Jun 16, 2023
2ca51e1
[ci fpe] fpe check again
evbauer Aug 18, 2023
e269968
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
cb8b1ff
[ci fpe] fpe check
rjfarmer Jun 16, 2023
1fa37ec
[ci optional] full test
evbauer Jun 16, 2023
d4dc83b
[ci fpe] fpe check again
evbauer Aug 18, 2023
3ed095b
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
7b96b1b
[ci fpe] fpe check
rjfarmer Jun 16, 2023
de79e16
[ci optional] full test
evbauer Jun 16, 2023
64f2a7f
[ci fpe] fpe check again
evbauer Aug 18, 2023
1b74915
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
9030ab6
[ci fpe] fpe check
rjfarmer Jun 16, 2023
30ca658
[ci optional] full test
evbauer Jun 16, 2023
72d8da4
[ci fpe] fpe check again
evbauer Aug 18, 2023
ab2f642
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
f2133f7
[ci fpe] fpe check
rjfarmer Jun 16, 2023
23a5a12
[ci optional] full test
evbauer Jun 16, 2023
7df8598
[ci fpe] fpe check again
evbauer Aug 18, 2023
2352149
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
e0fb101
[ci fpe] fpe check
rjfarmer Jun 16, 2023
ce67021
[ci optional] full test
evbauer Jun 16, 2023
dabbab0
[ci fpe] fpe check again
evbauer Aug 18, 2023
48d1054
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
cf0669e
[ci fpe] fpe check
rjfarmer Jun 16, 2023
1fd2412
[ci optional] full test
evbauer Jun 16, 2023
29febe7
[ci fpe] fpe check again
evbauer Aug 18, 2023
c987965
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
3274600
[ci fpe] fpe check
rjfarmer Jun 16, 2023
514e11a
[ci optional] full test
evbauer Jun 16, 2023
437e91c
[ci fpe] fpe check again
evbauer Aug 18, 2023
1e802a4
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
2151241
[ci fpe] fpe check
rjfarmer Jun 16, 2023
19f805f
[ci optional] full test
evbauer Jun 16, 2023
1beed4c
[ci fpe] fpe check again
evbauer Aug 18, 2023
21b7927
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
8a359dd
[ci fpe] fpe check
rjfarmer Jun 16, 2023
aed68e1
[ci optional] full test
evbauer Jun 16, 2023
6a84edf
[ci fpe] fpe check again
evbauer Aug 18, 2023
87cd2c6
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
dc7ee75
[ci fpe] fpe check
rjfarmer Jun 16, 2023
3d9654a
[ci optional] full test
evbauer Jun 16, 2023
10f47b3
[ci fpe] fpe check again
evbauer Aug 18, 2023
c56d807
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
de99893
[ci fpe] fpe check
rjfarmer Jun 16, 2023
0c84bd1
[ci optional] full test
evbauer Jun 16, 2023
b5caf5b
[ci fpe] fpe check again
evbauer Aug 18, 2023
56ba3de
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
0afa7b3
[ci fpe] fpe check
rjfarmer Jun 16, 2023
468fa17
[ci optional] full test
evbauer Jun 16, 2023
c63da3e
[ci fpe] fpe check again
evbauer Aug 18, 2023
5c98870
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
6e9cafb
[ci fpe] fpe check
rjfarmer Jun 16, 2023
f6e479b
[ci optional] full test
evbauer Jun 16, 2023
78a0167
[ci fpe] fpe check again
evbauer Aug 18, 2023
03905af
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
5617d42
[ci fpe] fpe check
rjfarmer Jun 16, 2023
99eaccd
[ci optional] full test
evbauer Jun 16, 2023
39b4784
[ci fpe] fpe check again
evbauer Aug 18, 2023
9c931fd
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
e9fb72b
[ci fpe] fpe check
rjfarmer Jun 16, 2023
b23e5f1
[ci optional] full test
evbauer Jun 16, 2023
beaa1d2
[ci fpe] fpe check again
evbauer Aug 18, 2023
bec0821
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
87f2374
[ci fpe] fpe check
rjfarmer Jun 16, 2023
1cc2c4e
[ci optional] full test
evbauer Jun 16, 2023
56d307c
[ci fpe] fpe check again
evbauer Aug 18, 2023
f412187
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
3e12ce8
[ci fpe] fpe check
rjfarmer Jun 16, 2023
e18041e
[ci optional] full test
evbauer Jun 16, 2023
0e83e8c
[ci fpe] fpe check again
evbauer Aug 18, 2023
cce92e2
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
7da1a1b
[ci fpe] fpe check
rjfarmer Jun 16, 2023
e51beb5
[ci optional] full test
evbauer Jun 16, 2023
a35b027
[ci fpe] fpe check again
evbauer Aug 18, 2023
6c0ce42
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
bd733ba
[ci fpe] fpe check
rjfarmer Jun 16, 2023
04953da
[ci optional] full test
evbauer Jun 16, 2023
9c51c11
[ci fpe] fpe check again
evbauer Aug 18, 2023
58c484f
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
f491efe
[ci fpe] fpe check
rjfarmer Jun 16, 2023
4acc5b4
[ci optional] full test
evbauer Jun 16, 2023
0981103
[ci fpe] fpe check again
evbauer Aug 18, 2023
a5bd3da
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
09c7359
[ci fpe] fpe check
rjfarmer Jun 16, 2023
5f21a2f
[ci optional] full test
evbauer Jun 16, 2023
cfce2a2
[ci fpe] fpe check again
evbauer Aug 18, 2023
77b9f9e
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
d35ca98
[ci fpe] fpe check
rjfarmer Jun 16, 2023
e49cb5c
[ci optional] full test
evbauer Jun 16, 2023
bcd7a3e
[ci fpe] fpe check again
evbauer Aug 18, 2023
153d738
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
40a3ac3
[ci fpe] fpe check
rjfarmer Jun 16, 2023
07b5dac
[ci optional] full test
evbauer Jun 16, 2023
665e9b9
[ci fpe] fpe check again
evbauer Aug 18, 2023
3f11e64
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
fe2b787
[ci fpe] fpe check
rjfarmer Jun 16, 2023
1eae3b4
[ci optional] full test
evbauer Jun 16, 2023
e83c2cb
[ci fpe] fpe check again
evbauer Aug 18, 2023
7ffafa8
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
500dcb7
[ci fpe] fpe check
rjfarmer Jun 16, 2023
277df41
[ci optional] full test
evbauer Jun 16, 2023
bf36850
[ci fpe] fpe check again
evbauer Aug 18, 2023
1372f7b
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
10add71
[ci fpe] fpe check
rjfarmer Jun 16, 2023
8e294e8
[ci optional] full test
evbauer Jun 16, 2023
ec1bb60
[ci fpe] fpe check again
evbauer Aug 18, 2023
64c04e5
[ci fpe] [ci optional] fpe check
evbauer Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Links
* `MESA Users Mailing List <https://lists.mesastar.org/mailman/listinfo/mesa-users>`__ for info about new releases, news items, and requests for help/bug reports.
* `mesa_reader <https://github.com/wmwolf/py_mesa_reader>`__ to interact and plot data from MESA in Python.
* `MESA Test Hub <https://testhub.mesastar.org/>`__ to view results of regression testing (for Developers).
* `MESA Jenkins <https://jenkins.flatironinstitute.org/job/mesa/job/main/>`__ to view nightly Jenkins test runs (for Developers).
* `mesa_test <https://github.com/MESAHub/mesa_test>`__ tool to run the test suite and upload results to the MESA Test Hub (for Developers).
* `mesa-dev yt channel <https://www.youtube.com/@mesa-dev>`__ youtube channel for recorded dev meetings (for Developers).

2 changes: 2 additions & 0 deletions binary/defaults/binary_history_columns.list
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
star_2_mass ! mass of second star in msun
!lg_star_2_mass ! log10 mass of second star in msun
!sum_of_masses ! star_1_mass + star_2_mass
!mass_ratio ! star_2_mass / star_1_mass
!obs_mass_ratio ! min(m2/m1, m2/m1)
lg_mtransfer_rate ! log10 of abs(mass transfer rate) in Msun/yr
! this considers the amount of mass lost from the donor due to RLOF
! not the actual mass that ends up accreted
Expand Down
14 changes: 9 additions & 5 deletions binary/defaults/pgbinary.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -1897,29 +1897,33 @@
! ::

Text_Summary1_win_flag = .false.
Text_Summary1_win_width = 10
Text_Summary1_win_aspect_ratio = 0.15
Text_Summary1_win_width = 7
Text_Summary1_win_aspect_ratio = 0.6

! ::

Text_Summary1_xleft = 0.02
Text_Summary1_xright = 0.98
Text_Summary1_ybot = 0.08
Text_Summary1_ytop = 0.98
Text_Summary1_txt_scale = 4.5
Text_Summary1_txt_scale = 3.0
Text_Summary1_title = ''

! setup default

! ::

Text_Summary1_num_rows = 8
Text_Summary1_num_cols = 4
Text_Summary1_num_rows = 5
Text_Summary1_num_cols = 1
Text_Summary1_name(:, :) = ''

! ::

Text_Summary1_name(1, 1) = 'model_number'
Text_Summary1_name(2, 1) = 'jdot'
Text_Summary1_name(3, 1) = 'mass_ratio'
Text_Summary1_name(4, 1) = 'period_days'
Text_Summary1_name(5, 1) = 'rl_relative_overflow_1'

! file output

Expand Down
4 changes: 4 additions & 0 deletions binary/private/binary_history.f90
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,10 @@ subroutine binary_history_getval(b, c, val, int_val, is_int_val, ierr)
val = safe_log10(b% m(2) / Msun)
case(bh_sum_of_masses)
val = (b% m(1) + b% m(2)) / Msun
case(bh_mass_ratio)
val = b% m(2) / b% m(1)
case(bh_obs_mass_ratio)
val = min(b% m(2) / b% m(1), b% m(1) / b% m(2))
case(bh_lg_mtransfer_rate)
val = safe_log10(abs(b% step_mtransfer_rate) / Msun * secyer)
case(bh_lg_mstar_dot_1)
Expand Down
6 changes: 5 additions & 1 deletion binary/private/binary_private_def.f90
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ module binary_private_def
integer, parameter :: bh_star_2_mass = bh_lg_star_1_mass + 1
integer, parameter :: bh_lg_star_2_mass = bh_star_2_mass + 1
integer, parameter :: bh_sum_of_masses = bh_lg_star_2_mass + 1
integer, parameter :: bh_lg_mtransfer_rate = bh_sum_of_masses + 1
integer, parameter :: bh_mass_ratio = bh_sum_of_masses + 1
integer, parameter :: bh_obs_mass_ratio = bh_mass_ratio + 1
integer, parameter :: bh_lg_mtransfer_rate = bh_obs_mass_ratio + 1
integer, parameter :: bh_lg_mstar_dot_1 = bh_lg_mtransfer_rate + 1
integer, parameter :: bh_lg_mstar_dot_2 = bh_lg_mstar_dot_1 + 1
integer, parameter :: bh_lg_system_mdot_1 = bh_lg_mstar_dot_2 + 1
Expand Down Expand Up @@ -145,6 +147,8 @@ subroutine binary_history_column_names_init(ierr)
binary_history_column_name(bh_star_2_mass) = 'star_2_mass'
binary_history_column_name(bh_lg_star_2_mass) = 'lg_star_2_mass'
binary_history_column_name(bh_sum_of_masses) = 'sum_of_masses'
binary_history_column_name(bh_mass_ratio) = 'mass_ratio'
binary_history_column_name(bh_obs_mass_ratio) = 'obs_mass_ratio'
binary_history_column_name(bh_lg_mtransfer_rate) = 'lg_mtransfer_rate'
binary_history_column_name(bh_lg_mstar_dot_1) = 'lg_mstar_dot_1'
binary_history_column_name(bh_lg_mstar_dot_2) = 'lg_mstar_dot_2'
Expand Down
2 changes: 2 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ New Features

``mesa_reader`` can now be installed with ``pip``.

A pseudo drag term ``v_drag`` has been reintroduced for ``u_flag`` to damp spurious shocks.

.. _Bug Fixes main:

Bug Fixes
Expand Down
29 changes: 16 additions & 13 deletions docs/source/developing/infrastructure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ GitHub
------

We have the `MESAHub <https://github.com/MESAHub>`__ GitHub
organization. The members of the MTC/MAC all have owner-level
privileges. MESAHub is classified as an educational organization and
organization. The members of the MTC/MAC all have owner-level
privileges. MESAHub is classified as an educational organization and
this currently grants us a 100% discount, meaning this costs $0/yr.
Unsubsidized, it would cost about $1200/yr.

Expand Down Expand Up @@ -56,7 +56,7 @@ Mailing lists

The [email protected] and
[email protected] lists are hosted by `MailmanLists
<https://www.mailmanlists.net/>`__. The account is controlled by
<https://www.mailmanlists.net/>`__. The account is controlled by
Matteo who pays the hosting fees through Flatiron.
This costs about $100/year.

Expand All @@ -74,15 +74,15 @@ ReadTheDocs
-----------

The Sphinx documentation is hosted by `ReadTheDocs
<https://readthedocs.org/>`__. Rich controls the account (and Earl, Joey, Meridith, and Philip have access to it). This is
<https://readthedocs.org/>`__. Rich controls the account (and Earl, Joey, Meridith, and Philip have access to it). This is
currently free for open source software.


Sourceforge
-----------

The original home of MESA development was sourceforge. Most developers
involved c. 2015 or earlier have admin privileges. This is a free
The original home of MESA development was sourceforge. Most developers
involved c. 2015 or earlier have admin privileges. This is a free
service.

Website
Expand All @@ -97,33 +97,36 @@ Slack
-----

Rich controls the Slack and pays for it (through grants at UW
Madison). This costs around $130 per year (about $10/user/yr).
Madison). This costs around $130 per year (about $10/user/yr).


TestHub
-------

The MESA TestHub runs on Heroku and the account is controlled by Bill
Wolf. It is funded by Frank and Bill W. The Heroku account costs
Wolf. It is funded by Frank and Bill W. The Heroku account costs
around $600/yr, though its cost has been higher during the GitHub
transition.

The testing `log archive <https://logs.mesastar.org/>`__ lives on a
server controlled by Josiah. The marginal cost is $1/month, which he
server controlled by Josiah. The marginal cost is $1/month, which he
covers.

Jenkins
^^^^^^^

The Flatiron `Scientific Computing Core <https://www.simonsfoundation.org/flatiron/scientific-computing-core>`__
provides continuous integration testing for MESA via jenkins.
This was set up in 2021 by Dylan Simon (Flatiron) and Josiah. The configuration lives in the ``jenkins`` directory.
Matteo serves as the point of contact at Flatiron.
provides continuous integration testing for MESA via Jenkins.
This was set up in 2021 by Dylan Simon (Flatiron) and Josiah.
The configuration lives in the ``jenkins`` directory.
Matteo and Philip serve as the point of contact at Flatiron.
View the `Jenkins test results <https://jenkins.flatironinstitute.org/job/mesa/job/main/>`__


Zenodo
------

We have multiple resources archived on Zenodo. This is a free service.
We have multiple resources archived on Zenodo. This is a free service.

Community
^^^^^^^^^
Expand Down
6 changes: 3 additions & 3 deletions docs/source/reference.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*********
Reference
*********
**********************
Reference and Defaults
**********************

This page describes the options associated with MESA/star,
MESA/binary, and MESA/astero.
Expand Down
58 changes: 52 additions & 6 deletions star/defaults/controls.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -2985,7 +2985,7 @@
conv_premix_dump_snapshots = .false.


! Rayleigh Taylor Instability
! Rayleigh-Taylor Instability
! ____________________________

! derived from Paul Duffell's code RT1D.
Expand Down Expand Up @@ -4135,6 +4135,27 @@
D_mix_rotation_min_logT_full_off = 9.5d0


! D_mix_rotation_min_tau_full_off
! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

! Drop rotational components of ``D_mix`` for locations where tau <= this.
! For numerical stability, turn off rotational part of ``D_mix`` at very low tau.

! ::

D_mix_rotation_min_tau_full_off = 0d0

! D_mix_rotation_max_tau_full_on
! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

! Use rotational components of ``D_mix`` for locations where tau >= this.
! For numerical stability, turn off rotational part of ``D_mix`` at very low tau.

! ::

D_mix_rotation_min_tau_full_on = 0d0


! D_omega_max_replacement_fraction
! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
! D_omega_growth_rate
Expand Down Expand Up @@ -8241,15 +8262,18 @@
! ::

use_dPrad_dm_form_of_T_gradient_eqn = .false.
use_gradT_actual_vs_gradT_MLT_for_T_gradient_eqn = .false.


use_gradT_actual_vs_gradT_MLT_for_T_gradient_eqn = .false.


! Hydrodynamic drag
! =================

! drag_coefficient
! ~~~~~~~~~~~~~~~~
! min_q_for_drag
! ~~~~~~~~~~~~~~

! only when v_flag. adjusts both v and energy transfer from kinetic to thermal.
! only when v_flag = .true.. Adjusts both v and energy transfer from kinetic to thermal.
! only for v(k) when q(k) > min_q_for_drag.
! kill off fraction of v = drag_coefficient (i.e. set to 1 to keep v near 0)
! useful for preventing the development radial pulsations during advanced
Expand All @@ -8274,13 +8298,35 @@
use_drag_energy = .true.
drag_coefficient = 0d0
min_q_for_drag = 0d0


! v_drag_factor
! ~~~~~~~~~~~~~
! v_drag
! ~~~~~~
! q_for_v_drag_full_off
! ~~~~~~~~~~~~~~~~~~~~~
! q_for_v_drag_full_on
! ~~~~~~~~~~~~~~~~~~~~


! for hydro comparison tests (e.g., Sedov)
! Only when u_flag = .true.. Adds a pseudo drag term of the form
! -v_drag_factor*(v-v_drag)^2/r, can be used damp velocities in outer layers
! of a star, useful for smoothing out spurious shocks colliding in ejected layers.
! Effect is full on for q>q_for_v_drag_full_on and full off for
! q < q_for_v_drag_full_off.

! ::

v_drag_factor = 0d0
v_drag = 0d0
q_for_v_drag_full_off = 0.95d0
q_for_v_drag_full_on = 0.96d0


! Rayleigh-Taylor Instability
! ~~~~~~~~~~~~~~~~~~~~~~~~~~~
! for hydro comparison tests (e.g., Sedov)
! RTI_A
! ~~~~~
! RTI_B
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down Expand Up @@ -185,7 +185,7 @@ end subroutine extras_startup
subroutine gyre_linear_analysis_and_set_velocities(s,restart,ierr)
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m
type (star_info), pointer :: s
logical, intent(in) :: restart
integer, intent(out) :: ierr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down Expand Up @@ -514,7 +514,7 @@ end subroutine data_for_extra_profile_columns
subroutine gyre_linear_analysis_and_set_velocities(s,restart,ierr)
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m
type (star_info), pointer :: s
logical, intent(in) :: restart
integer, intent(out) :: ierr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module run_star_extras
use star_def
use const_def
use math_lib
use gyre_lib
use gyre_mesa_m

implicit none

Expand Down
Loading
Loading