gs2crmod 0.11.98 → 0.11.99
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 +1 -1
- data/gs2crmod.gemspec +2 -2
- data/lib/gs2crmod/calculations.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.11.
|
|
1
|
+
0.11.99
|
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.99"
|
|
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 = "2015-
|
|
12
|
+
s.date = "2015-07-01"
|
|
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"]
|
|
@@ -669,7 +669,7 @@ alias :ctehfa :calculate_transient_es_heat_flux_amplifications
|
|
|
669
669
|
|
|
670
670
|
def calculate_transient_amplification(vector, options={})
|
|
671
671
|
if @g_exb_start_timestep
|
|
672
|
-
return GSL::Sf::log(vector[@g_exb_start_timestep...-1].max / vector[@g_exb_start_timestep])/2
|
|
672
|
+
return GSL::Sf::log(vector[@g_exb_start_timestep/@nwrite...-1].max / vector[@g_exb_start_timestep])/2
|
|
673
673
|
else
|
|
674
674
|
eputs "Warning: set g_exb_start_timestep to calculate transient amplifications."
|
|
675
675
|
return 0
|
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.99
|
|
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: 2015-
|
|
13
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: coderunner
|