gs2crmod 0.5.15 → 0.5.16
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gs2crmod.gemspec +2 -2
- data/lib/gs2crmod/ingen.rb +3 -0
- data/lib/gs2crmod/namelists.rb +12 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.16
|
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.5.
|
8
|
+
s.version = "0.5.16"
|
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 = "2013-
|
12
|
+
s.date = "2013-06-06"
|
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"]
|
data/lib/gs2crmod/ingen.rb
CHANGED
@@ -133,6 +133,9 @@ def ingen
|
|
133
133
|
|
134
134
|
# negrid
|
135
135
|
warning('negrid < 8 is not a good idea!') if @negrid and @negrid < 8
|
136
|
+
|
137
|
+
# nakx
|
138
|
+
warning("You have set both nx and ntheta0; ntheta0 will override nx.") if @nx and @ntheta0
|
136
139
|
|
137
140
|
#################################
|
138
141
|
# Parallelisation/Layout Errors #
|
data/lib/gs2crmod/namelists.rb
CHANGED
@@ -2885,6 +2885,18 @@
|
|
2885
2885
|
:explanation=>
|
2886
2886
|
"This variable must be a floating point number (an integer is also acceptable: it will be converted into a floating point number)."}],
|
2887
2887
|
:type=>:Float},
|
2888
|
+
:clean_init=>
|
2889
|
+
{:help=>"Makes sure phi = 0 at either ends of paralle domain. Only works when chop_side is also true",
|
2890
|
+
:should_include=>"true",
|
2891
|
+
:description=>"phi = 0 at either end of domain.",
|
2892
|
+
:tests=>["Tst::STRING"],
|
2893
|
+
:autoscanned_defaults=>[".true."],
|
2894
|
+
:must_pass=>
|
2895
|
+
[{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
|
2896
|
+
:explanation=>
|
2897
|
+
"This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
|
2898
|
+
:autoscanned_defaults=>[".true."],
|
2899
|
+
:type=>:Fortran_Bool},
|
2888
2900
|
:chop_side=>
|
2889
2901
|
{:help=>"Rarely needed. Forces asymmetry into initial condition.",
|
2890
2902
|
:should_include=>"true",
|
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.5.
|
4
|
+
version: 0.5.16
|
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: 2013-
|
13
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coderunner
|