Skip to content

Commit

Permalink
modernize _prob_params to use string (#2845)
Browse files Browse the repository at this point in the history
this removes old Fortran callbacks
  • Loading branch information
zingale authored May 22, 2024
1 parent 105bb77 commit f7309fc
Show file tree
Hide file tree
Showing 20 changed files with 56 additions and 58 deletions.
2 changes: 1 addition & 1 deletion Exec/gravity_tests/StarGrav/_prob_params
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
model_name character "" y
model_name string "" y

m_0 real 1.e30_rt y

Expand Down
14 changes: 7 additions & 7 deletions Exec/gravity_tests/hse_convergence_general/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ H_star real 500.e0_rt y

atm_delta real 25.e0_rt y

fuel1_name character "helium-4" y
fuel1_name string "helium-4" y

fuel2_name character "" y
fuel2_name string "" y

fuel3_name character "" y
fuel3_name string "" y

fuel4_name character "" y
fuel4_name string "" y

ash1_name character "iron-56" y
ash1_name string "iron-56" y

ash2_name character "" y
ash2_name string "" y

ash3_name character "" y
ash3_name string "" y

fuel1_frac real 1.0_rt y

Expand Down
2 changes: 1 addition & 1 deletion Exec/gravity_tests/hydrostatic_adjust/_prob_params
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
prob_type integer 1 y

model_name character "" y
model_name string "" y

hse_rho_top real 0.0_rt

Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/test_convect/_prob_params
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
model_name character "" y
model_name string "" y

apply_vel_field integer 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/hydro_tests/toy_convect/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ H_min real 1.e-4_rt y

cutoff_density real 50.0_rt y

model_name character "" y
model_name string "" y

apply_vel_field integer 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/radiation_tests/RadBreakout/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rbasefac real 0.99e0_rt y
filter_rhomax real -1.e20_rt y
filter_timemax real -1.e20_rt y

model_file character "model.input" y
model_file string "model.input" y

iye int -1 n
iinvmu int -1 n
2 changes: 1 addition & 1 deletion Exec/reacting_tests/reacting_bubble/_prob_params
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

model_name character "" y
model_name string "" y

pert_temp_factor real 1.0_rt y

Expand Down
12 changes: 6 additions & 6 deletions Exec/reacting_tests/reacting_convergence/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ p0 real 1.0_rt n

xn_zone real 0.0_rt n nspec

spec1_name character "helium-4" y
spec1_name string "helium-4" y

spec2_name character "" y
spec2_name string "" y

spec3_name character "" y
spec3_name string "" y

spec4_name character "" y
spec4_name string "" y

spec5_name character "" y
spec5_name string "" y

spec6_name character "" y
spec6_name string "" y

spec1_frac real 1.0_rt y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/bwp-rad/_prob_params
Original file line number Diff line number Diff line change
@@ -1 +1 @@
model_name character "" y
model_name string "" y
15 changes: 7 additions & 8 deletions Exec/science/convective_flame/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cutoff_density real 1.e-8_rt y

refine_cutoff_frac real 0.5_rt y

refine_cutoff_height real 0.0_rt
refine_cutoff_height real 0.0_rt

T_hi real 5.e8_rt y

Expand All @@ -24,17 +24,17 @@ H_star real 500e0_rt y

atm_delta real 25.0e0_rt y

fuel1_name character "fuel" y
fuel1_name string "fuel" y

fuel2_name character "" y
fuel2_name string "" y

fuel3_name character "" y
fuel3_name string "" y

ash1_name character "inert" y
ash1_name string "inert" y

ash2_name character "" y
ash2_name string "" y

ash3_name character "" y
ash3_name string "" y

fuel1_frac real 1.0_rt y

Expand All @@ -51,4 +51,3 @@ ash3_frac real 0.0_rt y
low_density_cutoff real 1.e-4_rt y

smallx real 1.e-10_rt y

17 changes: 8 additions & 9 deletions Exec/science/flame/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ e_ash real 0.0_rt

xn_ash real 0.0_rt n nspec

fuel1_name character "helium-4" y
fuel1_name string "helium-4" y

fuel2_name character "" y
fuel2_name string "" y

fuel3_name character "" y
fuel3_name string "" y

fuel4_name character "" y
fuel4_name string "" y

X_fuel1 real 1.0_rt y

Expand All @@ -36,13 +36,13 @@ X_fuel3 real 0.0_rt y

X_fuel4 real 0.0_rt y

ash1_name character "oxygen-16" y
ash1_name string "oxygen-16" y

ash2_name character "" y
ash2_name string "" y

ash3_name character "" y
ash3_name string "" y

ash4_name character "" y
ash4_name string "" y

X_ash1 real 1.0_rt y

Expand All @@ -57,4 +57,3 @@ v_inflow real 0.0_rt y
mass_flux real 0.0_rt

smallx_init real 0.0_rt y

14 changes: 7 additions & 7 deletions Exec/science/flame_tube/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ H_star real 500.e0_rt y

atm_delta real 25.e0_rt y

fuel1_name character "helium-4" y
fuel1_name string "helium-4" y

fuel2_name character "" y
fuel2_name string "" y

fuel3_name character "" y
fuel3_name string "" y

fuel4_name character "" y
fuel4_name string "" y

ash1_name character "iron-56" y
ash1_name string "iron-56" y

ash2_name character "" y
ash2_name string "" y

ash3_name character "" y
ash3_name string "" y

fuel1_frac real 1.0_rt y

Expand Down
14 changes: 7 additions & 7 deletions Exec/science/flame_wave/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ H_star real 500.e0_rt y

atm_delta real 25.e0_rt y

fuel1_name character "helium-4" y
fuel1_name string "helium-4" y

fuel2_name character "" y
fuel2_name string "" y

fuel3_name character "" y
fuel3_name string "" y

fuel4_name character "" y
fuel4_name string "" y

ash1_name character "iron-56" y
ash1_name string "iron-56" y

ash2_name character "" y
ash2_name string "" y

ash3_name character "" y
ash3_name string "" y

fuel1_frac real 1.0_rt y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/massive_star/_prob_params
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
model_name character "" y
model_name string "" y

interpolate_pres int 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/nova/_prob_params
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

model_name character "" y
model_name string "" y

apply_vel_field integer 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/planet/_prob_params
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cutoff_density real 50.0_rt y

model_name character "" y
model_name string "" y

apply_vel_field integer 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/subchandra/_prob_params
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# the name of the initial model
model_name character "model.hse" y
model_name string "model.hse" y

# the distance from the base of the He layer star to put the perturbation
R_pert real 1.e7_rt y
Expand Down
2 changes: 1 addition & 1 deletion Exec/science/xrb_layered/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ H_min real 1.e-4_rt y

cutoff_density real 50.0_rt y

model_name character "" y
model_name string "" y

apply_perturbation integer 1 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/science/xrb_mixed/_prob_params
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ H_min real 1.e-4_rt y

cutoff_density real 50.0_rt y

model_name character "" y
model_name string "" y

apply_vel_field integer 0 y

Expand Down
2 changes: 1 addition & 1 deletion Exec/unit_tests/model_burner/_prob_params
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
model_name character "" y
model_name string "" y

burn_dt real 0.1_rt y

0 comments on commit f7309fc

Please sign in to comment.