gs2crmod 0.11.51 → 0.11.53
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -1
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/gs2crmod.gemspec +12 -18
- data/lib/gs2crmod/graphs.rb +16 -5
- data/lib/gs2crmod/gsl_data.rb +41 -0
- data/lib/gs2crmod/namelists.rb +242 -13
- metadata +48 -63
- checksums.yaml +0 -7
- data/test/agk_slab_itg_low_kperp.in +0 -212
- data/test/agk_slab_itg_low_kperp.tgz +0 -0
- data/test/cyclone_low_res.in +0 -236
- data/test/cyclone_low_res.tgz +0 -0
- data/test/helper.rb +0 -18
- data/test/slab_itg/dummy +0 -0
- data/test/test_gs2crmod.rb +0 -283
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
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.53
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Edmund Highcock
|
@@ -9,106 +10,96 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
13
|
+
date: 2014-07-06 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: coderunner
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirement: &9337200 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- -
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 0.14.15
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
|
-
version_requirements:
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 0.14.15
|
25
|
+
version_requirements: *9337200
|
28
26
|
- !ruby/object:Gem::Dependency
|
29
27
|
name: rubyhacks
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
28
|
+
requirement: &9336480 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
31
30
|
requirements:
|
32
|
-
- -
|
31
|
+
- - ! '>='
|
33
32
|
- !ruby/object:Gem::Version
|
34
33
|
version: 0.1.2
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
|
-
version_requirements:
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 0.1.2
|
36
|
+
version_requirements: *9336480
|
42
37
|
- !ruby/object:Gem::Dependency
|
43
38
|
name: ruby-netcdf-updated
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirement: &9335400 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
45
41
|
requirements:
|
46
|
-
- -
|
42
|
+
- - ! '>='
|
47
43
|
- !ruby/object:Gem::Version
|
48
44
|
version: 0.6.6.1
|
49
45
|
type: :runtime
|
50
46
|
prerelease: false
|
51
|
-
version_requirements:
|
52
|
-
requirements:
|
53
|
-
- - ">="
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 0.6.6.1
|
47
|
+
version_requirements: *9335400
|
56
48
|
- !ruby/object:Gem::Dependency
|
57
49
|
name: shoulda
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirement: &9333560 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - =
|
61
54
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
55
|
+
version: 3.0.1
|
63
56
|
type: :development
|
64
57
|
prerelease: false
|
65
|
-
version_requirements:
|
66
|
-
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
58
|
+
version_requirements: *9333560
|
70
59
|
- !ruby/object:Gem::Dependency
|
71
60
|
name: rdoc
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirement: &9354160 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
73
63
|
requirements:
|
74
|
-
- -
|
64
|
+
- - ~>
|
75
65
|
- !ruby/object:Gem::Version
|
76
66
|
version: '3.12'
|
77
67
|
type: :development
|
78
68
|
prerelease: false
|
79
|
-
version_requirements:
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '3.12'
|
69
|
+
version_requirements: *9354160
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
71
|
name: bundler
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirement: &9350340 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
87
74
|
requirements:
|
88
|
-
- -
|
75
|
+
- - ! '>'
|
89
76
|
- !ruby/object:Gem::Version
|
90
77
|
version: 1.0.0
|
91
78
|
type: :development
|
92
79
|
prerelease: false
|
93
|
-
version_requirements:
|
94
|
-
requirements:
|
95
|
-
- - ">"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 1.0.0
|
80
|
+
version_requirements: *9350340
|
98
81
|
- !ruby/object:Gem::Dependency
|
99
82
|
name: jeweler
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirement: &9347380 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
101
85
|
requirements:
|
102
|
-
- -
|
86
|
+
- - ! '>='
|
103
87
|
- !ruby/object:Gem::Version
|
104
88
|
version: 1.8.4
|
105
89
|
type: :development
|
106
90
|
prerelease: false
|
107
|
-
version_requirements:
|
91
|
+
version_requirements: *9347380
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: minitest
|
94
|
+
requirement: &9260920 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
108
96
|
requirements:
|
109
|
-
- -
|
97
|
+
- - ~>
|
110
98
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
99
|
+
version: '4'
|
100
|
+
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *9260920
|
112
103
|
description: GS2 is a gyrokinetic flux tube initial value turbulence code which can
|
113
104
|
be used for fusion or astrophysical plasmas. CodeRunner is a framework for the automated
|
114
105
|
running and analysis of large simulations. This module allows GS2 (and its sister
|
@@ -122,7 +113,7 @@ extra_rdoc_files:
|
|
122
113
|
- README.md
|
123
114
|
- README.rdoc
|
124
115
|
files:
|
125
|
-
-
|
116
|
+
- .document
|
126
117
|
- Gemfile
|
127
118
|
- LICENSE.txt
|
128
119
|
- README.md
|
@@ -175,35 +166,29 @@ files:
|
|
175
166
|
- sync_variables/sync_variables.rb
|
176
167
|
- sync_variables_sgk/helper.rb
|
177
168
|
- sync_variables_sgk/sync_variables_sgk.rb
|
178
|
-
- test/agk_slab_itg_low_kperp.in
|
179
|
-
- test/agk_slab_itg_low_kperp.tgz
|
180
|
-
- test/cyclone_low_res.in
|
181
|
-
- test/cyclone_low_res.tgz
|
182
|
-
- test/helper.rb
|
183
|
-
- test/slab_itg/dummy
|
184
|
-
- test/test_gs2crmod.rb
|
185
169
|
homepage: http://gs2crmod.sourceforge.net
|
186
170
|
licenses:
|
187
171
|
- GSLv3
|
188
|
-
metadata: {}
|
189
172
|
post_install_message:
|
190
173
|
rdoc_options: []
|
191
174
|
require_paths:
|
192
175
|
- lib
|
193
176
|
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
194
178
|
requirements:
|
195
|
-
- -
|
179
|
+
- - ! '>='
|
196
180
|
- !ruby/object:Gem::Version
|
197
181
|
version: 1.9.1
|
198
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
183
|
+
none: false
|
199
184
|
requirements:
|
200
|
-
- -
|
185
|
+
- - ! '>='
|
201
186
|
- !ruby/object:Gem::Version
|
202
187
|
version: '0'
|
203
188
|
requirements: []
|
204
189
|
rubyforge_project:
|
205
|
-
rubygems_version:
|
190
|
+
rubygems_version: 1.8.11
|
206
191
|
signing_key:
|
207
|
-
specification_version:
|
192
|
+
specification_version: 3
|
208
193
|
summary: Module to allow CodeRunner to run and analyse the GS2 and AstroGK codes.
|
209
194
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: f017ebbde14b8bd89a5bb374906bfbfb5d7cd4ff
|
4
|
-
data.tar.gz: 720329d3734497b4705f8939046a02010be6857f
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: a170d96abbc92ffb740b17013c6d3783b39a61256c71d77012a62d7aa2e20ef208a4170cf51443338620d6eee696147188d77405e95c67c43c7d5ce8f9722f62
|
7
|
-
data.tar.gz: 05e31903d6ddc9aec62f0b83a5a467974a6d9203962a3df6a36a1581f4477b07c6ffeac47d9c63e57a7c82671c3cd395e002da5fe44989f068e7c94ca212cf02
|
@@ -1,212 +0,0 @@
|
|
1
|
-
!==============================================================================
|
2
|
-
! AstroGK INPUT FILE automatically generated by CodeRunner
|
3
|
-
!==============================================================================
|
4
|
-
!
|
5
|
-
! AstroGK is a gyrokinetic flux tube initial value turbulence code
|
6
|
-
! which can be used for fusion or astrophysical plasmas.
|
7
|
-
!
|
8
|
-
! See http://gyrokinetics.sourceforge.net
|
9
|
-
!
|
10
|
-
! CodeRunner is a framework for the automated running and analysis
|
11
|
-
! of large simulations.
|
12
|
-
!
|
13
|
-
! See http://coderunner.sourceforge.net
|
14
|
-
! by CodeRunner version 0.12.11.0
|
15
|
-
!
|
16
|
-
!==============================================================================
|
17
|
-
|
18
|
-
!==============================
|
19
|
-
!
|
20
|
-
!==============================
|
21
|
-
&diagnostics
|
22
|
-
print_line = .false.
|
23
|
-
print_flux_line = .f.
|
24
|
-
write_linear = .f.
|
25
|
-
! write_nonlin not specified ---
|
26
|
-
write_omega = .false.
|
27
|
-
write_omavg = .false.
|
28
|
-
! write_ascii not specified ---
|
29
|
-
write_kpar = .true.
|
30
|
-
! write_gs not specified ---
|
31
|
-
write_g = .false.
|
32
|
-
! write_gg not specified ---
|
33
|
-
! write_vspace_slices not specified ---
|
34
|
-
write_hrate = .f.
|
35
|
-
! write_elsasser not specified ---
|
36
|
-
! write_density_velocity not specified ---
|
37
|
-
! write_epartot not specified ---
|
38
|
-
write_final_fields = .false.
|
39
|
-
write_final_epar = .false.
|
40
|
-
! write_final_moments not specified ---
|
41
|
-
! write_avg_moments not specified ---
|
42
|
-
! write_Epolar not specified ---
|
43
|
-
! write_Eshell not specified ---
|
44
|
-
write_nl_flux = .f.
|
45
|
-
! write_full_moments_r not specified ---
|
46
|
-
nwrite = 4
|
47
|
-
! nmovie not specified ---
|
48
|
-
! nwrite2 not specified ---
|
49
|
-
! nsave not specified ---
|
50
|
-
navg = 20
|
51
|
-
omegatol = -0.001
|
52
|
-
omegatinst = 500.0
|
53
|
-
! igomega not specified ---
|
54
|
-
! write_lorentzian not specified ---
|
55
|
-
! exit_when_converged not specified ---
|
56
|
-
! make_movie not specified ---
|
57
|
-
save_for_restart = .false.
|
58
|
-
! write_adapt_hc not specified ---
|
59
|
-
! write_verr not specified ---
|
60
|
-
! write_vspectrum not specified ---
|
61
|
-
! write_kspectrum not specified ---
|
62
|
-
! write_init not specified ---
|
63
|
-
! write_gkp not specified ---
|
64
|
-
! write_hkv not specified ---
|
65
|
-
! write_ktrans not specified ---
|
66
|
-
! use_qshell not specified ---
|
67
|
-
! write_ptrans not specified ---
|
68
|
-
! get_wtrans not specified ---
|
69
|
-
! get_etrans not specified ---
|
70
|
-
write_phi_over_time = .false.
|
71
|
-
! write_apar_over_time not specified ---
|
72
|
-
! write_bpar_over_time not specified ---
|
73
|
-
/
|
74
|
-
|
75
|
-
!==============================
|
76
|
-
!
|
77
|
-
!==============================
|
78
|
-
&layouts_knobs
|
79
|
-
layout = "lexys" ! 'yxles', 'lxyes', 'lyxes', 'lexys' Determines the way the grids are laid out in memory.
|
80
|
-
/
|
81
|
-
|
82
|
-
!==============================
|
83
|
-
!
|
84
|
-
!==============================
|
85
|
-
&reinit_knobs
|
86
|
-
delt_adj = 2.0 ! When the time step needs to be changed, it is adjusted
|
87
|
-
delt_minimum = 5.0e-10 ! The minimum time step is delt_minimum.
|
88
|
-
/
|
89
|
-
|
90
|
-
!==============================
|
91
|
-
!
|
92
|
-
!==============================
|
93
|
-
&collisions_knobs
|
94
|
-
collision_model = "none" ! Collision model used in the simulation. Options: 'default', 'none', 'lorentz', 'ediffuse'
|
95
|
-
conserve_momentum = .false.
|
96
|
-
heating = .false.
|
97
|
-
/
|
98
|
-
|
99
|
-
!==============================
|
100
|
-
!
|
101
|
-
!==============================
|
102
|
-
&dist_fn_knobs
|
103
|
-
test = .false.
|
104
|
-
/
|
105
|
-
|
106
|
-
!==============================
|
107
|
-
! 1
|
108
|
-
!==============================
|
109
|
-
&dist_fn_species_knobs_1
|
110
|
-
fexp = 0.48
|
111
|
-
bakdif = 0.05 ! Spatial implicitness parameter. Recommended value: 0.05
|
112
|
-
/
|
113
|
-
|
114
|
-
!==============================
|
115
|
-
!
|
116
|
-
!==============================
|
117
|
-
&hyper_knobs
|
118
|
-
hyper_option = "visc_only"
|
119
|
-
const_amp = .true.
|
120
|
-
include_kpar = .false.
|
121
|
-
isotropic_shear = .true.
|
122
|
-
D_hypervisc = 0.01
|
123
|
-
/
|
124
|
-
|
125
|
-
!==============================
|
126
|
-
!
|
127
|
-
!==============================
|
128
|
-
&init_g_knobs
|
129
|
-
ginit_option = "noise" ! Sets the way that the distribution function is initialized.
|
130
|
-
phiinit = 0.1 ! Average amplitude of initial perturbation of each Fourier mode.
|
131
|
-
chop_side = .false. ! Rarely needed. Forces asymmetry into initial condition.
|
132
|
-
/
|
133
|
-
|
134
|
-
!==============================
|
135
|
-
!
|
136
|
-
!==============================
|
137
|
-
&kgrids
|
138
|
-
grid_option = "single"
|
139
|
-
akperp = 0.01
|
140
|
-
nkpolar = 0
|
141
|
-
/
|
142
|
-
|
143
|
-
!==============================
|
144
|
-
!
|
145
|
-
!==============================
|
146
|
-
&le_grids_knobs
|
147
|
-
ngauss = 8 ! Number of untrapped pitch-angles moving in one direction along field line.
|
148
|
-
negrid = 8 ! Total number of energy grid points
|
149
|
-
ecut = 16.0
|
150
|
-
/
|
151
|
-
|
152
|
-
!==============================
|
153
|
-
!
|
154
|
-
!==============================
|
155
|
-
&nonlinear_terms_knobs
|
156
|
-
nonlinear_mode = "off" ! Include nonlinear terms? ('on','off')
|
157
|
-
cfl = 0.2 ! The maximum delt < cfl * min(Delta_perp/v_perp)
|
158
|
-
/
|
159
|
-
|
160
|
-
!==============================
|
161
|
-
!
|
162
|
-
!==============================
|
163
|
-
¶meters
|
164
|
-
beta = 0.0 ! Ratio of particle to magnetic pressure (reference Beta, not total beta): beta=n_0 T_0 /( B^2 / (8 pi))
|
165
|
-
zeff = 1.0 ! Effective ionic charge.
|
166
|
-
tite = 1.0 ! Ratio of ion to electron temperatures.
|
167
|
-
/
|
168
|
-
|
169
|
-
!==============================
|
170
|
-
!
|
171
|
-
!==============================
|
172
|
-
&knobs
|
173
|
-
delt = 0.2 ! Time step
|
174
|
-
nstep = 500 ! Maximum number of timesteps
|
175
|
-
avail_cpu_time = 7200 ! Specify the available wall clock time in seconds. GS2 will exit before this time.
|
176
|
-
use_Phi = .true.
|
177
|
-
use_Apar = .false.
|
178
|
-
use_Bpar = .false.
|
179
|
-
/
|
180
|
-
|
181
|
-
!==============================
|
182
|
-
!
|
183
|
-
!==============================
|
184
|
-
&species_knobs
|
185
|
-
nspec = 1 ! Number of kinetic species evolved.
|
186
|
-
/
|
187
|
-
|
188
|
-
!==============================
|
189
|
-
! 1
|
190
|
-
!==============================
|
191
|
-
&species_parameters_1
|
192
|
-
z = 1.0 ! Charge
|
193
|
-
mass = 1.0 ! Mass
|
194
|
-
dens = 1.0 ! Density
|
195
|
-
temp = 1.0 ! Temperature
|
196
|
-
tprim = 100 ! -1/T (dT/drho)
|
197
|
-
fprim = 1.0 ! -1/n (dn/drho)
|
198
|
-
uprim = 0.0 ! ?
|
199
|
-
type = "ion" ! Type of species, e.g. 'ion', 'electron', 'beam'
|
200
|
-
nu = 0
|
201
|
-
nu_h = 100.0
|
202
|
-
nexp_h = 6.0
|
203
|
-
/
|
204
|
-
|
205
|
-
!==============================
|
206
|
-
!
|
207
|
-
!==============================
|
208
|
-
&theta_grid
|
209
|
-
z0 = 10.0
|
210
|
-
ntheta = 20
|
211
|
-
/
|
212
|
-
|
Binary file
|
data/test/cyclone_low_res.in
DELETED
@@ -1,236 +0,0 @@
|
|
1
|
-
!==============================================================================
|
2
|
-
! GS2 INPUT FILE automatically generated by CodeRunner
|
3
|
-
!==============================================================================
|
4
|
-
!
|
5
|
-
! GS2 is a gyrokinetic flux tube initial value turbulence code
|
6
|
-
! which can be used for fusion or astrophysical plasmas.
|
7
|
-
!
|
8
|
-
! See http://gyrokinetics.sourceforge.net
|
9
|
-
!
|
10
|
-
! CodeRunner is a framework for the automated running and analysis
|
11
|
-
! of large simulations.
|
12
|
-
!
|
13
|
-
! See http://coderunner.sourceforge.net
|
14
|
-
! by CodeRunner version 0.12.6.0
|
15
|
-
!
|
16
|
-
!==============================================================================
|
17
|
-
|
18
|
-
!==============================
|
19
|
-
!GENERAL PARAMETERS
|
20
|
-
!==============================
|
21
|
-
¶meters
|
22
|
-
beta = 0.0 ! Ratio of particle to magnetic pressure (reference Beta, not total beta): beta=n_0 T_0 /( B^2 / (8 pi))
|
23
|
-
zeff = 1.0 ! Effective ionic charge.
|
24
|
-
/
|
25
|
-
|
26
|
-
&kt_grids_knobs
|
27
|
-
grid_option = "box" ! The general layout of the perpendicular grid.
|
28
|
-
/
|
29
|
-
|
30
|
-
!==============================
|
31
|
-
!
|
32
|
-
!==============================
|
33
|
-
&kt_grids_box_parameters
|
34
|
-
nx = 8 ! The number of kx modes: the number of kx modes actually simulated (ntheta0) is equal to 2*(nx - 1)/3 + 1, due to the need to prevent aliasing.
|
35
|
-
ny = 8 ! 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.
|
36
|
-
jtwist = 1 ! L_x = L_y jtwist / (2 pi shat)
|
37
|
-
y0 = 2.0 ! The length of the box in the y direction (measured in the Larmour radius of species 1)
|
38
|
-
x0 = 10.0 ! The length of the box in the x direction (measured in the Larmour radius of species 1) if shat is 0 (ie 1e-6)
|
39
|
-
/
|
40
|
-
|
41
|
-
!==============================
|
42
|
-
!
|
43
|
-
!==============================
|
44
|
-
&theta_grid_parameters
|
45
|
-
ntheta = 8 ! Number of points along field line (theta) per 2 pi segment
|
46
|
-
nperiod = 1 ! Number of 2 pi segments along equilibrium magnetic field.
|
47
|
-
eps = 0.18 ! eps=r/R
|
48
|
-
epsl = 2.0 ! epsl=2 a/R
|
49
|
-
shat = 0.8 !
|
50
|
-
pk = 1.44 ! pk = 2 a / q R
|
51
|
-
shift = 0.0 ! shift = -R q**2 dbeta/drho (>0)
|
52
|
-
/
|
53
|
-
|
54
|
-
!==============================
|
55
|
-
!
|
56
|
-
!==============================
|
57
|
-
&theta_grid_knobs
|
58
|
-
equilibrium_option = "s-alpha" ! Controls which geometric assumptions are used in the run.
|
59
|
-
/
|
60
|
-
|
61
|
-
!==============================
|
62
|
-
!
|
63
|
-
!==============================
|
64
|
-
&theta_grid_salpha_knobs
|
65
|
-
model_option = "default"
|
66
|
-
/
|
67
|
-
|
68
|
-
!==============================
|
69
|
-
!PITCH ANGLE/ENERGY GRID SETUP
|
70
|
-
!==============================
|
71
|
-
&le_grids_knobs
|
72
|
-
ngauss = 5 ! Number of untrapped pitch-angles moving in one direction along field line.
|
73
|
-
negrid = 8 ! Total number of energy grid points
|
74
|
-
/
|
75
|
-
|
76
|
-
!==============================
|
77
|
-
!BOUNDARY CONDITIONS
|
78
|
-
!==============================
|
79
|
-
&dist_fn_knobs
|
80
|
-
gridfac = 1.0 ! Affects boundary condition at end of theta grid.
|
81
|
-
omprimfac = 1.0
|
82
|
-
boundary_option = "linked" ! Sets the boundary condition along the field line (i.e. the boundary conditions at theta = +- pi).
|
83
|
-
adiabatic_option = "iphi00=2" ! The form of the adiabatic response (if a species is being modeled as adiabatic).
|
84
|
-
g_exb = 0.0
|
85
|
-
nonad_zero = .true. ! If true switches on new parallel boundary condition where h=0 at incoming boundary instead of g=0.
|
86
|
-
/
|
87
|
-
|
88
|
-
!==============================
|
89
|
-
!ALGORITHMIC CHOICES
|
90
|
-
!==============================
|
91
|
-
&fields_knobs
|
92
|
-
field_option = "implicit" ! Controls which time-advance algorithm is used for the linear terms.
|
93
|
-
/
|
94
|
-
|
95
|
-
!==============================
|
96
|
-
!
|
97
|
-
!==============================
|
98
|
-
&knobs
|
99
|
-
wstar_units = .false. ! For linear runs only. Evolves each k_y with a different timestep.
|
100
|
-
fphi = 1.0 ! Multiplies Phi (electrostatic potential).
|
101
|
-
fapar = 0.0 ! Multiplies A_par. Use 1 for finite beta (electromagnetic), 0 otherwise (electrostatic)
|
102
|
-
faperp = 0.0 ! Multiplies A_perp. Use 1 for high beta, 0 otherwise. Deprecated: use fbpar instead
|
103
|
-
delt = 0.5 ! Time step
|
104
|
-
nstep = 50 ! Maximum number of timesteps
|
105
|
-
/
|
106
|
-
|
107
|
-
!==============================
|
108
|
-
!
|
109
|
-
!==============================
|
110
|
-
&reinit_knobs
|
111
|
-
delt_adj = 2.0 ! When the time step needs to be changed, it is adjusted
|
112
|
-
delt_minimum = 1.0e-06 ! The minimum time step is delt_minimum.
|
113
|
-
/
|
114
|
-
|
115
|
-
!==============================
|
116
|
-
!
|
117
|
-
!==============================
|
118
|
-
&layouts_knobs
|
119
|
-
layout = "lexys" ! 'yxles', 'lxyes', 'lyxes', 'lexys' Determines the way the grids are laid out in memory.
|
120
|
-
/
|
121
|
-
|
122
|
-
!==============================
|
123
|
-
!COLLISIONS
|
124
|
-
!==============================
|
125
|
-
&collisions_knobs
|
126
|
-
collision_model = "default" ! Collision model used in the simulation. Options: 'default', 'none', 'lorentz', 'ediffuse'
|
127
|
-
/
|
128
|
-
|
129
|
-
!==============================
|
130
|
-
!NONLINEARITY
|
131
|
-
!==============================
|
132
|
-
&nonlinear_terms_knobs
|
133
|
-
nonlinear_mode = "off" ! Include nonlinear terms? ('on','off')
|
134
|
-
flow_mode = "off"
|
135
|
-
cfl = 0.5 ! The maximum delt < cfl * min(Delta_perp/v_perp)
|
136
|
-
/
|
137
|
-
|
138
|
-
!==============================
|
139
|
-
!EVOLVED SPECIES
|
140
|
-
!==============================
|
141
|
-
&species_knobs
|
142
|
-
nspec = 1 ! Number of kinetic species evolved.
|
143
|
-
/
|
144
|
-
|
145
|
-
!==============================
|
146
|
-
!SPECIES PARAMETERS 1
|
147
|
-
!==============================
|
148
|
-
&species_parameters_1
|
149
|
-
z = 1.0 ! Charge
|
150
|
-
mass = 1.0 ! Mass
|
151
|
-
dens = 1.0 ! Density
|
152
|
-
temp = 1.0 ! Temperature
|
153
|
-
tprim = 6.9 ! -1/T (dT/drho)
|
154
|
-
fprim = 2.2 ! -1/n (dn/drho)
|
155
|
-
uprim = 0.0 ! ?
|
156
|
-
vnewk = 0.01 ! collisionality parameter
|
157
|
-
type = "ion" ! Type of species, e.g. 'ion', 'electron', 'beam'
|
158
|
-
/
|
159
|
-
|
160
|
-
!==============================
|
161
|
-
! 1
|
162
|
-
!==============================
|
163
|
-
&dist_fn_species_knobs_1
|
164
|
-
fexpr = 0.45 ! Temporal implicitness parameter. Recommended value: 0.48
|
165
|
-
bakdif = 0.05 ! Spatial implicitness parameter. Recommended value: 0.05
|
166
|
-
/
|
167
|
-
|
168
|
-
!==============================
|
169
|
-
!INITIAL CONDITIONS
|
170
|
-
!==============================
|
171
|
-
&init_g_knobs
|
172
|
-
chop_side = .false. ! Rarely needed. Forces asymmetry into initial condition.
|
173
|
-
phiinit = 0.001 ! Average amplitude of initial perturbation of each Fourier mode.
|
174
|
-
restart_file = "v_nstep_50_delt_0.5_nwrite_1_nsave_100_nonlinear_mode_off_g_exb_0.0_y0_2.0_nonad_zero_.true._jtwist_1_id_16.nc" ! Base of filenames with restart data.
|
175
|
-
ginit_option = "noise" ! Sets the way that the distribution function is initialized.
|
176
|
-
restart_dir = "nc"
|
177
|
-
/
|
178
|
-
|
179
|
-
!==============================
|
180
|
-
!DIAGNOSTICS
|
181
|
-
!==============================
|
182
|
-
&gs2_diagnostics_knobs
|
183
|
-
print_flux_line = .F. ! Instantaneous fluxes output to screen
|
184
|
-
write_nl_flux = .true. ! Write nonlinear fluxes as a function of time.
|
185
|
-
print_line = .false. ! Estimated frequencies and growth rates to the screen/stdout
|
186
|
-
write_verr = .true. ! Write velocity space diagnostics to '.lpc' and '.verr' files
|
187
|
-
! write_g not specified --- Write the distribution function to the '.dist' (NetCDF?)
|
188
|
-
write_line = .false. ! If (write_ascii = T) write estimated frequencies and growth rates to the output file
|
189
|
-
! write_gyx not specified --- Write dist fn at a given physical spacial point to a file
|
190
|
-
write_hrate = .false. ! Write heating rate, collisonal entropy generation etc to '.heat'
|
191
|
-
! write_final_epar not specified --- If (write_ascii = T) E_parallel(theta) written to runname.eigenfunc
|
192
|
-
write_avg_moments = .T. ! Write flux surface averaged low-order moments of g to runname.out.nc and runname.moments (if write_ascii = T)
|
193
|
-
! write_lorentzian not specified --- Frequency Sweep Data
|
194
|
-
write_omega = .false. ! If (write_ascii = T) instantaneous omega to output file. Very heavy output
|
195
|
-
write_omavg = .false. ! If (write_ascii = T) time-averaged growth rate and frequency to the output file.
|
196
|
-
write_eigenfunc = .true. ! If (write_ascii = T) Normalized phi written to runname.eigenfunc
|
197
|
-
write_final_fields = .true. ! If (write_ascii = T) Phi(theta) written to '.fields'
|
198
|
-
write_final_moments = .true. ! write final n, T
|
199
|
-
! write_parity not specified --- Writes parities in dist fn and particle fluxes
|
200
|
-
nsave = 100 ! Write restart files every nsave timesteps
|
201
|
-
nwrite = 1 ! Output diagnostic data every nwrite
|
202
|
-
navg = 10 ! Any time averages performed over navg
|
203
|
-
omegatol = -0.001 ! The convergence has to be better than one part in 1/omegatol
|
204
|
-
omegatinst = 500.0 ! Recommended value: 500.
|
205
|
-
save_for_restart = .false. ! Write restart files.
|
206
|
-
! write_flux_line not specified ---
|
207
|
-
! write_ascii not specified ---
|
208
|
-
! write_kpar not specified ---
|
209
|
-
! write_gs not specified ---
|
210
|
-
! write_gg not specified ---
|
211
|
-
! write_lpoly not specified ---
|
212
|
-
! write_fields not specified ---
|
213
|
-
! write_final_antot not specified ---
|
214
|
-
! write_cerr not specified ---
|
215
|
-
! write_max_verr not specified ---
|
216
|
-
! nmovie not specified ---
|
217
|
-
! igomega not specified ---
|
218
|
-
! exit_when_converged not specified ---
|
219
|
-
! write_full_moments_notgc not specified ---
|
220
|
-
! write_cross_phase not specified ---
|
221
|
-
! dump_check1 not specified ---
|
222
|
-
! dump_check2 not specified ---
|
223
|
-
! dump_fields_periodically not specified ---
|
224
|
-
! make_movie not specified ---
|
225
|
-
write_phi_over_time = .true. ! Write entire Phi field to NetCDF file every nwrite.
|
226
|
-
! write_apar_over_time not specified --- Write entire A_parallel field to NetCDF file every nwrite.
|
227
|
-
! write_bpar_over_time not specified --- Write entire B_parallel field to NetCDF file every nwrite.
|
228
|
-
! write_symmetry not specified --- Test the symmetry properties of the GK eqn.
|
229
|
-
! save_distfn not specified --- Save dist_fn with lots of detail.
|
230
|
-
! write_correlation_extend not specified --- Extend domain of correlation function calculation.
|
231
|
-
! nwrite_mult not specified --- Large datasets written every nwrite_mult * nwrite timesteps.
|
232
|
-
! write_correlation not specified --- Write parallel correlation.
|
233
|
-
! write_moments not specified ---
|
234
|
-
! write_final_db not specified --- Write final delta B.
|
235
|
-
/
|
236
|
-
|
data/test/cyclone_low_res.tgz
DELETED
Binary file
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
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
|
data/test/slab_itg/dummy
DELETED
File without changes
|