gs2crmod 0.11.99 → 0.11.100
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gs2crmod.gemspec +1 -1
- data/lib/gs2crmod/calculations.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.100
|
data/gs2crmod.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gs2crmod"
|
8
|
-
s.version = "0.11.
|
8
|
+
s.version = "0.11.100"
|
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"]
|
@@ -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/@nwrite...-1].max / vector[@g_exb_start_timestep])/2
|
672
|
+
return GSL::Sf::log(vector[(@g_exb_start_timestep/@nwrite).to_i...-1].max / vector[(@g_exb_start_timestep/@nwrite).to_i])/2
|
673
673
|
else
|
674
674
|
eputs "Warning: set g_exb_start_timestep to calculate transient amplifications."
|
675
675
|
return 0
|