gs2crmod 0.11.17 → 0.11.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/gs2crmod.gemspec +10 -8
- data/lib/gs2crmod/calculations.rb +1 -0
- data/lib/gs2crmod/gsl_data.rb +1 -0
- data/lib/gs2crmod/namelists.rb +166 -7
- metadata +58 -39
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA1:
         | 
| 3 | 
            +
              metadata.gz: 01df5064f938c213b561cb868eb51c526b5f8ff2
         | 
| 4 | 
            +
              data.tar.gz: d604ae41e3ba529473ad1b1edde70764bb392412
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: 0a09576c4726d11ad46961f8d22143f201cac0e5b7dfeae6154c4da4ede921cb821b16bb28b085a78003f20ef5a8d01c59b70ad7c80370d39e9a60a297502086
         | 
| 7 | 
            +
              data.tar.gz: cd5bcadb6c6cb090fa2b12628eeb1b56e11a3f041b8b5fe8ee76b696d1bd5a70ebbef7d5b7650a62d0a381be5b0df5fd3f3408b5e4dd895e946c47fd73e0d942
         | 
    
        data/Gemfile
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            source "http://rubygems.org"
         | 
| 2 2 | 
             
            # Add dependencies required to use your gem here.
         | 
| 3 3 | 
             
            # Example:
         | 
| 4 | 
            -
               gem "coderunner", ">= 0.14. | 
| 4 | 
            +
               gem "coderunner", ">= 0.14.10"
         | 
| 5 5 | 
             
            	 gem "rubyhacks", ">= 0.1.2"
         | 
| 6 6 | 
             
            # It seems necessary to have the following line un-commented on some systems but commented out on other systems:
         | 
| 7 7 | 
             
              gem "ruby-netcdf", ">= 0.6.6.1"
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.11. | 
| 1 | 
            +
            0.11.18
         | 
    
        data/gs2crmod.gemspec
    CHANGED
    
    | @@ -2,14 +2,17 @@ | |
| 2 2 | 
             
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 3 | 
             
            # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
         | 
| 4 4 | 
             
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            +
            # stub: gs2crmod 0.11.18 ruby lib
         | 
| 6 | 
            +
            # stub: ext/extconf.rb
         | 
| 5 7 |  | 
| 6 8 | 
             
            Gem::Specification.new do |s|
         | 
| 7 9 | 
             
              s.name = "gs2crmod"
         | 
| 8 | 
            -
              s.version = "0.11. | 
| 10 | 
            +
              s.version = "0.11.18"
         | 
| 9 11 |  | 
| 10 12 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 13 | 
            +
              s.require_paths = ["lib"]
         | 
| 11 14 | 
             
              s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
         | 
| 12 | 
            -
              s.date = "2014-02- | 
| 15 | 
            +
              s.date = "2014-02-25"
         | 
| 13 16 | 
             
              s.description = "GS2 is a gyrokinetic flux tube initial value turbulence code which can be used for fusion or astrophysical plasmas. CodeRunner is a framework for the automated running and analysis of large simulations. This module allows GS2 (and its sister code AstroGK) to harness the power of the CodeRunner framework."
         | 
| 14 17 | 
             
              s.email = "edmundhighcock@sourceforge.net"
         | 
| 15 18 | 
             
              s.extensions = ["ext/extconf.rb"]
         | 
| @@ -82,16 +85,15 @@ Gem::Specification.new do |s| | |
| 82 85 | 
             
              ]
         | 
| 83 86 | 
             
              s.homepage = "http://gs2crmod.sourceforge.net"
         | 
| 84 87 | 
             
              s.licenses = ["GSLv3"]
         | 
| 85 | 
            -
              s.require_paths = ["lib"]
         | 
| 86 88 | 
             
              s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
         | 
| 87 | 
            -
              s.rubygems_version = " | 
| 89 | 
            +
              s.rubygems_version = "2.2.1"
         | 
| 88 90 | 
             
              s.summary = "Module to allow CodeRunner to run and analyse the GS2 and AstroGK codes."
         | 
| 89 91 |  | 
| 90 92 | 
             
              if s.respond_to? :specification_version then
         | 
| 91 | 
            -
                s.specification_version =  | 
| 93 | 
            +
                s.specification_version = 4
         | 
| 92 94 |  | 
| 93 95 | 
             
                if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
         | 
