gs2crmod 0.12.3 → 0.12.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.3
1
+ 0.12.4
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.12.3"
8
+ s.version = "0.12.4"
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"]
@@ -445,7 +445,12 @@ def calculate_transient_amplifications
445
445
  phi2_vec = gsl_vector("phi2_by_#{kxy}_over_time", {kxy=>value})
446
446
  transient_amplifications[value] = calculate_transient_amplification(phi2_vec)
447
447
  (eputs "\n\n----------\nIn #@run_name:\n\nphi2_by_#{kxy}_over_time is all NaN; unable to calculate growth rate\n----------\n\n"; transient_amplifications[value] = -1; next) if transient_amplifications[value].to_s == "NaN"
448
- @max_transient_amplification_index_at_ky[value] = phi2_vec.max_index
448
+ if @g_exb_start_timestep
449
+ @max_transient_amplification_index_at_ky[value] =
450
+ phi2_vec[(@g_exb_start_timestep/@nwrite).to_i...-1].max_index
451
+ else
452
+ @max_transient_amplification_index_at_ky[value] = nil
453
+ end
449
454
  end
450
455
  end
451
456
 
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.12.3
4
+ version: 0.12.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: