gs2crmod 0.11.32 → 0.11.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb7d0aba0645087c36b3da468e773b1710381dfd
4
- data.tar.gz: fba3aa59f389e065ea08a313dcc5caa94e8addd5
3
+ metadata.gz: afeedb241db50033dbbb2cbe6c67f7c01906fa23
4
+ data.tar.gz: e8a7feb5a5657b5718ab932cdd73b4f04c1d67c2
5
5
  SHA512:
6
- metadata.gz: bb9a0a70461e50a8cba215f9769bef03b27fcd5a59c3b1c1222905ab19cdac16c39f8292b7371fd3db11b4d14895338c3c51394ec0fa606f06271f8a7f934101
7
- data.tar.gz: aec6d3fb88daf340360dc17c2827f295584e310257ab1232f71b9e5d26f314ef566af914511ef7e9b9560662e7aaaf403c38d39b8de5347d8c5828a7ad46ce16
6
+ metadata.gz: a55053f4b9cbd5fd31c79b73c27a126d857920b57d94cf59d17b2d8b6185ee8616035c6f7dace299dda640fe2d0fb13071a017cc66e04e88b7c1c55fd8d38cbf
7
+ data.tar.gz: d5892ed3fab2bc620775674d59beb2e2454944b2c9d8504946b726ad628171c450d30b851b1a0b7806835c9fe161da46bb08cf585bfadee65e3153adfaa24d1b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.32
1
+ 0.11.33
data/gs2crmod.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: gs2crmod 0.11.32 ruby lib
5
+ # stub: gs2crmod 0.11.33 ruby lib
6
6
  # stub: ext/extconf.rb
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "gs2crmod"
10
- s.version = "0.11.32"
10
+ s.version = "0.11.33"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
14
14
  s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
15
- s.date = "2014-03-18"
15
+ s.date = "2014-03-19"
16
16
  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."
17
17
  s.email = "edmundhighcock@sourceforge.net"
18
18
  s.extensions = ["ext/extconf.rb"]
data/lib/gs2crmod/gs2.rb CHANGED
@@ -557,7 +557,7 @@ def restart(new_run)
557
557
  eputs "#{index+1} out of #{files.size}"
558
558
  num = file.scan(/(?:\.\d+|_ene)$/)[0]
559
559
  #FileUtils.cp("#{old_dir}/#{file}", "nc/#@restart_file#{num}")
560
- FileUtils.cp(file, new_run.directory + "/nc/#@restart_file#{num}")
560
+ FileUtils.cp(file, new_run.directory + "/nc/#{new_run.restart_file}#{num}")
561
561
  end
562
562
  #@runner.submit(new_run)
563
563
  new_run
@@ -38,6 +38,7 @@ if ENV['GS2_EXEC']
38
38
  def test_submission
39
39
  CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{write_moments: ".true.", write_line: ".true.", save_for_restart: ".true.", nsave: 40}')
40
40
  CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{restart_id: 1}')
41
+ CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{restart_id: 2, nstep: 10}')
41
42
  runs = CodeRunner.fetch_runner(Y: tfolder).run_list
42
43
  assert_equal(50, runs[1].completed_timesteps)
43
44
  assert_equal(runs[1].gsl_vector('phi2tot_over_time')[-1].round(4), runs[2].gsl_vector('phi2tot_over_time')[0].round(4))
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.32
4
+ version: 0.11.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-18 00:00:00.000000000 Z
12
+ date: 2014-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coderunner