Skip to content

Commit 8818369

Browse files
committed
Merge branch 'main' into EbF/reimplement_drag_in_riemann_hydro
2 parents 519560b + 7b8023d commit 8818369

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2546
-502
lines changed

CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ linters/
2424
turb/
2525
math/ @rhdtownsend
2626
mtx/ @mjoyceGR
27-
net/ @fxt44
28-
neu/ @fxt44
27+
net/ @fxt44 @Debraheem
28+
neu/ @fxt44 @Debraheem
2929
num/
30-
rates/ @fxt44
30+
rates/ @fxt44 @Debraheem
3131
#star/
3232
#star_data/
3333
#stella/

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "MESA"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = r24.03.04
41+
PROJECT_NUMBER = r24.06.1-rc1
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

binary/defaults/pgbinary.defaults

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2971,11 +2971,11 @@
29712971
Orbit_title = 'Orbit'
29722972
Orbit_txt_scale_factor = 1.0
29732973

2974-
! show the roche lobe sizes
2974+
! show the star sizes
29752975

29762976
! ::
29772977

2978-
Orbit_show_RL = .true.
2978+
Orbit_show_stars = .true.
29792979

29802980
! file output
29812981

binary/private/pgbinary_ctrls_io.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ module pgbinary_ctrls_io
13321332
Orbit_file_width, &
13331333
Orbit_file_aspect_ratio, &
13341334
Orbit_txt_scale_factor, &
1335-
Orbit_show_RL, &
1335+
Orbit_show_stars, &
13361336

13371337
annotation1_ci, &
13381338
annotation1_ch, &
@@ -2806,7 +2806,7 @@ subroutine store_pgbinary_controls(b, ierr)
28062806
pg% Orbit_file_width = Orbit_file_width
28072807
pg% Orbit_file_aspect_ratio = Orbit_file_aspect_ratio
28082808
pg% Orbit_txt_scale_factor = Orbit_txt_scale_factor
2809-
pg% Orbit_show_RL = Orbit_show_RL
2809+
pg% Orbit_show_stars = Orbit_show_stars
28102810

28112811
pg% annotation1_ci = annotation1_ci
28122812
pg% annotation1_ch = annotation1_ch

