lib/gs2crmod/spectrogk/namelists.rb in gs2crmod-0.11.3 vs lib/gs2crmod/spectrogk/namelists.rb in gs2crmod-0.11.4

- old
+ new

@@ -554,11 +554,107 @@ :code_name=>:write_bpar_over_time, :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}}}, + :type=>:Fortran_Bool}, + :debug=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:debug, + :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}, + :do_write_dynfields=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:do_write_dynfields, + :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}, + :nwrite_dyn=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nwrite_dyn, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :debug_moi=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:debug_moi, + :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}, + :write_moi=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_moi, + :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}, + :moi_no_fft=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:moi_no_fft, + :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}, + :n_modes_of_interest=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:n_modes_of_interest, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :write_freq=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_freq, + :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}, + :nwrite_freq=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nwrite_freq, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :nk_freq=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nk_freq, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}}}, :equil_io=> {:description=>"", :should_include=>"true", :variables=> {:equilibrium_file=> @@ -759,10 +855,38 @@ :code_name=>:restarting, :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}, + :seed1=> + {:should_include=>"true", + :description=>nil, + :help=>nil, + :code_name=>:seed1, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :seed2=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:seed2, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :randomize=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:randomize, + :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}}}, :stir=> {:description=>"", :should_include=>"true", :enumerator=>{:name=>:nk_stir, :estimated_value=>10}, @@ -791,12 +915,21 @@ :help=>"Wavenumber of antennae", :code_name=>:kz, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], - :type=>:Integer}}, - :enumerator=>{:name=>:nk_stir, :estimated_value=>10}}, + :type=>:Integer}, + :mode_amplitude=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:mode_amplitude, + :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}}}, :collisions_knobs=> {:description=>"", :should_include=>"true", :variables=> {:collision_model=> @@ -2838,13 +2971,34 @@ :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}, - :phi_method=> + :fourier_filter=> {:should_include=>"true", - :description=>"Method of determining fields from the distribution in Hankel space", + :description=>"Method of Fourier filtering: hou_li, two_thirds", + :help=>"Method of Fourier filtering: hou_li, two_thirds", + :tests=>["Tst::STRING"], + :code_name=>:fourier_filter, + :must_pass=> + [{:test=>"kind_of? String", + :explanation=>"This variable must be a string."}], + :type=>:String}, + :suppress_kz=> + {:should_include=>"true", + :description=>"Method of suppressing low kz modes: none, zero, krook", + :help=>"Method of suppressing low kz modes: none, zero, krook", + :tests=>["Tst::STRING"], + :code_name=>:suppress_kz, + :must_pass=> + [{:test=>"kind_of? String", + :explanation=>"This variable must be a string."}], + :type=>:String}, + :phi_method=> + {:should_include=>"true", + :description=> + "Method of determining fields from the distribution in Hankel space", :help=> "Should the nonlinear terms be calculated?\n \n** 'none', 'default', 'off': Do not include nonlinear terms, i.e. run a linear calculation.\n** 'on' Include nonlinear terms.", :tests=>["Tst::STRING"], :code_name=>:phi_method, :must_pass=> @@ -2880,9 +3034,449 @@ {:should_include=>"true", :description=>nil, :help=>nil, :tests=>["Tst::INT"], :code_name=>:nperiod, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}}}, + :freq_mode=> + {:description=>"", + :should_include=>"true", + :variables=> + {:kx=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:kx, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :ky=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:ky, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}}}, + :mode_of_interest=> + {:description=>"", + :should_include=>"true", + :variables=> + {:kx_moi=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:kx, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :ky_moi=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:ky, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :kz=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:kz, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}}}, + :gk_eigen_knobs=> + {:description=>"", + :should_include=>"true", + :variables=> + {:nk_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nk_eigen, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :prec=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:prec, + :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}, + :tol=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:tol, + :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}, + :gk_write_disp=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:gk_write_disp, + :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}, + :gk_write_g=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:gk_write_g, + :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}, + :nwrite_eigfields=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nwrite_eigfields, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :eigfields_gnuplot_spacing=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:eigfields_gnuplot_spacing, + :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}, + :eigfields_immediate_write=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:eigfields_immediate_write, + :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}}}, + :gk_eigen=> + {:description=>"", + :should_include=>"true", + :variables=> + {:kx_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:kx, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :ky_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:ky, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :kz_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:kz, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :amp=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:amp, + :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}, + :phase=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:phase, + :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}, + :om_est=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:om_est, + :must_pass=> + [{:test=>"kind_of? Complex", + :explanation=>"This variable must be a complex number."}], + :type=>:Complex}, + :prec_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:prec, + :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}, + :tol_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:tol, + :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}, + :localized=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:localized, + :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}, + :z0_eigen=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:z0, + :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}, + :deltz=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:deltz, + :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}, + :power=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:power, + :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}}}, + :diagnostics_config=> + {:description=>"", + :should_include=>"true", + :variables=> + {:nwrite=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:nwrite, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :write_any=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_any, + :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}, + :write_fields=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_fields, + :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}, + :write_phi_over_time=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_phi_over_time, + :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}, + :write_apar_over_time=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_apar_over_time, + :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}, + :write_bpar_over_time=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_bpar_over_time, + :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}, + :write_dist_fn=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_dist_fn, + :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}, + :write_dist_fn_over_time=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_dist_fn_over_time, + :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}, + :write_fluxes=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_fluxes, + :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}, + :write_fluxes_by_mode=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_fluxes_by_mode, + :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}, + :write_omega=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_omega, + :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}, + :write_omega_all=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:write_omega_all, + :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}, + :navg=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:navg, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :igomega=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:igomega, + :must_pass=> + [{:test=>"kind_of? Integer", + :explanation=>"This variable must be an integer."}], + :type=>:Integer}, + :omegatinst=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:omegatinst, + :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}, + :omegatol=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:omegatol, + :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}, + :exit_when_converged=> + {:should_include=>"true", + :description=>"", + :help=>"", + :code_name=>:exit_when_converged, + :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}}}, + :solver=> + {:description=>"", + :should_include=>"true", + :variables=> + {:equation_set=> + {:should_include=>"true", + :description=>"0 for gyrokinetic, 1 for Vlasov-Poisson", + :help=> + "Sets the equation set to be solved:\n**0 for gyrokinetic equations\n**1 for (1+1)D Vlasov-Poisson", + :code_name=>:equation_set, :must_pass=> [{:test=>"kind_of? Integer", :explanation=>"This variable must be an integer."}], :type=>:Integer}}}}