Skip to content

Commit 92a991d

Browse files
author
Matthias Fabry
committed
[ci skip] some clean-up in mag braking test case
1 parent fe9ff90 commit 92a991d

File tree

2 files changed

+2
-215
lines changed

2 files changed

+2
-215
lines changed

star/public/star_lib.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ end subroutine star_set_u_flag
895895
! simply adds or removes; doesn't reconverge the model.
896896
subroutine star_set_rotation_flag(id, rotation_flag, ierr)
897897
use set_flags, only: set_rotation_flag
898-
use hydro_rotation, only: set_rotation_info, set_i_rot
898+
use hydro_rotation, only: set_rotation_info
899899
integer, intent(in) :: id
900900
logical, intent(in) :: rotation_flag
901901
integer, intent(out) :: ierr

star/test_suite/magnetic_braking/inlist_braking

Lines changed: 1 addition & 214 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
&kap
4040

41-
use_type2_opacities = .true
41+
use_type2_opacities = .true.
4242
Zbase = 1d-2
4343

4444
/ ! end of kap namelist
@@ -118,216 +118,3 @@
118118

119119

120120
/ ! end of controls namelist
121-
122-
123-
&pgstar
124-
!pause = .true.
125-
!pgstar_show_log_age_in_years = .true.
126-
pgstar_show_age_in_years = .true.
127-
! if true, the code waits for user to enter a RETURN on the command line
128-
129-
file_white_on_black_flag = .true.
130-
win_white_on_black_flag = .true.
131-
132-
Grid2_win_flag = .true.
133-
Grid2_num_cols = 10 ! divide plotting region into this many equal width cols
134-
Grid2_num_plots =7
135-
Grid2_num_rows =8
136-
Grid2_win_width = 16
137-
!Grid2_win_aspect_ratio = 0.5 ! aspect_ratio = height/width
138-
Grid2_xleft = 0.01 ! fraction of full window width for margin on left
139-
Grid2_xright = 0.99 ! fraction of full window width for margin on right
140-
Grid2_ybot = 0.12 ! fraction of full window width for margin on bottom
141-
Grid2_ytop = 0.95 ! fraction of full window width for margin on top
142-
show_TRho_Profile_eos_regions = .true.
143-
144-
!Grid2_file_flag = .true.
145-
Grid2_file_dir = 'png'
146-
Grid2_file_prefix = 'Grid2'
147-
Grid2_file_interval = 1
148-
149-
Grid2_file_width = 18
150-
151-
!Grid2_file_aspect_ratio = 0.7
152-
153-
154-
155-
Grid2_plot_name(1) = 'TRho_Profile'
156-
Grid2_plot_row(1) = 1
157-
Grid2_plot_rowspan(1) =5
158-
Grid2_plot_col(1) = 1
159-
Grid2_plot_colspan(1) = 4
160-
Grid2_plot_pad_left(1) = 0.02
161-
Grid2_plot_pad_right(1) = 0.0
162-
Grid1_plot_pad_top(1) = 0.0
163-
Grid2_plot_pad_bot(1) = 0.15
164-
Grid2_txt_scale_factor(1) = 0.5
165-
166-
Grid2_plot_name(2) = 'HR'
167-
Grid2_plot_row(2) = 5
168-
Grid2_plot_rowspan(2) = 3
169-
Grid2_plot_col(2) = 1
170-
Grid2_plot_colspan(2) = 2
171-
172-
Grid2_plot_pad_left(2) = 0.04
173-
Grid2_plot_pad_right(2) = 0.02
174-
Grid2_plot_pad_top(2) = 0.04
175-
Grid2_plot_pad_bot(2) = 0.00
176-
Grid2_txt_scale_factor(2) = 0.5
177-
178-
179-
Grid2_plot_name(3) = 'Abundance'
180-
Grid2_plot_row(3) = 1
181-
Grid2_plot_rowspan(3) = 4
182-
Grid2_plot_col(3) = 5
183-
Grid2_plot_colspan(3) = 3
184-
185-
186-
Grid2_plot_pad_left(3) = 0.09
187-
Grid2_plot_pad_right(3) = 0.00
188-
Grid2_plot_pad_top(3) = 0.00
189-
Grid2_plot_pad_bot(3) = 0.05
190-
Grid2_txt_scale_factor(3) = 0.5
191-
Abundance_legend_max_cnt = 0
192-
Abundance_legend_txt_scale_factor =0.5
193-
194-
195-
show_TRho_annotation1 = .true.
196-
show_TRho_annotation2 = .true.
197-
show_TRho_annotation3 = .true.
198-
show_TRho_degeneracy_line = .true.
199-
200-
201-
Grid2_plot_name(4) = 'Text_Summary1'
202-
Grid2_plot_row(4) = 7
203-
Grid2_plot_rowspan(4) = 2
204-
Grid2_plot_col(4) = 1
205-
Grid2_plot_colspan(4) = 7
206-
Grid2_plot_pad_left(4) = 0.0
207-
Grid2_plot_pad_right(4) = 0.0
208-
Grid2_plot_pad_top(4) = 0.2
209-
Grid2_plot_pad_bot(4) = -0.1
210-
Grid2_txt_scale_factor(4) = 0.18
211-
Text_Summary1_num_rows = 4 ! <= 20
212-
Text_Summary1_num_cols = 4 ! <= 20
213-
Text_Summary1_name(:,:) = ''
214-
215-
Text_Summary1_name(1,1) = 'time_step'
216-
Text_Summary1_name(1,2) = 'surf_avg_v_rot'
217-
Text_Summary1_name(1,3) = 'surf_avg_v_div_v_crit'
218-
Text_Summary1_name(1,4) = 'star_mass'
219-
220-
Text_Summary1_name(2,1) = 'num_zones'
221-
Text_Summary1_name(2,2) = 'star_mdot'
222-
Text_Summary1_name(2,3) = 'star_age'
223-
Text_Summary1_name(2,4) = 'model_number'
224-
225-
Text_Summary1_name(3,1) = 'log_total_angular_momentum'
226-
227-
228-
229-
230-
231-
232-
233-
234-
Grid2_plot_name(5) = 'History_Panels1'
235-
Grid2_plot_row(5) = 1
236-
Grid2_plot_rowspan(5) = 9
237-
Grid2_plot_col(5) = 8
238-
Grid2_plot_colspan(5) = 3
239-
Grid2_plot_pad_left(5) = 0.075
240-
Grid2_plot_pad_right(5) = 0.04
241-
Grid2_plot_pad_top(5) = 0.0
242-
Grid2_plot_pad_bot(5) = 0.05
243-
Grid2_txt_scale_factor(5) = 0.5
244-
245-
History_Panels1_num_panels = 4
246-
247-
History_Panels1_xaxis_name = 'model_number'
248-
History_Panels1_yaxis_name(1) = 'log_total_angular_momentum'
249-
History_Panels1_yaxis_reversed(1) = .false.
250-
History_Panels1_ymin(1) = 48d0
251-
History_Panels1_ymax(1) = -101d0
252-
History_Panels1_max_width = 500
253-
History_Panels1_dymin(1) = -1
254-
History_Panels1_other_yaxis_name(1) = 'log_R'
255-
History_Panels1_other_yaxis_reversed(1) = .false.
256-
History_Panels1_other_ymin(1) = -101d0
257-
History_Panels1_other_ymax(1) = -101d0
258-
History_Panels1_other_dymin(1) = -1
259-
260-
261-
262-
History_Panels1_yaxis_name(2) = 'surf_avg_v_rot'
263-
History_Panels1_yaxis_reversed(2) = .false.
264-
History_Panels1_ymin(2) = -101d0
265-
History_Panels1_ymax(2) = -101d0
266-
History_Panels1_dymin(2) = -1
267-
History_Panels1_other_yaxis_name(2) = 'surf_avg_v_div_v_crit'
268-
History_Panels1_other_yaxis_reversed(2) = .false.
269-
History_Panels1_other_ymin(2) = -101d0
270-
History_Panels1_other_ymax(2) = -101d0
271-
History_Panels1_other_dymin(2) = -1
272-
273-
274-
History_Panels1_yaxis_name(3) = 'star_mdot'
275-
History_Panels1_yaxis_reversed(3) = .false.
276-
History_Panels1_ymin(3) = -101d0
277-
History_Panels1_ymax(3) = -101d0
278-
History_Panels1_dymin(3) = -1
279-
History_Panels1_other_yaxis_name(3) = ''
280-
History_Panels1_other_yaxis_reversed(3) = .false.
281-
History_Panels1_other_ymin(3) = -101d0
282-
History_Panels1_other_ymax(3) = -101d0
283-
History_Panels1_other_dymin(3) = -1
284-
285-
History_Panels1_yaxis_name(4) = 'log_L'
286-
History_Panels1_yaxis_reversed(4) = .false.
287-
History_Panels1_ymin(4) = -101d0
288-
History_Panels1_ymax(4) = -101d0
289-
History_Panels1_dymin(4) = -1
290-
History_Panels1_other_yaxis_name(4) = 'log_L_div_Ledd' ! These are for profiles -> 'conv_L_div_L' ! 'log_Lrad_div_Ledd' ! 'log_L_div_Ledd'
291-
History_Panels1_other_yaxis_reversed(4) = .false.
292-
History_Panels1_other_ymin(4) = -101d0
293-
History_Panels1_other_ymax(4) = -101d0
294-
History_Panels1_other_dymin(4) = -1
295-
296-
297-
298-
Grid2_plot_name(6) = 'Kipp'
299-
Grid2_plot_row(6) = 5
300-
Grid2_plot_rowspan(6) = 5
301-
Grid2_plot_col(6) = 5
302-
Grid2_plot_colspan(6) = 4
303-
Grid2_plot_pad_left(6) = 0.1
304-
Grid2_plot_pad_right(6) = 0.1
305-
Grid1_plot_pad_top(6) = 0.2
306-
Grid2_plot_pad_bot(6) = 0.2
307-
Grid2_txt_scale_factor(6) = 0.5
308-
309-
310-
311-
312-
313-
314-
Grid2_plot_name(7) = 'Profile_Panels1'
315-
Grid2_plot_row(7) =5
316-
Grid2_plot_rowspan(7) =3
317-
Grid2_plot_col(7) =3
318-
Grid2_plot_colspan(7) = 2
319-
Profile_Panels1_num_panels = 1
320-
Profile_Panels1_xaxis_name = 'mass'
321-
Profile_Panels1_yaxis_name(1) = 'omega'
322-
!Profile_Panels1_other_yaxis_name(1) = 'engulfment_heating'
323-
Profile_Panels1_other_ymin(:) = -101 ! only used if /= -101d0
324-
Profile_Panels1_other_ymax(:) = -101 ! only used if /= -101d0
325-
326-
327-
Grid2_plot_pad_left(7) = 0.04
328-
Grid2_plot_pad_right(7) = 0.02
329-
Grid2_plot_pad_top(7) = 0.04
330-
Grid2_plot_pad_bot(7) = 0.00
331-
Grid2_txt_scale_factor(7) = 0.4
332-
333-
/ ! end of pgstar namelist

0 commit comments

Comments
 (0)