binary/private/pgbinary_orbit.f90

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ subroutine orbit_panel(b, device_id, &
131131
xmax = max(x1max, x2max)
132132

133133
q = b% m(2) / b% m(1)
134-
if (b% pg% Orbit_show_RL .and. abs(log10(q)) <= 2) then
135-
call pgsci(clr_Goldenrod)
136-
call pgpt1(x1s(1), y1s(1), -1)
134+
if (b% pg% Orbit_show_stars .and. abs(log10(q)) <= 2) then
137135
if (b% point_mass_i /= 1) then
138136
this_psi = Psi_fit(b% r(1) / b% separation, q)
139137
xl1 = xl1_fit(q)
@@ -167,6 +165,9 @@ subroutine orbit_panel(b, device_id, &
167165
y1s_RL(2 * num_points + 1) = y1s_RL(1)
168166
x1max = maxval(abs(x1s_RL))
169167
xmax = max(x1max, xmax)
168+
else
169+
x1s_RL = 0d0
170+
y1s_RL = 0d0
170171
end if
171172

172173
if (b% point_mass_i /= 2) then
@@ -203,8 +204,11 @@ subroutine orbit_panel(b, device_id, &
203204
y2s_RL(2 * num_points + 1) = y2s_RL(1)
204205
x2max = maxval(abs(x2s_RL))
205206
xmax = max(x2max, xmax)
207+
else
208+
x2s_RL = 0d0
209+
y2s_RL = 0d0
206210
end if
207-
else if (b% pg% Orbit_show_RL .and. abs(log10(q)) > 2) then
211+
else if (b% pg% Orbit_show_stars .and. abs(log10(q)) > 2) then
208212
write(*, 1) "pgbinary: Not plotting RL, q too extreme: abs(log(q)) = ", abs(log10(q))
209213
end if
210214

@@ -226,7 +230,7 @@ subroutine orbit_panel(b, device_id, &
226230
call pgslw(b% pg% pgbinary_lw / 2)
227231
call pgline(2 * num_points + 1, x2s, y2s)
228232

229-
if (b% pg% Orbit_show_RL .and. abs(log10(q)) <= 2) then
233+
if (b% pg% Orbit_show_stars .and. abs(log10(q)) <= 2) then
230234
call pgslw(int(2.0 * b% pg% pgbinary_lw / 3.0))
231235
call pgsfs(3)
232236
call pgshs(45.0, 0.33, 0.0)

binary/private/pgbinary_star.f90

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ subroutine do_star_plot(b, id, device_id, xleft, xright, &
203203
call plot_case(b% s1, b% star_ids(1))
204204
call update_pgstar_history_file(b% s1, ierr)
205205
else
206-
write(mass, '(f3.2)') b% m(1) / Msun
206+
write(mass, '(f0.2)') b% m(1) / Msun
207207
call pgmtxt('T', -2.0, 0.5, 0.5, 'Star 1 not simulated')
208208
call pgmtxt('T', -3.0, 0.5, 0.5, 'point mass of ' // trim(adjustl(mass)) // ' M\d\(2281)')
209209
end if
@@ -216,13 +216,12 @@ subroutine do_star_plot(b, id, device_id, xleft, xright, &
216216
call pgsvp(xleft, xright, ybot, ytop)
217217
end if
218218
if (b% point_mass_i /= 2) then
219-
220219
call read_pgstar_inlist(b% s2, b% job% inlist_names(2), ierr)
221220
call update_pgstar_data(b% s2, ierr)
222221
call plot_case(b% s2, b% star_ids(2))
223222
call update_pgstar_history_file(b% s2, ierr)
224223
else
225-
write(mass, '(f3.2)') b% m(2) / Msun
224+
write(mass, '(f0.2)') b% m(2) / Msun
226225
call pgmtxt('T', -2.0, 0.5, 0.5, 'Star 2 not simulated')
227226
call pgmtxt('T', -3.0, 0.5, 0.5, 'point mass of ' // trim(adjustl(mass)) // ' M\d\(2281)')
228227
end if

binary/public/pgbinary_controls.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ character (len = strlen) :: Star2_title, Star2_plot_name
924924
logical :: show_mtrans_status
925925

926926
logical :: Orbit_win_flag, Orbit_file_flag, do_Orbit_win, do_Orbit_file
927-
logical :: Orbit_show_RL
927+
logical :: Orbit_show_stars
928928
integer :: Orbit_file_interval, id_Orbit_win, id_Orbit_file
929929
character (len = strlen) :: Orbit_file_dir, Orbit_file_prefix, Orbit_title
930930
real :: Orbit_win_width, Orbit_win_aspect_ratio, &

binary/test_suite/star_plus_point_mass/inlist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
&pgbinary
2121

2222
read_extra_pgbinary_inlist(1) = .true.
23-
extra_pgbinary_inlist_name(1) = 'inlist_project'
23+
extra_pgbinary_inlist_name(1) = 'inlist_pgbinary'
2424

2525
/ ! end of pgbinary namelist

binary/test_suite/star_plus_point_mass/inlist1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
/ ! end of star_job namelist
99

10+
&eos
11+
12+
/ ! end of eos namelist
1013

1114
&kap
1215

@@ -46,6 +49,7 @@
4649

4750

4851
&pgstar
49-
52+
read_extra_pgstar_inlist(1) = .true.
53+
extra_pgstar_inlist_name(1)= 'inlist_pgstar'
5054

5155
/ ! end of pgstar namelist

binary/test_suite/star_plus_point_mass/inlist2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131

3232
&pgstar
33-
33+
read_extra_pgstar_inlist(1) = .true.
34+
extra_pgstar_inlist_name(1)= 'inlist_pgstar'
3435

3536

3637
/ ! end of pgstar namelist

0 commit comments

Comments
 (0)