lib/trinitycrmod/namelists.rb in trinitycrmod-0.7.11 vs lib/trinitycrmod/namelists.rb in trinitycrmod-0.8.0

- old
+ new

@@ -9,11 +9,11 @@ :code_name=>:geo_option, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["default"]}, + :autoscanned_defaults=>["analytic", "default"]}, :geo_file=> {:should_include=>"true", :description=>" file with input data", :help=>" file with input data", :code_name=>:geo_file, @@ -41,21 +41,21 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.95]}, + :autoscanned_defaults=>[0.8, 0.95]}, :nrad=> {:should_include=>"true", :description=>" number of radial grid points", :help=>" number of radial grid points", :code_name=>:nrad, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer, - :autoscanned_defaults=>[9]}, + :autoscanned_defaults=>[8, 9]}, :bt_in=> {:should_include=>"true", :description=> " if bt_in > 0.0 and overwrite_db_input=T, set bmag = bt_in (B-field strength in Tesla)", :help=> @@ -75,22 +75,22 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.0]}, + :autoscanned_defaults=>[1.0]}, :rgeo_in=> {:should_include=>"true", :description=>" geometric major radius at LCFS (in meters)", :help=>" geometric major radius at LCFS (in meters)", :code_name=>:rgeo_in, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.0]}, + :autoscanned_defaults=>[3.0]}, :q0=> {:should_include=>"true", :description=>" value of q at core of profile", :help=>" value of q at core of profile", :code_name=>:q0, @@ -174,11 +174,11 @@ :code_name=>:fluxlabel_option, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["default"]}, + :autoscanned_defaults=>["aminor", "default"]}, :phia_in=> {:should_include=>"true", :description=> " if phia_in > 0.0 and overwrite_db_input=T, set phia = phia_in (phia is sqrt(tor flux) at separatrix)", :help=> @@ -238,79 +238,52 @@ :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".false."]}}}, - :species=> - {:description=>"", - :should_include=>"true", - :variables=> - {:species_option=> + :autoscanned_defaults=>[".false."]}, + :grho_in=> {:should_include=>"true", - :description=>" construct species profiles from following parameters", - :help=>" construct species profiles from following parameters", - :code_name=>:species_option, + :description=>" overrides the value of grho if > 0", + :help=>" overrides the value of grho if > 0", + :code_name=>:grho_in, :must_pass=> - [{:test=>"kind_of? String", - :explanation=>"This variable must be a string."}], - :type=>:String, - :autoscanned_defaults=>["default"]}, - :species_file=> - {:should_include=>"true", - :description=>" file with input data", - :help=>" file with input data", - :code_name=>:species_file, - :must_pass=> - [{:test=>"kind_of? String", - :explanation=>"This variable must be a string."}], - :type=>:String, - :autoscanned_defaults=>["geo_file"]}, - :species_time=> - {:should_include=>"true", - :description=>" target time to sample experimental data (in seconds)", - :help=>" target time to sample experimental data (in seconds)", - :code_name=>:species_time, - :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>["geo_time"]}, - :ntspec=> + :autoscanned_defaults=>[-1.0]}}}, + :species=> + {:description=>"", + :should_include=>"true", + :variables=> + {:qi=> {:should_include=>"true", - :description=>" number of species to evolve (profiles)", - :help=>" number of species to evolve (profiles)", - :code_name=>:ntspec, - :must_pass=> - [{:test=>"kind_of? Integer", - :explanation=>"This variable must be an integer."}], - :type=>:Integer, - :autoscanned_defaults=>[2]}, - :qi=> - {:should_include=>"true", :description=> - " simulated ion species charge (in units of fundamental charge)", - :help=>" simulated ion species charge (in units of fundamental charge)", + " outdated main ion charge (kept for backward compatibility) ", + :help=> + " outdated main ion charge (kept for backward compatibility) ", :code_name=>:qi, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[1.0]}, + :autoscanned_defaults=>[-1.0, 1.0]}, :mi=> {:should_include=>"true", - :description=>" ion mass (in units of proton mass)", - :help=>" ion mass (in units of proton mass)", + :description=> + " old variable for primary ion species mass (kept for backward compatibility)", + :help=> + " old variable for primary ion species mass (kept for backward compatibility)", :code_name=>:mi, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[2.0]}, + :autoscanned_defaults=>[-1.0, 1.0]}, :zeff_in=> {:should_include=>"true", :description=>" effective charge", :help=>" effective charge", :code_name=>:zeff_in, @@ -329,11 +302,11 @@ :code_name=>:deuterium, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer, - :autoscanned_defaults=>[1]}, + :autoscanned_defaults=>[-1]}, :tritium=> {:should_include=>"true", :description=> " x-label in iter profile database to look for secondary ion density (\"NMx\")", :help=> @@ -341,11 +314,11 @@ :code_name=>:tritium, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer, - :autoscanned_defaults=>[2]}, + :autoscanned_defaults=>[-1]}, :impurity=> {:should_include=>"true", :description=> " x-label in iter profile database to look for impurity density (\"NMx\")", :help=> @@ -353,33 +326,126 @@ :code_name=>:impurity, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer, - :autoscanned_defaults=>[3]}, + :autoscanned_defaults=>[-1]}, :mimp=> {:should_include=>"true", - :description=>" main impurity mass (in units of proton mass)", - :help=>" main impurity mass (in units of proton mass)", + :description=> + " old variable for main impurity mass (kept for backward compatibility)", + :help=> + " old variable for main impurity mass (kept for backward compatibility)", :code_name=>:mimp, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[12.0]}, + :autoscanned_defaults=>[-1.0]}, :zimp=> {:should_include=>"true", - :description=>" main impurity charge number", - :help=>" main impurity charge number", + :description=> + " old variable for main impurity charge number (kept for backward compatibility)", + :help=> + " old variable for main impurity charge number (kept for backward compatibility)", :code_name=>:zimp, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[6.0]}}}, + :autoscanned_defaults=>[-1.0]}, + :n_ion_spec=> + {:should_include=>"true", + :description=>" number of ion species to evolve", + :help=>" number of ion species to evolve", + :code_name=>:n_ion_spec, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer, + :autoscanned_defaults=>[1]}, + :z_ion_1=> + {:should_include=>"true", + :description=> + " simulated primary ion species charge (in units of fundamental charge)", + :help=> + " simulated primary ion species charge (in units of fundamental charge)", + :code_name=>:z_ion_1, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer, + :autoscanned_defaults=>[-1]}, + :z_ion_2=> + {:should_include=>"true", + :description=> + " simulated secondary ion species charge (in units of fundamental charge)", + :help=> + " simulated secondary ion species charge (in units of fundamental charge)", + :code_name=>:z_ion_2, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer, + :autoscanned_defaults=>[-1]}, + :z_ion_3=> + {:should_include=>"true", + :description=> + " simulated tertiary ion species charge (in units of fundamental charge)", + :help=> + " simulated tertiary ion species charge (in units of fundamental charge)", + :code_name=>:z_ion_3, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer, + :autoscanned_defaults=>[-1]}, + :m_ion_1=> + {:should_include=>"true", + :description=>" simulated primary ion mass (in units of proton mass)", + :help=>" simulated primary ion mass (in units of proton mass)", + :code_name=>:m_ion_1, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[-1.0]}, + :m_ion_2=> + {:should_include=>"true", + :description=>" simulated secondary ion mass (in units of proton mass)", + :help=>" simulated secondary ion mass (in units of proton mass)", + :code_name=>:m_ion_2, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[-1.0]}, + :m_ion_3=> + {:should_include=>"true", + :description=>" simulated tertiary ion mass (in units of proton mass)", + :help=>" simulated tertiary ion mass (in units of proton mass)", + :code_name=>:m_ion_3, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[-1.0]}, + :is_ref=> + {:should_include=>"true", + :description=>" index of reference species in flux calculation", + :help=>" index of reference species in flux calculation", + :code_name=>:is_ref, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer, + :autoscanned_defaults=>[2]}}}, :time=> {:description=>"", :should_include=>"true", :variables=> {:ntstep=> @@ -389,11 +455,11 @@ :code_name=>:ntstep, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer, - :autoscanned_defaults=>[20]}, + :autoscanned_defaults=>[10, 20]}, :niter=> {:should_include=>"true", :description=>" max number of newton iterations per time step", :help=>" max number of newton iterations per time step", :code_name=>:niter, @@ -410,11 +476,11 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.01]}, + :autoscanned_defaults=>[0.01, 0.2]}, :ntdelt_max=> {:should_include=>"true", :description=>" maximum size of transport time step", :help=>" maximum size of transport time step", :code_name=>:ntdelt_max, @@ -444,22 +510,22 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.2]}, + :autoscanned_defaults=>[0.2, 1.0]}, :errflr=> {:should_include=>"true", :description=>" relative error below which we stop iterating", :help=>" relative error below which we stop iterating", :code_name=>:errflr, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.005]}, + :autoscanned_defaults=>[0.005, 0.03]}, :flrfac=> {:should_include=>"true", :description=> " if relative error below errflr/flrfac, decrease ntdelt by factor of 2", :help=> @@ -468,11 +534,11 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[2.0]}, + :autoscanned_defaults=>[1.0, 2.0]}, :nensembles=> {:should_include=>"true", :description=> " # of ensembles to use in ensemble (time) average of fluxes", :help=>" # of ensembles to use in ensemble (time) average of fluxes", @@ -493,11 +559,11 @@ :code_name=>:flux_option, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["default"]}, + :autoscanned_defaults=>["default", "test1"]}, :flxmult=> {:should_include=>"true", :description=>" coefficient multiplying fluxes (for testing)", :help=>" coefficient multiplying fluxes (for testing)", :code_name=>:flxmult, @@ -560,42 +626,32 @@ [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, :autoscanned_defaults=>[0.1]}, - :grad_option=> - {:should_include=>"true", - :description=>" option determining which equilibrium gradients to vary", - :help=>" option determining which equilibrium gradients to vary", - :code_name=>:grad_option, - :must_pass=> - [{:test=>"kind_of? String", - :explanation=>"This variable must be a string."}], - :type=>:String, - :autoscanned_defaults=>["default"]}, :dfprim=> {:should_include=>"true", :description=>" step size for R/Ln is -R/Ln * dfprim", :help=>" step size for R/Ln is -R/Ln * dfprim", :code_name=>:dfprim, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.1]}, + :autoscanned_defaults=>[0.1, 1.0]}, :dtprim=> {:should_include=>"true", :description=>" step size for R/LT is R/LT * dtprim", :help=>" step size for R/LT is R/LT * dtprim", :code_name=>:dtprim, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.1]}, + :autoscanned_defaults=>[0.1, 1.0]}, :dgexb=> {:should_include=>"true", :description=>" step size for gexb is gexb * dgexb", :help=>" step size for gexb is gexb * dgexb", :code_name=>:dgexb, @@ -635,11 +691,11 @@ :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".false."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :dflx_stencil=> {:should_include=>"true", :description=>" number of fluxes to use for flux derivatives", :help=>" number of fluxes to use for flux derivatives", :code_name=>:dflx_stencil, @@ -715,33 +771,11 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.2]}, - :dti=> - {:should_include=>"true", - :description=>" step size for Ti is Ti * dti", - :help=>" step size for Ti is Ti * dti", - :code_name=>:dti, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[0.2]}, - :dte=> - {:should_include=>"true", - :description=>" step size for Te is Te * dte", - :help=>" step size for Te is Te * dte", - :code_name=>:dte, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[0.2]}, + :autoscanned_defaults=>[0.0, 0.2]}, :dom=> {:should_include=>"true", :description=> " step size for toroidal rotation frequency, omega, is omega * dom", :help=> @@ -910,22 +944,22 @@ :explanation=>"This variable must be a string."}], :type=>:String, :autoscanned_defaults=>["default"]}, :nifspppl_initial=> {:should_include=>"true", - :description=>" number of initial ifspppl runs", - :help=>" number of initial ifspppl runs", + :description=>" number of initial ifspppl_fluxes calls", + :help=>" number of initial ifspppl_fluxes calls", :code_name=>:nifspppl_initial, :must_pass=> [{:test=>"kind_of? integer", :explanation=>"this variable must be an integer."}], :type=>:integer, :autoscanned_defaults=>[-1]}, :n_gpus=> {:should_include=>"true", - :description=>" for gryfx, number of avail gpus", - :help=>" for gryfx, number of avail gpus", + :description=>" For gryfx, number of avail gpus", + :help=>" For gryfx, number of avail gpus", :code_name=>:n_gpus, :must_pass=> [{:test=>"kind_of? integer", :explanation=>"this variable must be an integer."}], :type=>:integer, @@ -940,19 +974,29 @@ :explanation=>"This variable must be a string."}], :type=>:String, :autoscanned_defaults=>[""]}, :replay_filename=> {:should_include=>"true", - :description=> - "Name of the netcdf output file that contains the fluxes to be read.", - :help=> - "If running in replay mode, gives the filename of the trinity netcdf output file that contains the fluxes to be read.", + :description=>nil, + :help=>nil, :code_name=>:replay_filename, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], - :type=>:String}}}, + :type=>:String, + :autoscanned_defaults=>[""]}, + :dtemp=> + {:should_include=>"true", + :description=>" step size for temperature is temperature * dtemp", + :help=>" step size for temperature is temperature * dtemp", + :code_name=>:dtemp, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[0.2]}}}, :init=> {:description=>"", :should_include=>"true", :variables=> {:init_option=> @@ -962,11 +1006,11 @@ :code_name=>:init_option, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["default"]}, + :autoscanned_defaults=>["analytic", "default"]}, :init_file=> {:should_include=>"true", :description=>" file with input data", :help=>" file with input data", :code_name=>:init_file, @@ -984,21 +1028,10 @@ [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, :autoscanned_defaults=>["geo_time"]}, - :rln=> - {:should_include=>"true", - :description=>" initial R/Ln", - :help=>" initial R/Ln", - :code_name=>:rln, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[0.0, 1.0]}, :rlti=> {:should_include=>"true", :description=>" initial R/LTi", :help=>" initial R/LTi", :code_name=>:rlti, @@ -1016,24 +1049,11 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[0.0, 4.0]}, - :nedge=> - {:should_include=>"true", - :description=> - " initial density offset. if positive, override init_option for dens", - :help=> - " initial density offset. if positive, override init_option for dens", - :code_name=>:nedge, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[-1.0]}, + :autoscanned_defaults=>[4.0]}, :tiedge=> {:should_include=>"true", :description=> " initial Ti offset. if positive, override init_option for Ti", :help=>" initial Ti offset. if positive, override init_option for Ti", @@ -1101,19 +1121,19 @@ "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, :autoscanned_defaults=>[-1.0]}, :rll=> {:should_include=>"true", - :description=>nil, - :help=>nil, + :description=>" initial R/LL", + :help=>" initial R/LL", :code_name=>:rll, :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[]}, + :autoscanned_defaults=>[0.0]}, :iternt_file=> {:should_include=>"true", :description=> " file with old profile data for restarts in the middle of a timestep", :help=> @@ -1190,11 +1210,51 @@ :code_name=>:itercalib_file, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["restart.itercalib"]}}}, + :autoscanned_defaults=>["restart.itercalib"]}, + :rlni=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:rlni, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}, + :rlne=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:rlne, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}, + :niedge=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:niedge, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}, + :needge=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:needge, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}}}, :sources=> {:description=>"", :should_include=>"true", :variables=> {:source_option=> @@ -1204,11 +1264,11 @@ :code_name=>:source_option, :must_pass=> [{:test=>"kind_of? String", :explanation=>"This variable must be a string."}], :type=>:String, - :autoscanned_defaults=>["default"]}, + :autoscanned_defaults=>["analytic", "default"]}, :source_file=> {:should_include=>"true", :description=>" file with input data", :help=>" file with input data", :code_name=>:source_file, @@ -1226,21 +1286,10 @@ [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, :autoscanned_defaults=>["geo_time"]}, - :powerin=> - {:should_include=>"true", - :description=>" external power input (in MW)", - :help=>" external power input (in MW)", - :code_name=>:powerin, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[50.0]}, :psig=> {:should_include=>"true", :description=> " width of power input profile (in units of minor radius)", :help=>" width of power input profile (in units of minor radius)", @@ -1260,21 +1309,10 @@ [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, :autoscanned_defaults=>[0.0]}, - :src_ratio=> - {:should_include=>"true", - :description=>" fraction of external power going to ions", - :help=>" fraction of external power going to ions", - :code_name=>:src_ratio, - :must_pass=> - [{:test=>"kind_of? Numeric", - :explanation=> - "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], - :type=>:Float, - :autoscanned_defaults=>[0.5]}, :densin=> {:should_include=>"true", :description=>" external density input", :help=>" external density input", :code_name=>:densin, @@ -1315,22 +1353,22 @@ :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :include_radiation=> {:should_include=>"true", :description=>" include bremstrahlung radiation", :help=>" include bremstrahlung radiation", :code_name=>:include_radiation, :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :pioq=> {:should_include=>"true", :description=>" ratio of momentum to heat input", :help=>" ratio of momentum to heat input", :code_name=>:pioq, @@ -1351,21 +1389,10 @@ [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, :autoscanned_defaults=>[".false."]}, - :write_smooth=> - {:should_include=>"true", - :description=>" true writes out smoothed profiles", - :help=>" true writes out smoothed profiles", - :code_name=>:write_smooth, - :must_pass=> - [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", - :explanation=> - "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], - :type=>:Fortran_Bool, - :autoscanned_defaults=>[".false."]}, :nbi_mult=> {:should_include=>"true", :description=> " multiplies QNBII, QNBIE and SNBIE when using the tokamak profile db, may not be self consistent when using TORQ for torque input (as opposed to pioq)", :help=> @@ -1448,11 +1475,53 @@ :must_pass=> [{:test=>"kind_of? Numeric", :explanation=> "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], :type=>:Float, - :autoscanned_defaults=>[-1.0]}}}, + :autoscanned_defaults=>[-1.0]}, + :e_powerin=> + {:should_include=>"true", + :description=>" external electron power input (in MW)", + :help=>" external electron power input (in MW)", + :code_name=>:e_powerin, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[10.0]}, + :i_powerin_1=> + {:should_include=>"true", + :description=>" external primary ion power input (in MW)", + :help=>" external primary ion power input (in MW)", + :code_name=>:i_powerin_1, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float, + :autoscanned_defaults=>[40.0]}, + :i_powerin_2=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:i_powerin_2, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}, + :i_powerin_3=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:i_powerin_3, + :must_pass=> + [{:test=>"kind_of? Numeric", + :explanation=> + "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}], + :type=>:Float}}}, :physics=> {:description=>"", :should_include=>"true", :variables=> {:include_neo=> @@ -1465,33 +1534,33 @@ :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :temp_equil=> {:should_include=>"true", :description=>" set to false to neglect temperature equilibration", :help=>" set to false to neglect temperature equilibration", :code_name=>:temp_equil, :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :turb_heat=> {:should_include=>"true", :description=>" set to false to neglect turbulent heating", :help=>" set to false to neglect turbulent heating", :code_name=>:turb_heat, :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}, + :autoscanned_defaults=>[".false.", ".true."]}, :numult=> {:should_include=>"true", :description=>" multiplier of collision frequency for testing", :help=>" multiplier of collision frequency for testing", :code_name=>:numult, @@ -1509,6 +1578,66 @@ :must_pass=> [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", :explanation=> "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], :type=>:Fortran_Bool, - :autoscanned_defaults=>[".true."]}}}} + :autoscanned_defaults=>[".true."]}, + :evolve_density=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:evolve_density, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}, + :evolve_temperature=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:evolve_temperature, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}, + :evolve_flow=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:evolve_flow, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}, + :te_equal_ti=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:te_equal_ti, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}, + :equal_ion_temps=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:equal_ion_temps, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}, + :te_fixed=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:te_fixed, + :must_pass=> + [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self", + :explanation=> + "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}], + :type=>:Fortran_Bool}}}}