gs2crmod 0.11.91 → 0.11.92
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/gs2crmod.gemspec +3 -3
- data/lib/gs2crmod/namelists.rb +224 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e69cc69b9415df60fb92d0bf8d1a7b313b3429b
|
4
|
+
data.tar.gz: 7bb750d6d019972c0042c7af9bdece7664f33027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 925c89e94d6ce7b9e6311f6a05088a0a94724622cd2f7dd493c594fa4e88c527edeb3c3d317c1fe93a646db38161f61636bea7e2bc1eb8aff266d7a0c402d474
|
7
|
+
data.tar.gz: fa0c2b0c1b56c8a5d0271ef8a2e86b5677774c5450ec68d0680070368fdab383216fe53a2b550995f3465a6b3114b9c999af0d68328979826282cbb4a5d5c47e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.92
|
data/gs2crmod.gemspec
CHANGED
@@ -2,17 +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.
|
5
|
+
# stub: gs2crmod 0.11.92 ruby lib
|
6
6
|
# stub: ext/extconf.rb
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "gs2crmod"
|
10
|
-
s.version = "0.11.
|
10
|
+
s.version = "0.11.92"
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
13
|
s.require_paths = ["lib"]
|
14
14
|
s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
|
15
|
-
s.date = "2015-03-
|
15
|
+
s.date = "2015-03-31"
|
16
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."
|
17
17
|
s.email = "edmundhighcock@sourceforge.net"
|
18
18
|
s.extensions = ["ext/extconf.rb"]
|
data/lib/gs2crmod/namelists.rb
CHANGED
@@ -144,7 +144,7 @@
|
|
144
144
|
:description=>
|
145
145
|
"The number of ky modes: the number of ky modes actually simulated (naky) is equal to (ny - 1)/3 + 1, due to the need to prevent aliasing.",
|
146
146
|
:tests=>["Tst::INT"],
|
147
|
-
:autoscanned_defaults=>[
|
147
|
+
:autoscanned_defaults=>[1],
|
148
148
|
:must_pass=>
|
149
149
|
[{:test=>"kind_of? Integer",
|
150
150
|
:explanation=>"This variable must be an integer."}],
|
@@ -169,7 +169,7 @@
|
|
169
169
|
:description=>
|
170
170
|
"The length of the box in the y direction (measured in the Larmour radius of species 1)",
|
171
171
|
:tests=>["Tst::FLOAT"],
|
172
|
-
:autoscanned_defaults=>[],
|
172
|
+
:autoscanned_defaults=>["y0/sqrt(2.)"],
|
173
173
|
:must_pass=>
|
174
174
|
[{:test=>"kind_of? Float or kind_of? Integer",
|
175
175
|
:explanation=>
|
@@ -183,7 +183,7 @@
|
|
183
183
|
:description=>
|
184
184
|
"The length of the box in the x direction (measured in the Larmour radius of species 1) if shat is 0 (ie 1e-6)",
|
185
185
|
:tests=>["Tst::FLOAT"],
|
186
|
-
:autoscanned_defaults=>["sqrt(epts(negrid))"],
|
186
|
+
:autoscanned_defaults=>["sqrt(epts(negrid))", "x0/sqrt(2.)"],
|
187
187
|
:must_pass=>
|
188
188
|
[{:test=>"kind_of? Float or kind_of? Integer",
|
189
189
|
:explanation=>
|
@@ -2073,7 +2073,7 @@
|
|
2073
2073
|
:should_include=>"true",
|
2074
2074
|
:description=>"Time step",
|
2075
2075
|
:tests=>["Tst::FLOAT"],
|
2076
|
-
:autoscanned_defaults=>[],
|
2076
|
+
:autoscanned_defaults=>["sqrt(2.0)*delt/2.0"],
|
2077
2077
|
:must_pass=>
|
2078
2078
|
[{:test=>"kind_of? Float or kind_of? Integer",
|
2079
2079
|
:explanation=>
|
@@ -2086,7 +2086,7 @@
|
|
2086
2086
|
:should_include=>"true",
|
2087
2087
|
:description=>"Maximum number of timesteps",
|
2088
2088
|
:tests=>["Tst::INT"],
|
2089
|
-
:autoscanned_defaults=>[],
|
2089
|
+
:autoscanned_defaults=>["nstep*2"],
|
2090
2090
|
:must_pass=>
|
2091
2091
|
[{:test=>"kind_of? Integer",
|
2092
2092
|
:explanation=>"This variable must be an integer."}],
|
@@ -5092,7 +5092,8 @@
|
|
5092
5092
|
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5093
5093
|
:explanation=>
|
5094
5094
|
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5095
|
-
:type=>:Fortran_Bool
|
5095
|
+
:type=>:Fortran_Bool,
|
5096
|
+
:autoscanned_defaults=>[".true."]},
|
5096
5097
|
:append_old=>
|
5097
5098
|
{:should_include=>"true",
|
5098
5099
|
:description=>
|
@@ -5100,6 +5101,116 @@
|
|
5100
5101
|
:help=>
|
5101
5102
|
"If true, and netcdf output file (.out.nc) already exists (e.g. if you are restarting), open it and append to it.",
|
5102
5103
|
:code_name=>:append_old,
|
5104
|
+
:must_pass=>
|
5105
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5106
|
+
:explanation=>
|
5107
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5108
|
+
:type=>:Fortran_Bool,
|
5109
|
+
:autoscanned_defaults=>[".false."]},
|
5110
|
+
:enable_parallel=>
|
5111
|
+
{:should_include=>"true",
|
5112
|
+
:description=>"Switch on netcdf parallel.",
|
5113
|
+
:help=>"Switch on netcdf parallel.",
|
5114
|
+
:code_name=>:enable_parallel,
|
5115
|
+
:must_pass=>
|
5116
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5117
|
+
:explanation=>
|
5118
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5119
|
+
:type=>:Fortran_Bool},
|
5120
|
+
:serial_netcdf4=>
|
5121
|
+
{:should_include=>"true",
|
5122
|
+
:description=>"",
|
5123
|
+
:help=>"",
|
5124
|
+
:code_name=>:serial_netcdf4,
|
5125
|
+
:must_pass=>
|
5126
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5127
|
+
:explanation=>
|
5128
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5129
|
+
:type=>:Fortran_Bool},
|
5130
|
+
:write_ntot_over_time=>
|
5131
|
+
{:should_include=>"true",
|
5132
|
+
:description=>"",
|
5133
|
+
:help=>"",
|
5134
|
+
:code_name=>:write_ntot_over_time,
|
5135
|
+
:must_pass=>
|
5136
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5137
|
+
:explanation=>
|
5138
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5139
|
+
:type=>:Fortran_Bool},
|
5140
|
+
:write_density_over_time=>
|
5141
|
+
{:should_include=>"true",
|
5142
|
+
:description=>"",
|
5143
|
+
:help=>"",
|
5144
|
+
:code_name=>:write_density_over_time,
|
5145
|
+
:must_pass=>
|
5146
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5147
|
+
:explanation=>
|
5148
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5149
|
+
:type=>:Fortran_Bool},
|
5150
|
+
:write_upar_over_time=>
|
5151
|
+
{:should_include=>"true",
|
5152
|
+
:description=>"",
|
5153
|
+
:help=>"",
|
5154
|
+
:code_name=>:write_upar_over_time,
|
5155
|
+
:must_pass=>
|
5156
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5157
|
+
:explanation=>
|
5158
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5159
|
+
:type=>:Fortran_Bool},
|
5160
|
+
:write_tperp_over_time=>
|
5161
|
+
{:should_include=>"true",
|
5162
|
+
:description=>"",
|
5163
|
+
:help=>"",
|
5164
|
+
:code_name=>:write_tperp_over_time,
|
5165
|
+
:must_pass=>
|
5166
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5167
|
+
:explanation=>
|
5168
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5169
|
+
:type=>:Fortran_Bool},
|
5170
|
+
:write_fluxes=>
|
5171
|
+
{:should_include=>"true",
|
5172
|
+
:description=>"",
|
5173
|
+
:help=>"",
|
5174
|
+
:code_name=>:write_fluxes,
|
5175
|
+
:must_pass=>
|
5176
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5177
|
+
:explanation=>
|
5178
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5179
|
+
:type=>:Fortran_Bool},
|
5180
|
+
:write_fluxes_by_mode=>
|
5181
|
+
{:should_include=>"true",
|
5182
|
+
:description=>"",
|
5183
|
+
:help=>"",
|
5184
|
+
:code_name=>:write_fluxes_by_mode,
|
5185
|
+
:must_pass=>
|
5186
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5187
|
+
:explanation=>
|
5188
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5189
|
+
:type=>:Fortran_Bool},
|
5190
|
+
:ncheck=>
|
5191
|
+
{:should_include=>"true",
|
5192
|
+
:description=>"",
|
5193
|
+
:help=>"",
|
5194
|
+
:code_name=>:ncheck,
|
5195
|
+
:must_pass=>
|
5196
|
+
[{:test=>"kind_of? Integer",
|
5197
|
+
:explanation=>"This variable must be an integer."}],
|
5198
|
+
:type=>:Integer},
|
5199
|
+
:write_heating=>
|
5200
|
+
{:should_include=>"true",
|
5201
|
+
:description=>"",
|
5202
|
+
:help=>"",
|
5203
|
+
:code_name=>:write_heating,
|
5204
|
+
:must_pass=>
|
5205
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5206
|
+
:explanation=>
|
5207
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
5208
|
+
:type=>:Fortran_Bool},
|
5209
|
+
:write_jext=>
|
5210
|
+
{:should_include=>"true",
|
5211
|
+
:description=>"",
|
5212
|
+
:help=>"",
|
5213
|
+
:code_name=>:write_jext,
|
5103
5214
|
:must_pass=>
|
5104
5215
|
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
5105
5216
|
:explanation=>
|
@@ -5941,7 +6052,7 @@
|
|
5941
6052
|
:must_pass=>
|
5942
6053
|
[{:test=>"kind_of? Integer",
|
5943
6054
|
:explanation=>"This variable must be an integer."}],
|
5944
|
-
:autoscanned_defaults=>[
|
6055
|
+
:autoscanned_defaults=>[1],
|
5945
6056
|
:type=>:Integer,
|
5946
6057
|
:code_name=>:ny,
|
5947
6058
|
:module=>:kt_grids_specified}}},
|
@@ -7332,4 +7443,109 @@
|
|
7332
7443
|
:explanation=>
|
7333
7444
|
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
7334
7445
|
:type=>:Float,
|
7335
|
-
:autoscanned_defaults=>["self%def_val"]}}}
|
7446
|
+
:autoscanned_defaults=>["self%def_val"]}}},
|
7447
|
+
:optimisation_config=>
|
7448
|
+
{:description=>"",
|
7449
|
+
:should_include=>"true",
|
7450
|
+
:variables=>
|
7451
|
+
{:on=>
|
7452
|
+
{:should_include=>"true",
|
7453
|
+
:description=>
|
7454
|
+
"Switch the optimisation module on. See auto for controlling its behaviour.",
|
7455
|
+
:help=>
|
7456
|
+
"Switch the optimisation module on. See auto for controlling its behaviour.",
|
7457
|
+
:code_name=>:on,
|
7458
|
+
:must_pass=>
|
7459
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
7460
|
+
:explanation=>
|
7461
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
7462
|
+
:type=>:Fortran_Bool},
|
7463
|
+
:auto=>
|
7464
|
+
{:should_include=>"true",
|
7465
|
+
:description=>
|
7466
|
+
"If true, optimise gs2 and run simulation. Else print timing results and exit.",
|
7467
|
+
:help=>
|
7468
|
+
"If true, optimise gs2 and run simulation. Else print timing results to the '.optim' file for all configurations and exit... you can then set the flags manually.",
|
7469
|
+
:code_name=>:auto,
|
7470
|
+
:must_pass=>
|
7471
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
7472
|
+
:explanation=>
|
7473
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
7474
|
+
:type=>:Fortran_Bool},
|
7475
|
+
:measure_all=>
|
7476
|
+
{:should_include=>"true",
|
7477
|
+
:description=>"",
|
7478
|
+
:help=>"",
|
7479
|
+
:code_name=>:measure_all,
|
7480
|
+
:must_pass=>
|
7481
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
7482
|
+
:explanation=>
|
7483
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
7484
|
+
:type=>:Fortran_Bool},
|
7485
|
+
:warm_up=>
|
7486
|
+
{:should_include=>"true",
|
7487
|
+
:description=>"Experimental, set to false.",
|
7488
|
+
:help=>"Experimental, set to false.",
|
7489
|
+
:code_name=>:warm_up,
|
7490
|
+
:must_pass=>
|
7491
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
7492
|
+
:explanation=>
|
7493
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
7494
|
+
:type=>:Fortran_Bool},
|
7495
|
+
:estimate_timing_error=>
|
7496
|
+
{:should_include=>"true",
|
7497
|
+
:description=>
|
7498
|
+
"Calculate an estimate of the timing error and save to to run_name.optim. Recommended.",
|
7499
|
+
:help=>
|
7500
|
+
"Calculate an estimate of the timing error and save to to run_name.optim. Recommended.",
|
7501
|
+
:code_name=>:estimate_timing_error,
|
7502
|
+
:must_pass=>
|
7503
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
7504
|
+
:explanation=>
|
7505
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
7506
|
+
:type=>:Fortran_Bool},
|
7507
|
+
:nstep_measure=>
|
7508
|
+
{:should_include=>"true",
|
7509
|
+
:description=>
|
7510
|
+
"Number of steps used to measure run time. Recommended value 5-20.",
|
7511
|
+
:help=>
|
7512
|
+
"Number of steps used to measure run time. Higher gives more accuracy, but more time is spent in the optimisation routines. Recommended value 5-20.",
|
7513
|
+
:code_name=>:nstep_measure,
|
7514
|
+
:must_pass=>
|
7515
|
+
[{:test=>"kind_of? Integer",
|
7516
|
+
:explanation=>"This variable must be an integer."}],
|
7517
|
+
:type=>:Integer},
|
7518
|
+
:max_imbalance=>
|
7519
|
+
{:should_include=>"true",
|
7520
|
+
:description=>
|
7521
|
+
"Maximum percentage of procs that can lie idle. Should only used when auto is on.",
|
7522
|
+
:help=>
|
7523
|
+
"Maximum percentage of procs that can lie idle. Should only used when auto is on.",
|
7524
|
+
:code_name=>:max_imbalance,
|
7525
|
+
:must_pass=>
|
7526
|
+
[{:test=>"kind_of? Integer",
|
7527
|
+
:explanation=>"This variable must be an integer."}],
|
7528
|
+
:type=>:Integer},
|
7529
|
+
:max_unused_procs=>
|
7530
|
+
{:should_include=>"true",
|
7531
|
+
:description=>
|
7532
|
+
"Max numer of procs that can lie idle. Should only be used when auto is on.",
|
7533
|
+
:help=>
|
7534
|
+
"Max numer of procs that can lie idle. Should only be used when auto is on.",
|
7535
|
+
:code_name=>:max_unused_procs,
|
7536
|
+
:must_pass=>
|
7537
|
+
[{:test=>"kind_of? Integer",
|
7538
|
+
:explanation=>"This variable must be an integer."}],
|
7539
|
+
:type=>:Integer},
|
7540
|
+
:min_efficiency=>
|
7541
|
+
{:should_include=>"true",
|
7542
|
+
:description=>
|
7543
|
+
"Reject configurations that do not have at least min_efficiency.",
|
7544
|
+
:help=>
|
7545
|
+
"Reject configurations that do not have at least min_efficiency, compared to the most efficient solution found.",
|
7546
|
+
:code_name=>:min_efficiency,
|
7547
|
+
:must_pass=>
|
7548
|
+
[{:test=>"kind_of? Numeric",
|
7549
|
+
:explanation=>
|
7550
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
7551
|
+
:type=>:Float}}}}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gs2crmod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.92
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edmund Highcock
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coderunner
|