cheasecrmod 0.1.0 → 0.1.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/cheasecrmod.gemspec +4 -4
- data/lib/cheasecrmod/chease.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01b7f944078e9a02cb181ea118caf33e2eb5da79
|
|
4
|
+
data.tar.gz: 677eb383d3488f69600076394f32901ca852fd13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e9365b3ab2559cfd1c0dfce0b96304d509c45b42a6bfd4de8aa4510b0a225895783d1d9c0c5cd2875107d62e27a6ec79a714f34000195e92f90097503a870b9
|
|
7
|
+
data.tar.gz: 31b96d396c96cc129bd411cecf56e98de1904d7dc6026738f6dfd5b39d838d1d99739597a6c5a5f37519b37a04c1092959bcf1fada4cc2d3d8690076c934c726
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/cheasecrmod.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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: cheasecrmod 0.1.
|
|
5
|
+
# stub: cheasecrmod 0.1.1 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "cheasecrmod"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.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"]
|
|
13
13
|
s.authors = ["Edmund Highcock"]
|
|
14
|
-
s.date = "
|
|
14
|
+
s.date = "2016-06-10"
|
|
15
15
|
s.description = "A module which allows the CHEASE Grad-Shafranov solver to be run using the CodeRunner framework. "
|
|
16
16
|
s.email = "edmundhighcock@users.sourceforge.net"
|
|
17
17
|
s.extra_rdoc_files = [
|
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
|
|
37
37
|
]
|
|
38
38
|
s.homepage = "http://github.com/edmundhighcock/cheasecrmod"
|
|
39
39
|
s.licenses = ["MIT"]
|
|
40
|
-
s.rubygems_version = "2.2.
|
|
40
|
+
s.rubygems_version = "2.2.0"
|
|
41
41
|
s.summary = "A module which allows the CHEASE Grad-Shafranov solver to be run using the CodeRunner framework."
|
|
42
42
|
|
|
43
43
|
if s.respond_to? :specification_version then
|
data/lib/cheasecrmod/chease.rb
CHANGED
|
@@ -10,10 +10,12 @@ class CodeRunner
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
# Where this file is
|
|
13
|
-
@code_module_folder =
|
|
13
|
+
@code_module_folder = File.dirname(File.expand_path(__FILE__)) # i.e. the directory this file is in
|
|
14
14
|
|
|
15
15
|
# Use the Run::FortranNamelist tools to process the variable database
|
|
16
16
|
setup_namelists(@code_module_folder)
|
|
17
|
+
|
|
18
|
+
attr_accessor :expeq_in
|
|
17
19
|
|
|
18
20
|
# Setup gs2 in case people are using it
|
|
19
21
|
|
|
@@ -110,6 +112,9 @@ class CodeRunner
|
|
|
110
112
|
if @restart_id
|
|
111
113
|
@runner.run_list[@restart_id].restart(self)
|
|
112
114
|
end
|
|
115
|
+
if expeq_in
|
|
116
|
+
FileUtils.cp(expeq_in, @directory + '/EXPEQ')
|
|
117
|
+
end
|
|
113
118
|
write_input_file
|
|
114
119
|
end
|
|
115
120
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cheasecrmod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edmund Highcock
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: coderunner
|
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
152
152
|
version: '0'
|
|
153
153
|
requirements: []
|
|
154
154
|
rubyforge_project:
|
|
155
|
-
rubygems_version: 2.2.
|
|
155
|
+
rubygems_version: 2.2.0
|
|
156
156
|
signing_key:
|
|
157
157
|
specification_version: 4
|
|
158
158
|
summary: A module which allows the CHEASE Grad-Shafranov solver to be run using the
|