gs2crmod 0.11.33 → 0.11.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/gs2crmod.gemspec +2 -2
- data/test/test_gs2crmod.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1322197e20ae4f7372ca099fa31d360a6eade2
|
4
|
+
data.tar.gz: 62ea55f2c89c27bf0a16d5093535a4ee9c03be62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac64f07edc42a2ea5a66b9fabd6900c2ad0b2260df00e4dc523bb6fad9a71d4b1c734d48c648056499b530b048cb835a4982fe4f3728bac9ea1f865b20f7fa16
|
7
|
+
data.tar.gz: 09ecf4628eaac231583b7a4003212b7bb02855e0b6dd9b9e54c6865ad93349d9f8fb857611ed31e880a7439924c442264e974aaf7f53a663d0805f8ca3436ccb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.34
|
data/gs2crmod.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
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.
|
5
|
+
# stub: gs2crmod 0.11.34 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.
|
10
|
+
s.version = "0.11.34"
|
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"]
|
data/test/test_gs2crmod.rb
CHANGED
@@ -37,10 +37,11 @@ if ENV['GS2_EXEC']
|
|
37
37
|
end
|
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
|
-
CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{restart_id: 1}')
|
40
|
+
CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{restart_id: 1, tprim_1: 4.0}')
|
41
41
|
CodeRunner.submit(C: 'gs2', X: ENV['GS2_EXEC'], D: 'test_gs2crmod', n: '2', Y: tfolder, p: '{restart_id: 2, nstep: 10}')
|
42
42
|
runs = CodeRunner.fetch_runner(Y: tfolder).run_list
|
43
43
|
assert_equal(50, runs[1].completed_timesteps)
|
44
|
+
assert_equal(4.0, runs[3].tprim_1)
|
44
45
|
assert_equal(runs[1].gsl_vector('phi2tot_over_time')[-1].round(4), runs[2].gsl_vector('phi2tot_over_time')[0].round(4))
|
45
46
|
CodeRunner.status(Y: tfolder)
|
46
47
|
end
|