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 +4 -4
- data/VERSION +1 -1
- data/lib/trinitycrmod/trinity.rb +2 -1
- data/trinitycrmod.gemspec +2 -2
- 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: de2b3294374bf32132d95e2ef891ff220fc03a7f
|
4
|
+
data.tar.gz: 64c85900c894146cdd177effd695a78acc902913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40dca073f9c6fdc740fd1d76647f07a4d3c8329643d8fe71e9b8e34482dff4b5c0ef0deb7d0fa15d2fbed63b1f6b7aba1f858c4d9fe13311ebc8ac253f465f22
|
7
|
+
data.tar.gz: e7a8acbd8a43ce885c3429633f99e95b5957f2b4425116a40fa7f3c5186a245301db8b0f067489088702f4ef1d5de5c047070cb3bbc1848d1ca60a00cc87f067
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
data/lib/trinitycrmod/trinity.rb
CHANGED
@@ -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
|
-
|
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.
|
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.
|
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"]
|