gs2crmod 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +5 -0
- data/VERSION +1 -1
- data/gs2crmod.gemspec +4 -2
- data/lib/gs2crmod/spectrogk/namelists.rb +599 -5
- data/lib/gs2crmod/spectrogk.rb +1 -1
- data/sync_variables_sgk/helper.rb +18 -0
- data/sync_variables_sgk/sync_variables_sgk.rb +5 -0
- metadata +4 -2
data/Rakefile
CHANGED
@@ -53,6 +53,11 @@ Rake::TestTask.new(:sync_variables) do |test|
|
|
53
53
|
test.pattern = 'sync_variables/sync_variables.rb'
|
54
54
|
test.verbose = true
|
55
55
|
end
|
56
|
+
Rake::TestTask.new(:sync_variables_sgk) do |test|
|
57
|
+
test.libs << 'lib' << 'sync_variables_sgk'
|
58
|
+
test.pattern = 'sync_variables_sgk/sync_variables_sgk.rb'
|
59
|
+
test.verbose = true
|
60
|
+
end
|
56
61
|
Rake::TestTask.new(:sync_mediawiki) do |test|
|
57
62
|
test.libs << 'lib' << 'sync_mediawiki'
|
58
63
|
test.pattern = 'sync_mediawiki/sync_mediawiki.rb'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.4
|
data/gs2crmod.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gs2crmod"
|
8
|
-
s.version = "0.11.
|
8
|
+
s.version = "0.11.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
|
12
|
-
s.date = "2014-01-
|
12
|
+
s.date = "2014-01-28"
|
13
13
|
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
14
|
s.email = "edmundhighcock@sourceforge.net"
|
15
15
|
s.extensions = ["ext/extconf.rb"]
|
@@ -69,6 +69,8 @@ Gem::Specification.new do |s|
|
|
69
69
|
"sync_mediawiki/sync_mediawiki.rb",
|
70
70
|
"sync_variables/helper.rb",
|
71
71
|
"sync_variables/sync_variables.rb",
|
72
|
+
"sync_variables_sgk/helper.rb",
|
73
|
+
"sync_variables_sgk/sync_variables_sgk.rb",
|
72
74
|
"test/agk_slab_itg_low_kperp.in",
|
73
75
|
"test/agk_slab_itg_low_kperp.tgz",
|
74
76
|
"test/cyclone_low_res.in",
|
@@ -556,7 +556,103 @@
|
|
556
556
|
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
557
557
|
:explanation=>
|
558
558
|
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
559
|
-
:type=>:Fortran_Bool}
|
559
|
+
:type=>:Fortran_Bool},
|
560
|
+
:debug=>
|
561
|
+
{:should_include=>"true",
|
562
|
+
:description=>"",
|
563
|
+
:help=>"",
|
564
|
+
:code_name=>:debug,
|
565
|
+
:must_pass=>
|
566
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
567
|
+
:explanation=>
|
568
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
569
|
+
:type=>:Fortran_Bool},
|
570
|
+
:do_write_dynfields=>
|
571
|
+
{:should_include=>"true",
|
572
|
+
:description=>"",
|
573
|
+
:help=>"",
|
574
|
+
:code_name=>:do_write_dynfields,
|
575
|
+
:must_pass=>
|
576
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
577
|
+
:explanation=>
|
578
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
579
|
+
:type=>:Fortran_Bool},
|
580
|
+
:nwrite_dyn=>
|
581
|
+
{:should_include=>"true",
|
582
|
+
:description=>"",
|
583
|
+
:help=>"",
|
584
|
+
:code_name=>:nwrite_dyn,
|
585
|
+
:must_pass=>
|
586
|
+
[{:test=>"kind_of? Integer",
|
587
|
+
:explanation=>"This variable must be an integer."}],
|
588
|
+
:type=>:Integer},
|
589
|
+
:debug_moi=>
|
590
|
+
{:should_include=>"true",
|
591
|
+
:description=>"",
|
592
|
+
:help=>"",
|
593
|
+
:code_name=>:debug_moi,
|
594
|
+
:must_pass=>
|
595
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
596
|
+
:explanation=>
|
597
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
598
|
+
:type=>:Fortran_Bool},
|
599
|
+
:write_moi=>
|
600
|
+
{:should_include=>"true",
|
601
|
+
:description=>"",
|
602
|
+
:help=>"",
|
603
|
+
:code_name=>:write_moi,
|
604
|
+
:must_pass=>
|
605
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
606
|
+
:explanation=>
|
607
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
608
|
+
:type=>:Fortran_Bool},
|
609
|
+
:moi_no_fft=>
|
610
|
+
{:should_include=>"true",
|
611
|
+
:description=>"",
|
612
|
+
:help=>"",
|
613
|
+
:code_name=>:moi_no_fft,
|
614
|
+
:must_pass=>
|
615
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
616
|
+
:explanation=>
|
617
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
618
|
+
:type=>:Fortran_Bool},
|
619
|
+
:n_modes_of_interest=>
|
620
|
+
{:should_include=>"true",
|
621
|
+
:description=>"",
|
622
|
+
:help=>"",
|
623
|
+
:code_name=>:n_modes_of_interest,
|
624
|
+
:must_pass=>
|
625
|
+
[{:test=>"kind_of? Integer",
|
626
|
+
:explanation=>"This variable must be an integer."}],
|
627
|
+
:type=>:Integer},
|
628
|
+
:write_freq=>
|
629
|
+
{:should_include=>"true",
|
630
|
+
:description=>"",
|
631
|
+
:help=>"",
|
632
|
+
:code_name=>:write_freq,
|
633
|
+
:must_pass=>
|
634
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
635
|
+
:explanation=>
|
636
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
637
|
+
:type=>:Fortran_Bool},
|
638
|
+
:nwrite_freq=>
|
639
|
+
{:should_include=>"true",
|
640
|
+
:description=>"",
|
641
|
+
:help=>"",
|
642
|
+
:code_name=>:nwrite_freq,
|
643
|
+
:must_pass=>
|
644
|
+
[{:test=>"kind_of? Integer",
|
645
|
+
:explanation=>"This variable must be an integer."}],
|
646
|
+
:type=>:Integer},
|
647
|
+
:nk_freq=>
|
648
|
+
{:should_include=>"true",
|
649
|
+
:description=>"",
|
650
|
+
:help=>"",
|
651
|
+
:code_name=>:nk_freq,
|
652
|
+
:must_pass=>
|
653
|
+
[{:test=>"kind_of? Integer",
|
654
|
+
:explanation=>"This variable must be an integer."}],
|
655
|
+
:type=>:Integer}}},
|
560
656
|
:equil_io=>
|
561
657
|
{:description=>"",
|
562
658
|
:should_include=>"true",
|
@@ -757,6 +853,34 @@
|
|
757
853
|
:help=>nil,
|
758
854
|
:tests=>["Tst::FORTRAN_BOOL"],
|
759
855
|
:code_name=>:restarting,
|
856
|
+
:must_pass=>
|
857
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
858
|
+
:explanation=>
|
859
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
860
|
+
:type=>:Fortran_Bool},
|
861
|
+
:seed1=>
|
862
|
+
{:should_include=>"true",
|
863
|
+
:description=>nil,
|
864
|
+
:help=>nil,
|
865
|
+
:code_name=>:seed1,
|
866
|
+
:must_pass=>
|
867
|
+
[{:test=>"kind_of? Integer",
|
868
|
+
:explanation=>"This variable must be an integer."}],
|
869
|
+
:type=>:Integer},
|
870
|
+
:seed2=>
|
871
|
+
{:should_include=>"true",
|
872
|
+
:description=>"",
|
873
|
+
:help=>"",
|
874
|
+
:code_name=>:seed2,
|
875
|
+
:must_pass=>
|
876
|
+
[{:test=>"kind_of? Integer",
|
877
|
+
:explanation=>"This variable must be an integer."}],
|
878
|
+
:type=>:Integer},
|
879
|
+
:randomize=>
|
880
|
+
{:should_include=>"true",
|
881
|
+
:description=>"",
|
882
|
+
:help=>"",
|
883
|
+
:code_name=>:randomize,
|
760
884
|
:must_pass=>
|
761
885
|
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
762
886
|
:explanation=>
|
@@ -793,8 +917,17 @@
|
|
793
917
|
:must_pass=>
|
794
918
|
[{:test=>"kind_of? Integer",
|
795
919
|
:explanation=>"This variable must be an integer."}],
|
796
|
-
:type=>:Integer}
|
797
|
-
|
920
|
+
:type=>:Integer},
|
921
|
+
:mode_amplitude=>
|
922
|
+
{:should_include=>"true",
|
923
|
+
:description=>"",
|
924
|
+
:help=>"",
|
925
|
+
:code_name=>:mode_amplitude,
|
926
|
+
:must_pass=>
|
927
|
+
[{:test=>"kind_of? Numeric",
|
928
|
+
:explanation=>
|
929
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
930
|
+
:type=>:Float}}},
|
798
931
|
:collisions_knobs=>
|
799
932
|
{:description=>"",
|
800
933
|
:should_include=>"true",
|
@@ -2840,9 +2973,30 @@
|
|
2840
2973
|
:explanation=>
|
2841
2974
|
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
2842
2975
|
:type=>:Fortran_Bool},
|
2843
|
-
|
2976
|
+
:fourier_filter=>
|
2844
2977
|
{:should_include=>"true",
|
2845
|
-
:description=>"Method of
|
2978
|
+
:description=>"Method of Fourier filtering: hou_li, two_thirds",
|
2979
|
+
:help=>"Method of Fourier filtering: hou_li, two_thirds",
|
2980
|
+
:tests=>["Tst::STRING"],
|
2981
|
+
:code_name=>:fourier_filter,
|
2982
|
+
:must_pass=>
|
2983
|
+
[{:test=>"kind_of? String",
|
2984
|
+
:explanation=>"This variable must be a string."}],
|
2985
|
+
:type=>:String},
|
2986
|
+
:suppress_kz=>
|
2987
|
+
{:should_include=>"true",
|
2988
|
+
:description=>"Method of suppressing low kz modes: none, zero, krook",
|
2989
|
+
:help=>"Method of suppressing low kz modes: none, zero, krook",
|
2990
|
+
:tests=>["Tst::STRING"],
|
2991
|
+
:code_name=>:suppress_kz,
|
2992
|
+
:must_pass=>
|
2993
|
+
[{:test=>"kind_of? String",
|
2994
|
+
:explanation=>"This variable must be a string."}],
|
2995
|
+
:type=>:String},
|
2996
|
+
:phi_method=>
|
2997
|
+
{:should_include=>"true",
|
2998
|
+
:description=>
|
2999
|
+
"Method of determining fields from the distribution in Hankel space",
|
2846
3000
|
:help=>
|
2847
3001
|
"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.",
|
2848
3002
|
:tests=>["Tst::STRING"],
|
@@ -2882,6 +3036,446 @@
|
|
2882
3036
|
:help=>nil,
|
2883
3037
|
:tests=>["Tst::INT"],
|
2884
3038
|
:code_name=>:nperiod,
|
3039
|
+
:must_pass=>
|
3040
|
+
[{:test=>"kind_of? Integer",
|
3041
|
+
:explanation=>"This variable must be an integer."}],
|
3042
|
+
:type=>:Integer}}},
|
3043
|
+
:freq_mode=>
|
3044
|
+
{:description=>"",
|
3045
|
+
:should_include=>"true",
|
3046
|
+
:variables=>
|
3047
|
+
{:kx=>
|
3048
|
+
{:should_include=>"true",
|
3049
|
+
:description=>"",
|
3050
|
+
:help=>"",
|
3051
|
+
:code_name=>:kx,
|
3052
|
+
:must_pass=>
|
3053
|
+
[{:test=>"kind_of? Integer",
|
3054
|
+
:explanation=>"This variable must be an integer."}],
|
3055
|
+
:type=>:Integer},
|
3056
|
+
:ky=>
|
3057
|
+
{:should_include=>"true",
|
3058
|
+
:description=>"",
|
3059
|
+
:help=>"",
|
3060
|
+
:code_name=>:ky,
|
3061
|
+
:must_pass=>
|
3062
|
+
[{:test=>"kind_of? Integer",
|
3063
|
+
:explanation=>"This variable must be an integer."}],
|
3064
|
+
:type=>:Integer}}},
|
3065
|
+
:mode_of_interest=>
|
3066
|
+
{:description=>"",
|
3067
|
+
:should_include=>"true",
|
3068
|
+
:variables=>
|
3069
|
+
{:kx_moi=>
|
3070
|
+
{:should_include=>"true",
|
3071
|
+
:description=>"",
|
3072
|
+
:help=>"",
|
3073
|
+
:code_name=>:kx,
|
3074
|
+
:must_pass=>
|
3075
|
+
[{:test=>"kind_of? Integer",
|
3076
|
+
:explanation=>"This variable must be an integer."}],
|
3077
|
+
:type=>:Integer},
|
3078
|
+
:ky_moi=>
|
3079
|
+
{:should_include=>"true",
|
3080
|
+
:description=>"",
|
3081
|
+
:help=>"",
|
3082
|
+
:code_name=>:ky,
|
3083
|
+
:must_pass=>
|
3084
|
+
[{:test=>"kind_of? Integer",
|
3085
|
+
:explanation=>"This variable must be an integer."}],
|
3086
|
+
:type=>:Integer},
|
3087
|
+
:kz=>
|
3088
|
+
{:should_include=>"true",
|
3089
|
+
:description=>"",
|
3090
|
+
:help=>"",
|
3091
|
+
:code_name=>:kz,
|
3092
|
+
:must_pass=>
|
3093
|
+
[{:test=>"kind_of? Integer",
|
3094
|
+
:explanation=>"This variable must be an integer."}],
|
3095
|
+
:type=>:Integer}}},
|
3096
|
+
:gk_eigen_knobs=>
|
3097
|
+
{:description=>"",
|
3098
|
+
:should_include=>"true",
|
3099
|
+
:variables=>
|
3100
|
+
{:nk_eigen=>
|
3101
|
+
{:should_include=>"true",
|
3102
|
+
:description=>"",
|
3103
|
+
:help=>"",
|
3104
|
+
:code_name=>:nk_eigen,
|
3105
|
+
:must_pass=>
|
3106
|
+
[{:test=>"kind_of? Integer",
|
3107
|
+
:explanation=>"This variable must be an integer."}],
|
3108
|
+
:type=>:Integer},
|
3109
|
+
:prec=>
|
3110
|
+
{:should_include=>"true",
|
3111
|
+
:description=>"",
|
3112
|
+
:help=>"",
|
3113
|
+
:code_name=>:prec,
|
3114
|
+
:must_pass=>
|
3115
|
+
[{:test=>"kind_of? Numeric",
|
3116
|
+
:explanation=>
|
3117
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3118
|
+
:type=>:Float},
|
3119
|
+
:tol=>
|
3120
|
+
{:should_include=>"true",
|
3121
|
+
:description=>"",
|
3122
|
+
:help=>"",
|
3123
|
+
:code_name=>:tol,
|
3124
|
+
:must_pass=>
|
3125
|
+
[{:test=>"kind_of? Numeric",
|
3126
|
+
:explanation=>
|
3127
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3128
|
+
:type=>:Float},
|
3129
|
+
:gk_write_disp=>
|
3130
|
+
{:should_include=>"true",
|
3131
|
+
:description=>"",
|
3132
|
+
:help=>"",
|
3133
|
+
:code_name=>:gk_write_disp,
|
3134
|
+
:must_pass=>
|
3135
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3136
|
+
:explanation=>
|
3137
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3138
|
+
:type=>:Fortran_Bool},
|
3139
|
+
:gk_write_g=>
|
3140
|
+
{:should_include=>"true",
|
3141
|
+
:description=>"",
|
3142
|
+
:help=>"",
|
3143
|
+
:code_name=>:gk_write_g,
|
3144
|
+
:must_pass=>
|
3145
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3146
|
+
:explanation=>
|
3147
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3148
|
+
:type=>:Fortran_Bool},
|
3149
|
+
:nwrite_eigfields=>
|
3150
|
+
{:should_include=>"true",
|
3151
|
+
:description=>"",
|
3152
|
+
:help=>"",
|
3153
|
+
:code_name=>:nwrite_eigfields,
|
3154
|
+
:must_pass=>
|
3155
|
+
[{:test=>"kind_of? Integer",
|
3156
|
+
:explanation=>"This variable must be an integer."}],
|
3157
|
+
:type=>:Integer},
|
3158
|
+
:eigfields_gnuplot_spacing=>
|
3159
|
+
{:should_include=>"true",
|
3160
|
+
:description=>"",
|
3161
|
+
:help=>"",
|
3162
|
+
:code_name=>:eigfields_gnuplot_spacing,
|
3163
|
+
:must_pass=>
|
3164
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3165
|
+
:explanation=>
|
3166
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3167
|
+
:type=>:Fortran_Bool},
|
3168
|
+
:eigfields_immediate_write=>
|
3169
|
+
{:should_include=>"true",
|
3170
|
+
:description=>"",
|
3171
|
+
:help=>"",
|
3172
|
+
:code_name=>:eigfields_immediate_write,
|
3173
|
+
:must_pass=>
|
3174
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3175
|
+
:explanation=>
|
3176
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3177
|
+
:type=>:Fortran_Bool}}},
|
3178
|
+
:gk_eigen=>
|
3179
|
+
{:description=>"",
|
3180
|
+
:should_include=>"true",
|
3181
|
+
:variables=>
|
3182
|
+
{:kx_eigen=>
|
3183
|
+
{:should_include=>"true",
|
3184
|
+
:description=>"",
|
3185
|
+
:help=>"",
|
3186
|
+
:code_name=>:kx,
|
3187
|
+
:must_pass=>
|
3188
|
+
[{:test=>"kind_of? Integer",
|
3189
|
+
:explanation=>"This variable must be an integer."}],
|
3190
|
+
:type=>:Integer},
|
3191
|
+
:ky_eigen=>
|
3192
|
+
{:should_include=>"true",
|
3193
|
+
:description=>"",
|
3194
|
+
:help=>"",
|
3195
|
+
:code_name=>:ky,
|
3196
|
+
:must_pass=>
|
3197
|
+
[{:test=>"kind_of? Integer",
|
3198
|
+
:explanation=>"This variable must be an integer."}],
|
3199
|
+
:type=>:Integer},
|
3200
|
+
:kz_eigen=>
|
3201
|
+
{:should_include=>"true",
|
3202
|
+
:description=>"",
|
3203
|
+
:help=>"",
|
3204
|
+
:code_name=>:kz,
|
3205
|
+
:must_pass=>
|
3206
|
+
[{:test=>"kind_of? Integer",
|
3207
|
+
:explanation=>"This variable must be an integer."}],
|
3208
|
+
:type=>:Integer},
|
3209
|
+
:amp=>
|
3210
|
+
{:should_include=>"true",
|
3211
|
+
:description=>"",
|
3212
|
+
:help=>"",
|
3213
|
+
:code_name=>:amp,
|
3214
|
+
:must_pass=>
|
3215
|
+
[{:test=>"kind_of? Numeric",
|
3216
|
+
:explanation=>
|
3217
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3218
|
+
:type=>:Float},
|
3219
|
+
:phase=>
|
3220
|
+
{:should_include=>"true",
|
3221
|
+
:description=>"",
|
3222
|
+
:help=>"",
|
3223
|
+
:code_name=>:phase,
|
3224
|
+
:must_pass=>
|
3225
|
+
[{:test=>"kind_of? Numeric",
|
3226
|
+
:explanation=>
|
3227
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3228
|
+
:type=>:Float},
|
3229
|
+
:om_est=>
|
3230
|
+
{:should_include=>"true",
|
3231
|
+
:description=>"",
|
3232
|
+
:help=>"",
|
3233
|
+
:code_name=>:om_est,
|
3234
|
+
:must_pass=>
|
3235
|
+
[{:test=>"kind_of? Complex",
|
3236
|
+
:explanation=>"This variable must be a complex number."}],
|
3237
|
+
:type=>:Complex},
|
3238
|
+
:prec_eigen=>
|
3239
|
+
{:should_include=>"true",
|
3240
|
+
:description=>"",
|
3241
|
+
:help=>"",
|
3242
|
+
:code_name=>:prec,
|
3243
|
+
:must_pass=>
|
3244
|
+
[{:test=>"kind_of? Numeric",
|
3245
|
+
:explanation=>
|
3246
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3247
|
+
:type=>:Float},
|
3248
|
+
:tol_eigen=>
|
3249
|
+
{:should_include=>"true",
|
3250
|
+
:description=>"",
|
3251
|
+
:help=>"",
|
3252
|
+
:code_name=>:tol,
|
3253
|
+
:must_pass=>
|
3254
|
+
[{:test=>"kind_of? Numeric",
|
3255
|
+
:explanation=>
|
3256
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3257
|
+
:type=>:Float},
|
3258
|
+
:localized=>
|
3259
|
+
{:should_include=>"true",
|
3260
|
+
:description=>"",
|
3261
|
+
:help=>"",
|
3262
|
+
:code_name=>:localized,
|
3263
|
+
:must_pass=>
|
3264
|
+
[{:test=>"kind_of? Numeric",
|
3265
|
+
:explanation=>
|
3266
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3267
|
+
:type=>:Float},
|
3268
|
+
:z0_eigen=>
|
3269
|
+
{:should_include=>"true",
|
3270
|
+
:description=>"",
|
3271
|
+
:help=>"",
|
3272
|
+
:code_name=>:z0,
|
3273
|
+
:must_pass=>
|
3274
|
+
[{:test=>"kind_of? Numeric",
|
3275
|
+
:explanation=>
|
3276
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3277
|
+
:type=>:Float},
|
3278
|
+
:deltz=>
|
3279
|
+
{:should_include=>"true",
|
3280
|
+
:description=>"",
|
3281
|
+
:help=>"",
|
3282
|
+
:code_name=>:deltz,
|
3283
|
+
:must_pass=>
|
3284
|
+
[{:test=>"kind_of? Numeric",
|
3285
|
+
:explanation=>
|
3286
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3287
|
+
:type=>:Float},
|
3288
|
+
:power=>
|
3289
|
+
{:should_include=>"true",
|
3290
|
+
:description=>"",
|
3291
|
+
:help=>"",
|
3292
|
+
:code_name=>:power,
|
3293
|
+
:must_pass=>
|
3294
|
+
[{:test=>"kind_of? Numeric",
|
3295
|
+
:explanation=>
|
3296
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3297
|
+
:type=>:Float}}},
|
3298
|
+
:diagnostics_config=>
|
3299
|
+
{:description=>"",
|
3300
|
+
:should_include=>"true",
|
3301
|
+
:variables=>
|
3302
|
+
{:nwrite=>
|
3303
|
+
{:should_include=>"true",
|
3304
|
+
:description=>"",
|
3305
|
+
:help=>"",
|
3306
|
+
:code_name=>:nwrite,
|
3307
|
+
:must_pass=>
|
3308
|
+
[{:test=>"kind_of? Integer",
|
3309
|
+
:explanation=>"This variable must be an integer."}],
|
3310
|
+
:type=>:Integer},
|
3311
|
+
:write_any=>
|
3312
|
+
{:should_include=>"true",
|
3313
|
+
:description=>"",
|
3314
|
+
:help=>"",
|
3315
|
+
:code_name=>:write_any,
|
3316
|
+
:must_pass=>
|
3317
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3318
|
+
:explanation=>
|
3319
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3320
|
+
:type=>:Fortran_Bool},
|
3321
|
+
:write_fields=>
|
3322
|
+
{:should_include=>"true",
|
3323
|
+
:description=>"",
|
3324
|
+
:help=>"",
|
3325
|
+
:code_name=>:write_fields,
|
3326
|
+
:must_pass=>
|
3327
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3328
|
+
:explanation=>
|
3329
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3330
|
+
:type=>:Fortran_Bool},
|
3331
|
+
:write_phi_over_time=>
|
3332
|
+
{:should_include=>"true",
|
3333
|
+
:description=>"",
|
3334
|
+
:help=>"",
|
3335
|
+
:code_name=>:write_phi_over_time,
|
3336
|
+
:must_pass=>
|
3337
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3338
|
+
:explanation=>
|
3339
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3340
|
+
:type=>:Fortran_Bool},
|
3341
|
+
:write_apar_over_time=>
|
3342
|
+
{:should_include=>"true",
|
3343
|
+
:description=>"",
|
3344
|
+
:help=>"",
|
3345
|
+
:code_name=>:write_apar_over_time,
|
3346
|
+
:must_pass=>
|
3347
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3348
|
+
:explanation=>
|
3349
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3350
|
+
:type=>:Fortran_Bool},
|
3351
|
+
:write_bpar_over_time=>
|
3352
|
+
{:should_include=>"true",
|
3353
|
+
:description=>"",
|
3354
|
+
:help=>"",
|
3355
|
+
:code_name=>:write_bpar_over_time,
|
3356
|
+
:must_pass=>
|
3357
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3358
|
+
:explanation=>
|
3359
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3360
|
+
:type=>:Fortran_Bool},
|
3361
|
+
:write_dist_fn=>
|
3362
|
+
{:should_include=>"true",
|
3363
|
+
:description=>"",
|
3364
|
+
:help=>"",
|
3365
|
+
:code_name=>:write_dist_fn,
|
3366
|
+
:must_pass=>
|
3367
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3368
|
+
:explanation=>
|
3369
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3370
|
+
:type=>:Fortran_Bool},
|
3371
|
+
:write_dist_fn_over_time=>
|
3372
|
+
{:should_include=>"true",
|
3373
|
+
:description=>"",
|
3374
|
+
:help=>"",
|
3375
|
+
:code_name=>:write_dist_fn_over_time,
|
3376
|
+
:must_pass=>
|
3377
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3378
|
+
:explanation=>
|
3379
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3380
|
+
:type=>:Fortran_Bool},
|
3381
|
+
:write_fluxes=>
|
3382
|
+
{:should_include=>"true",
|
3383
|
+
:description=>"",
|
3384
|
+
:help=>"",
|
3385
|
+
:code_name=>:write_fluxes,
|
3386
|
+
:must_pass=>
|
3387
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3388
|
+
:explanation=>
|
3389
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3390
|
+
:type=>:Fortran_Bool},
|
3391
|
+
:write_fluxes_by_mode=>
|
3392
|
+
{:should_include=>"true",
|
3393
|
+
:description=>"",
|
3394
|
+
:help=>"",
|
3395
|
+
:code_name=>:write_fluxes_by_mode,
|
3396
|
+
:must_pass=>
|
3397
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3398
|
+
:explanation=>
|
3399
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3400
|
+
:type=>:Fortran_Bool},
|
3401
|
+
:write_omega=>
|
3402
|
+
{:should_include=>"true",
|
3403
|
+
:description=>"",
|
3404
|
+
:help=>"",
|
3405
|
+
:code_name=>:write_omega,
|
3406
|
+
:must_pass=>
|
3407
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3408
|
+
:explanation=>
|
3409
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3410
|
+
:type=>:Fortran_Bool},
|
3411
|
+
:write_omega_all=>
|
3412
|
+
{:should_include=>"true",
|
3413
|
+
:description=>"",
|
3414
|
+
:help=>"",
|
3415
|
+
:code_name=>:write_omega_all,
|
3416
|
+
:must_pass=>
|
3417
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3418
|
+
:explanation=>
|
3419
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3420
|
+
:type=>:Fortran_Bool},
|
3421
|
+
:navg=>
|
3422
|
+
{:should_include=>"true",
|
3423
|
+
:description=>"",
|
3424
|
+
:help=>"",
|
3425
|
+
:code_name=>:navg,
|
3426
|
+
:must_pass=>
|
3427
|
+
[{:test=>"kind_of? Integer",
|
3428
|
+
:explanation=>"This variable must be an integer."}],
|
3429
|
+
:type=>:Integer},
|
3430
|
+
:igomega=>
|
3431
|
+
{:should_include=>"true",
|
3432
|
+
:description=>"",
|
3433
|
+
:help=>"",
|
3434
|
+
:code_name=>:igomega,
|
3435
|
+
:must_pass=>
|
3436
|
+
[{:test=>"kind_of? Integer",
|
3437
|
+
:explanation=>"This variable must be an integer."}],
|
3438
|
+
:type=>:Integer},
|
3439
|
+
:omegatinst=>
|
3440
|
+
{:should_include=>"true",
|
3441
|
+
:description=>"",
|
3442
|
+
:help=>"",
|
3443
|
+
:code_name=>:omegatinst,
|
3444
|
+
:must_pass=>
|
3445
|
+
[{:test=>"kind_of? Numeric",
|
3446
|
+
:explanation=>
|
3447
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3448
|
+
:type=>:Float},
|
3449
|
+
:omegatol=>
|
3450
|
+
{:should_include=>"true",
|
3451
|
+
:description=>"",
|
3452
|
+
:help=>"",
|
3453
|
+
:code_name=>:omegatol,
|
3454
|
+
:must_pass=>
|
3455
|
+
[{:test=>"kind_of? Numeric",
|
3456
|
+
:explanation=>
|
3457
|
+
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
3458
|
+
:type=>:Float},
|
3459
|
+
:exit_when_converged=>
|
3460
|
+
{:should_include=>"true",
|
3461
|
+
:description=>"",
|
3462
|
+
:help=>"",
|
3463
|
+
:code_name=>:exit_when_converged,
|
3464
|
+
:must_pass=>
|
3465
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
3466
|
+
:explanation=>
|
3467
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
3468
|
+
:type=>:Fortran_Bool}}},
|
3469
|
+
:solver=>
|
3470
|
+
{:description=>"",
|
3471
|
+
:should_include=>"true",
|
3472
|
+
:variables=>
|
3473
|
+
{:equation_set=>
|
3474
|
+
{:should_include=>"true",
|
3475
|
+
:description=>"0 for gyrokinetic, 1 for Vlasov-Poisson",
|
3476
|
+
:help=>
|
3477
|
+
"Sets the equation set to be solved:\n**0 for gyrokinetic equations\n**1 for (1+1)D Vlasov-Poisson",
|
3478
|
+
:code_name=>:equation_set,
|
2885
3479
|
:must_pass=>
|
2886
3480
|
[{:test=>"kind_of? Integer",
|
2887
3481
|
:explanation=>"This variable must be an integer."}],
|
data/lib/gs2crmod/spectrogk.rb
CHANGED
@@ -141,7 +141,7 @@ def self.defaults_file_header
|
|
141
141
|
EOF1
|
142
142
|
end
|
143
143
|
|
144
|
-
@source_code_subfolders = ['utils']
|
144
|
+
@source_code_subfolders = ['utils', 'diagnostics', 'easy_namelists']
|
145
145
|
|
146
146
|
folder = File.dirname(File.expand_path(__FILE__)) # i.e. the directory this file is in
|
147
147
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
require 'shoulda'
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'coderunner'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
end
|
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.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-01-
|
13
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coderunner
|
@@ -187,6 +187,8 @@ files:
|
|
187
187
|
- sync_mediawiki/sync_mediawiki.rb
|
188
188
|
- sync_variables/helper.rb
|
189
189
|
- sync_variables/sync_variables.rb
|
190
|
+
- sync_variables_sgk/helper.rb
|
191
|
+
- sync_variables_sgk/sync_variables_sgk.rb
|
190
192
|
- test/agk_slab_itg_low_kperp.in
|
191
193
|
- test/agk_slab_itg_low_kperp.tgz
|
192
194
|
- test/cyclone_low_res.in
|