| 94 | 
            -
                  s.add_runtime_dependency(%q<coderunner>, [">= 0.14. | 
| 96 | 
            +
                  s.add_runtime_dependency(%q<coderunner>, [">= 0.14.10"])
         | 
| 95 97 | 
             
                  s.add_runtime_dependency(%q<rubyhacks>, [">= 0.1.2"])
         | 
| 96 98 | 
             
                  s.add_runtime_dependency(%q<ruby-netcdf>, [">= 0.6.6.1"])
         | 
| 97 99 | 
             
                  s.add_development_dependency(%q<shoulda>, [">= 0"])
         | 
| @@ -99,7 +101,7 @@ Gem::Specification.new do |s| | |
| 99 101 | 
             
                  s.add_development_dependency(%q<bundler>, ["> 1.0.0"])
         | 
| 100 102 | 
             
                  s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
         | 
| 101 103 | 
             
                else
         | 
| 102 | 
            -
                  s.add_dependency(%q<coderunner>, [">= 0.14. | 
| 104 | 
            +
                  s.add_dependency(%q<coderunner>, [">= 0.14.10"])
         | 
| 103 105 | 
             
                  s.add_dependency(%q<rubyhacks>, [">= 0.1.2"])
         | 
| 104 106 | 
             
                  s.add_dependency(%q<ruby-netcdf>, [">= 0.6.6.1"])
         | 
| 105 107 | 
             
                  s.add_dependency(%q<shoulda>, [">= 0"])
         | 
| @@ -108,7 +110,7 @@ Gem::Specification.new do |s| | |
| 108 110 | 
             
                  s.add_dependency(%q<jeweler>, [">= 1.8.4"])
         | 
| 109 111 | 
             
                end
         | 
| 110 112 | 
             
              else
         | 
| 111 | 
            -
                s.add_dependency(%q<coderunner>, [">= 0.14. | 
| 113 | 
            +
                s.add_dependency(%q<coderunner>, [">= 0.14.10"])
         | 
| 112 114 | 
             
                s.add_dependency(%q<rubyhacks>, [">= 0.1.2"])
         | 
| 113 115 | 
             
                s.add_dependency(%q<ruby-netcdf>, [">= 0.6.6.1"])
         | 
| 114 116 | 
             
                s.add_dependency(%q<shoulda>, [">= 0"])
         | 
| @@ -685,6 +685,7 @@ def calculate_transient_amplification(vector, options={}) | |
| 685 685 | 
             
            	##end	
         | 
| 686 686 | 
             
            	#ep "vector[0..5]: #{vector.subvector(0,5)}\n"
         | 
| 687 687 | 
             
            	#return Math.sqrt(vector[turning_points[:first_max]]/@phiinit)
         | 
| 688 | 
            +
            	#return vector.max/@phiinit
         | 
| 688 689 | 
             
            	return vector.max/vector[1]
         | 
| 689 690 | 
             
            end
         | 
| 690 691 |  | 
    
        data/lib/gs2crmod/gsl_data.rb
    CHANGED
    
    | @@ -426,6 +426,7 @@ module GSLVectors | |
| 426 426 | 
             
            			kxy = options[:direction]
         | 
| 427 427 | 
             
            			kxy_index = kxy + :_index
         | 
| 428 428 | 
             
            			options.convert_to_index(self, kxy)
         | 
| 429 | 
            +
            			raise "Please provide species_index " unless options[:species_index]
         | 
| 429 430 | 
             
            			if kxy==:ky
         | 
| 430 431 | 
             
            				lkx = list(:kx)
         | 
| 431 432 | 
             
            				es_heat_av = (lkx.keys.map do |kx_index|		
         | 
    
        data/lib/gs2crmod/namelists.rb
    CHANGED
    
    | @@ -1750,6 +1750,18 @@ | |
| 1750 1750 | 
             
                      :explanation=>
         | 
| 1751 1751 | 
             
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1752 1752 | 
             
                   :type=>:Fortran_Bool,
         | 
| 1753 | 
            +
                   :autoscanned_defaults=>[".false."]},
         | 
| 1754 | 
            +
                 :opt_init_bc=>
         | 
| 1755 | 
            +
                  {:should_include=>"true",
         | 
| 1756 | 
            +
                   :description=>"",
         | 
| 1757 | 
            +
                   :help=>
         | 
| 1758 | 
            +
                    "If true then use an optimised init_connected_bc. This routine can become quite expensive for large problems and currently does not scale well. The optimised routine improves serial performance but does not yet help with scaling.  ",
         | 
| 1759 | 
            +
                   :code_name=>:opt_init_bc,
         | 
| 1760 | 
            +
                   :must_pass=>
         | 
| 1761 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 1762 | 
            +
                      :explanation=>
         | 
| 1763 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1764 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 1753 1765 | 
             
                   :autoscanned_defaults=>[".false."]}}},
         | 
| 1754 1766 | 
             
             :fields_knobs=>
         | 
| 1755 1767 | 
             
              {:description=>"ALGORITHMIC CHOICES",
         | 
| @@ -1757,7 +1769,7 @@ | |
| 1757 1769 | 
             
               :variables=>
         | 
| 1758 1770 | 
             
                {:field_option=>
         | 
| 1759 1771 | 
             
                  {:help=>
         | 
| 1760 | 
            -
                    "The field_option variable controls which time-advance algorithm is used for the linear terms. Allowed values are:                                          \n** 'implicit' Advance linear terms with Kotschenreuther's implicit algorithm.                                                                   \n** 'default'  Same as 'implicit'                                                                                                                     \n** 'explicit' Use second-order Runge-Kutta.  Experimental.                                                                                          \n** 'test' Use for debugging.",
         | 
| 1772 | 
            +
                    "The field_option variable controls which time-advance algorithm is used for the linear terms. Allowed values are:                                          \n** 'implicit' Advance linear terms with Kotschenreuther's implicit algorithm.                                                                   \n** 'default'  Same as 'implicit'                                                                                                                     \n** 'local' Same implicit algorithm as 'implicit' but with different data decomposition (typically much faster for flux tube runs).\n** 'explicit' Use second-order Runge-Kutta.  Experimental.                                                                                          \n** 'test' Use for debugging.",
         | 
| 1761 1773 | 
             
                   :should_include=>"true",
         | 
| 1762 1774 | 
             
                   :description=>
         | 
| 1763 1775 | 
             
                    "Controls which time-advance algorithm is used for the linear terms.",
         | 
| @@ -1774,7 +1786,7 @@ | |
| 1774 1786 | 
             
                   :description=>
         | 
| 1775 1787 | 
             
                    "Set to TRUE to use allgatherv to fetch part of the field update calculated on other procs. FALSE uses a sum_allreduce instead.",
         | 
| 1776 1788 | 
             
                   :help=>
         | 
| 1777 | 
            -
                    "Set to true to use allgatherv to fetch parts of the field update vector calculated on other procs. When false uses a sum_allreduce instead. This doesn't rely on sub-communicators so should work for any layout and processor count | 
| 1789 | 
            +
                    "Set to true to use allgatherv to fetch parts of the field update vector calculated on other procs. When false uses a sum_allreduce instead. This doesn't rely on sub-communicators so should work for any layout and processor count.\n* Note: This only impacts field_option='implicit'",
         | 
| 1778 1790 | 
             
                   :code_name=>:field_subgath,
         | 
| 1779 1791 | 
             
                   :must_pass=>
         | 
| 1780 1792 | 
             
                    [{:test=>"kind_of? String  and FORTRAN_BOOLS.include? self",
         | 
| @@ -1793,6 +1805,64 @@ | |
| 1793 1805 | 
             
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1794 1806 | 
             
                   :type=>:Fortran_Bool,
         | 
| 1795 1807 | 
             
                   :module=>:fields,
         | 
| 1808 | 
            +
                   :autoscanned_defaults=>[".false."]},
         | 
| 1809 | 
            +
                 :force_maxwell_reinit=>
         | 
| 1810 | 
            +
                  {:should_include=>"true",
         | 
| 1811 | 
            +
                   :description=>"",
         | 
| 1812 | 
            +
                   :help=>"",
         | 
| 1813 | 
            +
                   :code_name=>:force_maxwell_reinit,
         | 
| 1814 | 
            +
                   :must_pass=>
         | 
| 1815 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 1816 | 
            +
                      :explanation=>
         | 
| 1817 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1818 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 1819 | 
            +
                   :autoscanned_defaults=>[".true."]},
         | 
| 1820 | 
            +
                 :dump_response=>
         | 
| 1821 | 
            +
                  {:should_include=>"true",
         | 
| 1822 | 
            +
                   :description=>"",
         | 
| 1823 | 
            +
                   :help=>
         | 
| 1824 | 
            +
                    "Writes files containing the field response matrix after initialisation. This currently works for field_option='implicit' or 'local'.\n* Note: We write to netcdf files by default but fall back to fortran unformatted (binary) files (which are not really portable) in the absence of netcdf.\n",
         | 
| 1825 | 
            +
                   :code_name=>:dump_response,
         | 
| 1826 | 
            +
                   :must_pass=>
         | 
| 1827 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 1828 | 
            +
                      :explanation=>
         | 
| 1829 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1830 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 1831 | 
            +
                   :autoscanned_defaults=>[".false."]},
         | 
| 1832 | 
            +
                 :read_response=>
         | 
| 1833 | 
            +
                  {:should_include=>"true",
         | 
| 1834 | 
            +
                   :description=>"",
         | 
| 1835 | 
            +
                   :help=>
         | 
| 1836 | 
            +
                    "Reads files containing the field response matrix and uses to initialise GS2s response matrix rather than using the usual initialisation process.",
         | 
| 1837 | 
            +
                   :code_name=>:read_response,
         | 
| 1838 | 
            +
                   :must_pass=>
         | 
| 1839 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 1840 | 
            +
                      :explanation=>
         | 
| 1841 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1842 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 1843 | 
            +
                   :autoscanned_defaults=>[".false."]},
         | 
| 1844 | 
            +
                 :minnrow=>
         | 
| 1845 | 
            +
                  {:should_include=>"true",
         | 
| 1846 | 
            +
                   :description=>"",
         | 
| 1847 | 
            +
                   :help=>
         | 
| 1848 | 
            +
                    "Used with field_option='local' to set the minimum block size (in a single supercell) assigned to a single processor. Tuning this parameter changes the balance between work parallelisation and communication. The lower this is set the more communication has to be done but the fewer processors don't get assigned work (i.e. helps reduce computation time). The optimal value is likely to depend upon the size of the problem and the number of processors being used. Furthermore it will effect intialisation and advance in different ways. ",
         | 
| 1849 | 
            +
                   :code_name=>:minnrow,
         | 
| 1850 | 
            +
                   :must_pass=>
         | 
| 1851 | 
            +
                    [{:test=>"kind_of? Integer",
         | 
| 1852 | 
            +
                      :explanation=>"This variable must be an integer."}],
         | 
| 1853 | 
            +
                   :type=>:Integer,
         | 
| 1854 | 
            +
                   :autoscanned_defaults=>[64]},
         | 
| 1855 | 
            +
                 :do_smart_update=>
         | 
| 1856 | 
            +
                  {:should_include=>"true",
         | 
| 1857 | 
            +
                   :description=>"",
         | 
| 1858 | 
            +
                   :help=>
         | 
| 1859 | 
            +
                    "Used with field_option='local'. If .true. and x/y distributed then in advance only update local part of field in operations like \"phinew=phinew+phi\" etc.  ",
         | 
| 1860 | 
            +
                   :code_name=>:do_smart_update,
         | 
| 1861 | 
            +
                   :must_pass=>
         | 
| 1862 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 1863 | 
            +
                      :explanation=>
         | 
| 1864 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 1865 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 1796 1866 | 
             
                   :autoscanned_defaults=>[".false."]}}},
         | 
| 1797 1867 | 
             
             :knobs=>
         | 
| 1798 1868 | 
             
              {:description=>"",
         | 
| @@ -1868,9 +1938,10 @@ | |
| 1868 1938 | 
             
                   :module=>:run_parameters},
         | 
| 1869 1939 | 
             
                 :delt_option=>
         | 
| 1870 1940 | 
             
                  {:help=>
         | 
| 1871 | 
            -
                    " | 
| 1941 | 
            +
                    "Determines how the initial timestep is set.  Options: \"default\", \"set_by_hand\" (identical to \"default\") and \"check_restart\". \n* When delt_option=\"default\", the initial timestep is set to delt. \n* If delt_option=\"check_restart\" when restarting a job, the initial timestep will be set to the last timestep of the job you are restarting, even if delt is larger. Thus, you usually want to set delt_option=\"check_restart\" when restarting a job and delt_option=\"default\" otherwise.",
         | 
| 1872 1942 | 
             
                   :should_include=>"true",
         | 
| 1873 | 
            -
                   :description=> | 
| 1943 | 
            +
                   :description=>
         | 
| 1944 | 
            +
                    "\"default\", \"set_by_hand\", \"check_restart\". Determines how the initial timestep is set.",
         | 
| 1874 1945 | 
             
                   :tests=>["Tst::STRING"],
         | 
| 1875 1946 | 
             
                   :autoscanned_defaults=>["default"],
         | 
| 1876 1947 | 
             
                   :must_pass=>
         | 
| @@ -2042,7 +2113,20 @@ | |
| 2042 2113 | 
             
                      :explanation=>
         | 
| 2043 2114 | 
             
                       "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
         | 
| 2044 2115 | 
             
                   :type=>:Float,
         | 
| 2045 | 
            -
                   :autoscanned_defaults=>[300.0]} | 
| 2116 | 
            +
                   :autoscanned_defaults=>[300.0]},
         | 
| 2117 | 
            +
                 :trinity_linear_fluxes=>
         | 
| 2118 | 
            +
                  {:should_include=>"true",
         | 
| 2119 | 
            +
                   :description=>
         | 
| 2120 | 
            +
                    "If true and running linearly, return linear diffusive flux estimates to Trinity.",
         | 
| 2121 | 
            +
                   :help=>
         | 
| 2122 | 
            +
                    "If true and running linearly, return linear diffusive flux estimates to Trinity.",
         | 
| 2123 | 
            +
                   :code_name=>:trinity_linear_fluxes,
         | 
| 2124 | 
            +
                   :must_pass=>
         | 
| 2125 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 2126 | 
            +
                      :explanation=>
         | 
| 2127 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 2128 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 2129 | 
            +
                   :autoscanned_defaults=>[".false."]}}},
         | 
| 2046 2130 | 
             
             :reinit_knobs=>
         | 
| 2047 2131 | 
             
              {:description=>"",
         | 
| 2048 2132 | 
             
               :should_include=>"true",
         | 
| @@ -2538,7 +2622,19 @@ | |
| 2538 2622 | 
             
                       "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
         | 
| 2539 2623 | 
             
                   :type=>:Float,
         | 
| 2540 2624 | 
             
                   :module=>:collisions,
         | 
| 2541 | 
            -
                   :autoscanned_defaults=>[0.01]} | 
| 2625 | 
            +
                   :autoscanned_defaults=>[0.01]},
         | 
| 2626 | 
            +
                 :special_wfb_lorentz=>
         | 
| 2627 | 
            +
                  {:should_include=>"true",
         | 
| 2628 | 
            +
                   :description=>"",
         | 
| 2629 | 
            +
                   :help=>
         | 
| 2630 | 
            +
                    "If true (the default) then the wfb is treated in a special way in the lorentz collision operator. This is the standard behaviour. Setting to false has been seen to help an issue in linear flux tube simulations in which the zonal modes at large kx grow rapidly.   ",
         | 
| 2631 | 
            +
                   :code_name=>:special_wfb_lorentz,
         | 
| 2632 | 
            +
                   :must_pass=>
         | 
| 2633 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 2634 | 
            +
                      :explanation=>
         | 
| 2635 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 2636 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 2637 | 
            +
                   :autoscanned_defaults=>[".true."]}}},
         | 
