Skip to content

Commit d09217b

Browse files
author
William Wolf
committed
Update to work out of the box for newer versions.
Had to update to use `save_model_filename` since the controls used to have an older name. Also aded some conditional executions of some `&eos` and `&kap` controls.
1 parent b4077b1 commit d09217b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

sample.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,23 @@
3333
# separate.
3434
mass_change 1e-7
3535
load_saved_model true
36-
saved_model_name "test_#{mass}.mod"
36+
save_model_filename "test_#{mass}.mod"
3737

3838
# Inlist methods are case-insensitive (in that lower-case is ALWAYS ok)
3939
# That is, method names can be invoked as they appear in the .inc or
4040
# files in star/private/star_controls.inc, for example, or they can be
4141
# invoked in all lower case. Other "spellings" will fail.
4242
relax_y true
4343

44+
if Inlist.namelists.include? :eos
45+
use_PC false
46+
end
47+
48+
if Inlist.namelists.include? :kap
49+
Zbase 0.02
50+
use_Type2_opacities true
51+
end
52+
4453
# No argument? no problem. The default is selected.
4554
use_ledoux_criterion
4655

0 commit comments

Comments
 (0)