trinitycrmod 0.5.0 → 0.5.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7744e267e114d444760b4f828d2feb7fec8b7834
4
- data.tar.gz: 4f71662ed8dca1954360babff96474492ca6e514
3
+ metadata.gz: de2b3294374bf32132d95e2ef891ff220fc03a7f
4
+ data.tar.gz: 64c85900c894146cdd177effd695a78acc902913
5
5
  SHA512:
6
- metadata.gz: 1fd2a34beb1768bb9aa7021e81dee50a9d80a3d09b6e0c90c906bcf7f1a33bfa3af430fe03c2b060cbca5c969fba6c0e7851698bd9c828641199fc3f6bf7f08f
7
- data.tar.gz: 9d0a10905bcc7c8d5c250f4b04f54009b11bcc1abe1adb26dc16cf895f4290c743eef202bd8c8d1c58c5b159a46fee9124649daa07862567c30f55e60f6edc95
6
+ metadata.gz: 40dca073f9c6fdc740fd1d76647f07a4d3c8329643d8fe71e9b8e34482dff4b5c0ef0deb7d0fa15d2fbed63b1f6b7aba1f858c4d9fe13311ebc8ac253f465f22
7
+ data.tar.gz: e7a8acbd8a43ce885c3429633f99e95b5957f2b4425116a40fa7f3c5186a245301db8b0f067489088702f4ef1d5de5c047070cb3bbc1848d1ca60a00cc87f067
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -114,7 +114,8 @@ class CodeRunner
114
114
  new_run.iterflx_file = @run_name + ".iterflx"
115
115
  new_run.init_file = @run_name + ".tmp"
116
116
  @runner.nprocs = @nprocs if @runner.nprocs == "1" # 1 is the default so this means the user probably didn't specify nprocs
117
- raise "Restart must be on the same number of processors as the previous run: new is #{new_run.nprocs.inspect} and old is #{@nprocs.inspect}" if !new_run.nprocs or new_run.nprocs != @nprocs
117
+ # This is unnecessary for single restart file.
118
+ raise "Restart must be on the same number of processors as the previous run: new is #{new_run.nprocs.inspect} and old is #{@nprocs.inspect}" if not new_run.no_restart_gs2 and (!new_run.nprocs or new_run.nprocs != @nprocs)
118
119
  raise "Restart cannot have a different sized jacobian: new is #{new_run.n_flux_tubes_jac} and old is #{n_flux_tubes_jac}" unless new_run.n_flux_tubes_jac == n_flux_tubes_jac
119
120
  # @runner.parameters.each{|var, value| new_run.set(var,value)} if @runner.parameters
120
121
  # ep @runner.parameters
data/trinitycrmod.gemspec CHANGED
@@ -2,11 +2,11 @@
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: trinitycrmod 0.5.0 ruby lib
5
+ # stub: trinitycrmod 0.5.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trinitycrmod"
9
- s.version = "0.5.0"
9
+ s.version = "0.5.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trinitycrmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock