gs2crmod 0.5.2 → 0.5.3

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
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.2"
8
+ s.version = "0.5.3"
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"]
12
- s.date = "2012-10-10"
12
+ s.date = "2012-11-12"
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"]
@@ -48,6 +48,7 @@ Gem::Specification.new do |s|
48
48
  "lib/gs2crmod/astrogk/test_gs2.rb",
49
49
  "lib/gs2crmod/calculations.rb",
50
50
  "lib/gs2crmod/check_convergence.rb",
51
+ "lib/gs2crmod/cyclone_defaults.rb",
51
52
  "lib/gs2crmod/deleted_variables.rb",
52
53
  "lib/gs2crmod/graphs.rb",
53
54
  "lib/gs2crmod/graphs_rdoc.rb",
@@ -0,0 +1,71 @@
1
+ @equilibrium_option = "s-alpha"
2
+ @model_option = "default"
3
+ @epsl = 2.0
4
+ @eps = 0.18
5
+ @pk = 1.44
6
+ @shat = 0.8
7
+ @shift = 0.0
8
+ @ntheta = 14
9
+ @nperiod = 1
10
+ @beta = 0.0
11
+ @zeff = 1.0
12
+ @collision_model = "lorentz"
13
+ @field_option = "implicit"
14
+ @print_flux_line = ".F."
15
+ @write_nl_flux = ".true."
16
+ @write_verr = ".true."
17
+ @print_line = ".false."
18
+ @write_line = ".false."
19
+ @write_phi_over_time = ".false."
20
+ @write_omega = ".false."
21
+ @write_omavg = ".false."
22
+ @write_final_moments = ".F."
23
+ @write_avg_moments = ".F."
24
+ @write_final_fields = ".F."
25
+ @nwrite = 100
26
+ @navg = 10
27
+ @omegatol = -0.001
28
+ @omegatinst = 500.0
29
+ @save_for_restart = ".true."
30
+ @nsave = 5000
31
+ @ngauss = 4
32
+ @negrid = 8
33
+ @adiabatic_option = "iphi00=2"
34
+ @gridfac = 1.0
35
+ @boundary_option = "linked"
36
+ @g_exb = 0.0
37
+ @g_exb_error_limit = 0.1
38
+ @omprimfac = 1.0
39
+ @chop_side = ".false."
40
+ @phiinit = 0.001
41
+ @restart_file = nil
42
+ @ginit_option = "noise"
43
+ @grid_option = "box"
44
+ @ny = 48
45
+ @nx = 96
46
+ @y0 = 20.0
47
+ @jtwist = 4
48
+ @fphi = 1.0
49
+ @fapar = 0.0
50
+ @faperp = 0.0
51
+ @delt = 0.0125
52
+ @nstep = 100000
53
+ @wstar_units = ".false."
54
+ @nspec = 1
55
+ @type_1 = "ion"
56
+ @z_1 = 1.0
57
+ @mass_1 = 1.0
58
+ @dens_1 = 1.0
59
+ @temp_1 = 1.0
60
+ @tprim_1 = 6.9
61
+ @fprim_1 = 2.2
62
+ @uprim_1 = 0.0
63
+ @vnewk_1 = 0.01
64
+ @fexpr_1 = 0.45
65
+ @bakdif_1 = 0.05
66
+ @flow_mode = "off"
67
+ @nonlinear_mode = "on"
68
+ @cfl = 0.5
69
+ @delt_adj = 2.0
70
+ @delt_minimum = 0.0001
71
+ @layout = "lxyes"
data/lib/gs2crmod/gs2.rb CHANGED
@@ -59,7 +59,7 @@ def agk?
59
59
  false
60
60
  end
61
61
 
62
- MODULE_FOLDER = File.dirname(File.expand_path(__FILE__))
62
+ CODE_SCRIPT_FOLDER = MODULE_FOLDER = File.dirname(File.expand_path(__FILE__))
63
63
 
64
64
  # Include the other files
65
65
  @code_module_folder = folder = File.dirname(File.expand_path(__FILE__)) # i.e. the directory this file is in
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.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-10 00:00:00.000000000 Z
12
+ date: 2012-11-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coderunner
@@ -133,6 +133,7 @@ files:
133
133
  - lib/gs2crmod/astrogk/test_gs2.rb
134
134
  - lib/gs2crmod/calculations.rb
135
135
  - lib/gs2crmod/check_convergence.rb
136
+ - lib/gs2crmod/cyclone_defaults.rb
136
137
  - lib/gs2crmod/deleted_variables.rb
137
138
  - lib/gs2crmod/graphs.rb
138
139
  - lib/gs2crmod/graphs_rdoc.rb