| 2542 2638 | 
             
             :hyper_knobs=>
         | 
| 2543 2639 | 
             
              {:description=>"",
         | 
| 2544 2640 | 
             
               :should_include=>"true",
         | 
| @@ -4633,7 +4729,70 @@ | |
| 4633 4729 | 
             
                      :explanation=>
         | 
| 4634 4730 | 
             
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 4635 4731 | 
             
                   :type=>:Fortran_Bool,
         | 
| 4636 | 
            -
                   :autoscanned_defaults=>[".false."]} | 
| 4732 | 
            +
                   :autoscanned_defaults=>[".false."]},
         | 
| 4733 | 
            +
                 :file_safety_check=>
         | 
| 4734 | 
            +
                  {:should_include=>"true",
         | 
| 4735 | 
            +
                   :description=>"",
         | 
| 4736 | 
            +
                   :help=>
         | 
| 4737 | 
            +
                    "If .true. and either [[save_for_restart]] or [[save_distfn]] are true then checks that files can be created in restart_dir near the start of the simulation. This should probably be turned on by default after some \"in the wild\" testing.\n ",
         | 
| 4738 | 
            +
                   :code_name=>:file_safety_check,
         | 
| 4739 | 
            +
                   :must_pass=>
         | 
| 4740 | 
            +
                    [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
         | 
| 4741 | 
            +
                      :explanation=>
         | 
| 4742 | 
            +
                       "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
         | 
| 4743 | 
            +
                   :type=>:Fortran_Bool,
         | 
| 4744 | 
            +
                   :autoscanned_defaults=>[".true."]},
         | 
| 4745 | 
            +
                 :conv_nstep_av=>
         | 
| 4746 | 
            +
                  {:should_include=>"true",
         | 
| 4747 | 
            +
                   :description=>"",
         | 
| 4748 | 
            +
                   :help=>"",
         | 
| 4749 | 
            +
                   :code_name=>:conv_nstep_av,
         | 
| 4750 | 
            +
                   :must_pass=>
         | 
| 4751 | 
            +
                    [{:test=>"kind_of? Integer",
         | 
| 4752 | 
            +
                      :explanation=>"This variable must be an integer."}],
         | 
| 4753 | 
            +
                   :type=>:Integer,
         | 
| 4754 | 
            +
                   :autoscanned_defaults=>[4000]},
         | 
| 4755 | 
            +
                 :conv_test_multiplier=>
         | 
| 4756 | 
            +
                  {:should_include=>"true",
         | 
| 4757 | 
            +
                   :description=>"",
         | 
| 4758 | 
            +
                   :help=>"",
         | 
| 4759 | 
            +
                   :code_name=>:conv_test_multiplier,
         | 
| 4760 | 
            +
                   :must_pass=>
         | 
| 4761 | 
            +
                    [{:test=>"kind_of? Numeric",
         | 
| 4762 | 
            +
                      :explanation=>
         | 
| 4763 | 
            +
                       "This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
         | 
| 4764 | 
            +
                   :type=>:Float,
         | 
| 4765 | 
            +
                   :autoscanned_defaults=>[]},
         | 
| 4766 | 
            +
                 :conv_min_step=>
         | 
| 4767 | 
            +
                  {:should_include=>"true",
         | 
| 4768 | 
            +
                   :description=>"",
         | 
| 4769 | 
            +
                   :help=>"",
         | 
| 4770 | 
            +
                   :code_name=>:conv_min_step,
         | 
| 4771 | 
            +
                   :must_pass=>
         | 
| 4772 | 
            +
                    [{:test=>"kind_of? Integer",
         | 
| 4773 | 
            +
                      :explanation=>"This variable must be an integer."}],
         | 
| 4774 | 
            +
                   :type=>:Integer,
         | 
| 4775 | 
            +
                   :autoscanned_defaults=>[4000]},
         | 
| 4776 | 
            +
                 :conv_max_step=>
         | 
| 4777 | 
            +
                  {:should_include=>"true",
         | 
| 4778 | 
            +
                   :description=>"",
         | 
| 4779 | 
            +
                   :help=>"",
         | 
| 4780 | 
            +
                   :code_name=>:conv_max_step,
         | 
| 4781 | 
            +
                   :must_pass=>
         | 
| 4782 | 
            +
                    [{:test=>"kind_of? Integer",
         | 
| 4783 | 
            +
                      :explanation=>"This variable must be an integer."}],
         | 
| 4784 | 
            +
                   :type=>:Integer,
         | 
| 4785 | 
            +
                   :autoscanned_defaults=>[80000]},
         | 
| 4786 | 
            +
                 :conv_nsteps_converged=>
         | 
| 4787 | 
            +
                  {:should_include=>"true",
         | 
| 4788 | 
            +
                   :description=>"",
         | 
| 4789 | 
            +
                   :help=>"",
         | 
| 4790 | 
            +
                   :code_name=>:conv_nsteps_converged,
         | 
| 4791 | 
            +
                   :must_pass=>
         | 
| 4792 | 
            +
                    [{:test=>"kind_of? Integer",
         | 
| 4793 | 
            +
                      :explanation=>"This variable must be an integer."}],
         | 
| 4794 | 
            +
                   :type=>:Integer,
         | 
| 4795 | 
            +
                   :autoscanned_defaults=>[4000]}},
         | 
| 4637 4796 | 
             
               :help=>
         | 
| 4638 4797 | 
             
                "Controls what information is output by GS2 during and at the end of a simulation."},
         | 
| 4639 4798 | 
             
             :testgridgen=>
         | 
    
        metadata
    CHANGED
    
    | @@ -1,8 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: gs2crmod
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.11. | 
| 5 | 
            -
              prerelease: 
         | 
| 4 | 
            +
              version: 0.11.18
         | 
| 6 5 | 
             
            platform: ruby
         | 
| 7 6 | 
             
            authors:
         | 
| 8 7 | 
             
            - Edmund Highcock
         | 
| @@ -10,85 +9,106 @@ authors: | |
| 10 9 | 
             
            autorequire: 
         | 
| 11 10 | 
             
            bindir: bin
         | 
| 12 11 | 
             
            cert_chain: []
         | 
| 13 | 
            -
            date: 2014-02- | 
| 12 | 
            +
            date: 2014-02-25 00:00:00.000000000 Z
         | 
| 14 13 | 
             
            dependencies:
         | 
| 15 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 15 | 
             
              name: coderunner
         | 
| 17 | 
            -
              requirement:  | 
| 18 | 
            -
                none: false
         | 
| 16 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 19 17 | 
             
                requirements:
         | 
| 20 | 
            -
                - -  | 
| 18 | 
            +
                - - ">="
         | 
| 21 19 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version: 0.14. | 
| 20 | 
            +
                    version: 0.14.10
         | 
| 23 21 | 
             
              type: :runtime
         | 
| 24 22 | 
             
              prerelease: false
         | 
| 25 | 
            -
              version_requirements:  | 
| 23 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 24 | 
            +
                requirements:
         | 
| 25 | 
            +
                - - ">="
         | 
| 26 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 27 | 
            +
                    version: 0.14.10
         | 
| 26 28 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 27 29 | 
             
              name: rubyhacks
         | 
| 28 | 
            -
              requirement:  | 
| 29 | 
            -
                none: false
         | 
| 30 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 31 | 
             
                requirements:
         | 
| 31 | 
            -
                - -  | 
| 32 | 
            +
                - - ">="
         | 
| 32 33 | 
             
                  - !ruby/object:Gem::Version
         | 
| 33 34 | 
             
                    version: 0.1.2
         | 
| 34 35 | 
             
              type: :runtime
         | 
| 35 36 | 
             
              prerelease: false
         | 
| 36 | 
            -
              version_requirements:  | 
| 37 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 38 | 
            +
                requirements:
         | 
| 39 | 
            +
                - - ">="
         | 
| 40 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 41 | 
            +
                    version: 0.1.2
         | 
| 37 42 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 38 43 | 
             
              name: ruby-netcdf
         | 
| 39 | 
            -
              requirement:  | 
| 40 | 
            -
                none: false
         | 
| 44 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 41 45 | 
             
                requirements:
         | 
| 42 | 
            -
                - -  | 
| 46 | 
            +
                - - ">="
         | 
| 43 47 | 
             
                  - !ruby/object:Gem::Version
         | 
| 44 48 | 
             
                    version: 0.6.6.1
         | 
| 45 49 | 
             
              type: :runtime
         | 
| 46 50 | 
             
              prerelease: false
         | 
| 47 | 
            -
              version_requirements:  | 
| 51 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 52 | 
            +
                requirements:
         | 
| 53 | 
            +
                - - ">="
         | 
| 54 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 55 | 
            +
                    version: 0.6.6.1
         | 
| 48 56 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 49 57 | 
             
              name: shoulda
         | 
| 50 | 
            -
              requirement:  | 
| 51 | 
            -
                none: false
         | 
| 58 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 52 59 | 
             
                requirements:
         | 
| 53 | 
            -
                - -  | 
| 60 | 
            +
                - - ">="
         | 
| 54 61 | 
             
                  - !ruby/object:Gem::Version
         | 
| 55 62 | 
             
                    version: '0'
         | 
| 56 63 | 
             
              type: :development
         | 
| 57 64 | 
             
              prerelease: false
         | 
| 58 | 
            -
              version_requirements:  | 
| 65 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 66 | 
            +
                requirements:
         | 
| 67 | 
            +
                - - ">="
         | 
| 68 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 69 | 
            +
                    version: '0'
         | 
| 59 70 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 60 71 | 
             
              name: rdoc
         | 
| 61 | 
            -
              requirement:  | 
| 62 | 
            -
                none: false
         | 
| 72 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 63 73 | 
             
                requirements:
         | 
| 64 | 
            -
                - - ~>
         | 
| 74 | 
            +
                - - "~>"
         | 
| 65 75 | 
             
                  - !ruby/object:Gem::Version
         | 
| 66 76 | 
             
                    version: '3.12'
         | 
| 67 77 | 
             
              type: :development
         | 
| 68 78 | 
             
              prerelease: false
         | 
| 69 | 
            -
              version_requirements:  | 
| 79 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 80 | 
            +
                requirements:
         | 
| 81 | 
            +
                - - "~>"
         | 
| 82 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 83 | 
            +
                    version: '3.12'
         | 
| 70 84 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 71 85 | 
             
              name: bundler
         | 
| 72 | 
            -
              requirement:  | 
| 73 | 
            -
                none: false
         | 
| 86 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 74 87 | 
             
                requirements:
         | 
| 75 | 
            -
                - -  | 
| 88 | 
            +
                - - ">"
         | 
| 76 89 | 
             
                  - !ruby/object:Gem::Version
         | 
| 77 90 | 
             
                    version: 1.0.0
         | 
| 78 91 | 
             
              type: :development
         | 
| 79 92 | 
             
              prerelease: false
         | 
| 80 | 
            -
              version_requirements:  | 
| 93 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 94 | 
            +
                requirements:
         | 
| 95 | 
            +
                - - ">"
         | 
| 96 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 97 | 
            +
                    version: 1.0.0
         | 
| 81 98 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 82 99 | 
             
              name: jeweler
         | 
| 83 | 
            -
              requirement:  | 
| 84 | 
            -
                none: false
         | 
| 100 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 85 101 | 
             
                requirements:
         | 
| 86 | 
            -
                - -  | 
| 102 | 
            +
                - - ">="
         | 
| 87 103 | 
             
                  - !ruby/object:Gem::Version
         | 
| 88 104 | 
             
                    version: 1.8.4
         | 
| 89 105 | 
             
              type: :development
         | 
| 90 106 | 
             
              prerelease: false
         | 
| 91 | 
            -
              version_requirements:  | 
| 107 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 108 | 
            +
                requirements:
         | 
| 109 | 
            +
                - - ">="
         | 
| 110 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 111 | 
            +
                    version: 1.8.4
         | 
| 92 112 | 
             
            description: GS2 is a gyrokinetic flux tube initial value turbulence code which can
         | 
| 93 113 | 
             
              be used for fusion or astrophysical plasmas. CodeRunner is a framework for the automated
         | 
| 94 114 | 
             
              running and analysis of large simulations. This module allows GS2 (and its sister
         | 
| @@ -102,7 +122,7 @@ extra_rdoc_files: | |
| 102 122 | 
             
            - README.md
         | 
| 103 123 | 
             
            - README.rdoc
         | 
| 104 124 | 
             
            files:
         | 
| 105 | 
            -
            - .document
         | 
| 125 | 
            +
            - ".document"
         | 
| 106 126 | 
             
            - Gemfile
         | 
| 107 127 | 
             
            - LICENSE.txt
         | 
| 108 128 | 
             
            - README.md
         | 
| @@ -165,26 +185,25 @@ files: | |
| 165 185 | 
             
            homepage: http://gs2crmod.sourceforge.net
         | 
| 166 186 | 
             
            licenses:
         | 
| 167 187 | 
             
            - GSLv3
         | 
| 188 | 
            +
            metadata: {}
         | 
| 168 189 | 
             
            post_install_message: 
         | 
| 169 190 | 
             
            rdoc_options: []
         | 
| 170 191 | 
             
            require_paths:
         | 
| 171 192 | 
             
            - lib
         | 
| 172 193 | 
             
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 173 | 
            -
              none: false
         | 
| 174 194 | 
             
              requirements:
         | 
| 175 | 
            -
              - -  | 
| 195 | 
            +
              - - ">="
         | 
| 176 196 | 
             
                - !ruby/object:Gem::Version
         | 
| 177 197 | 
             
                  version: 1.9.1
         | 
| 178 198 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 179 | 
            -
              none: false
         | 
| 180 199 | 
             
              requirements:
         | 
| 181 | 
            -
              - -  | 
| 200 | 
            +
              - - ">="
         | 
| 182 201 | 
             
                - !ruby/object:Gem::Version
         | 
| 183 202 | 
             
                  version: '0'
         | 
| 184 203 | 
             
            requirements: []
         | 
| 185 204 | 
             
            rubyforge_project: 
         | 
| 186 | 
            -
            rubygems_version:  | 
| 205 | 
            +
            rubygems_version: 2.2.1
         | 
| 187 206 | 
             
            signing_key: 
         | 
| 188 | 
            -
            specification_version:  | 
| 207 | 
            +
            specification_version: 4
         | 
| 189 208 | 
             
            summary: Module to allow CodeRunner to run and analyse the GS2 and AstroGK codes.
         | 
| 190 209 | 
             
            test_files: []
         |