trinitycrmod 0.7.6 → 0.7.7
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/graphs.rb +22 -21
- data/trinitycrmod.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fc14554d693633e9b38aeec6b68abb529eef679
|
|
4
|
+
data.tar.gz: 99b49193aaceebbeef9dd9477e17b2678ba093c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae77cdeee44a4fd3dfe0843dfcf02ba9bcd22f84a0656e8b24c2a6017ad4976a366c49b6036ec46ee3befd0e050ca8a04b26c822d2a61451c5dd73a76b2e9681
|
|
7
|
+
data.tar.gz: 39c703d8d1c5a3a2225e53942a7c4ed40ed89a9f35e8d949c37068c2173393078b2f23a1871d755c0e80a0839823ed41ec9d03ffe8cc281b158a39623d35072b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.7
|
data/lib/trinitycrmod/graphs.rb
CHANGED
|
@@ -122,29 +122,30 @@ class CodeRunner::Trinity
|
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
end
|
|
125
|
+
|
|
126
|
+
# Graph of the ion heat calibration factor
|
|
127
|
+
def ion_hflux_calibration_graphkit(options)
|
|
128
|
+
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
129
|
+
k = calibs.map{|c| c.qflux_graphkit(0)}.sum
|
|
130
|
+
k.ylabel = 'Qi'
|
|
131
|
+
k
|
|
132
|
+
end
|
|
133
|
+
# Graph of the electron heat calibration factor
|
|
134
|
+
def eln_hflux_calibration_graphkit(options)
|
|
135
|
+
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
136
|
+
k = calibs.map{|c| c.qflux_graphkit(1)}.sum
|
|
137
|
+
k.ylabel = 'Qe'
|
|
138
|
+
k
|
|
139
|
+
end
|
|
140
|
+
# Graph of the particle flux calibration factor
|
|
141
|
+
def pflux_calibration_graphkit(options)
|
|
142
|
+
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
143
|
+
k = calibs.map{|c| c.pflux_graphkit(1)}.sum
|
|
144
|
+
k.ylabel = 'Gamma'
|
|
145
|
+
k
|
|
146
|
+
end
|
|
125
147
|
end
|
|
126
148
|
|
|
127
|
-
# Graph of the ion heat calibration factor
|
|
128
|
-
def ion_hflux_calibration_graphkit(options)
|
|
129
|
-
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
130
|
-
k = calibs.map{|c| c.qflux_graphkit(0)}.sum
|
|
131
|
-
k.ylabel = 'Qi'
|
|
132
|
-
k
|
|
133
|
-
end
|
|
134
|
-
# Graph of the electron heat calibration factor
|
|
135
|
-
def eln_hflux_calibration_graphkit(options)
|
|
136
|
-
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
137
|
-
k = calibs.map{|c| c.qflux_graphkit(1)}.sum
|
|
138
|
-
k.ylabel = 'Qe'
|
|
139
|
-
k
|
|
140
|
-
end
|
|
141
|
-
# Graph of the particle flux calibration factor
|
|
142
|
-
def pflux_calibration_graphkit(options)
|
|
143
|
-
calibs = Calib.analyse_file("#@directory/#@run_name.calib")
|
|
144
|
-
k = calibs.map{|c| c.pflux_graphkit(1)}.sum
|
|
145
|
-
k.ylabel = 'Gamma'
|
|
146
|
-
k
|
|
147
|
-
end
|
|
148
149
|
|
|
149
150
|
include TrinityGraphKits
|
|
150
151
|
|
data/trinitycrmod.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: trinitycrmod 0.7.
|
|
5
|
+
# stub: trinitycrmod 0.7.7 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "trinitycrmod"
|
|
9
|
-
s.version = "0.7.
|
|
9
|
+
s.version = "0.7.7"
|
|
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 = "2015-07-
|
|
14
|
+
s.date = "2015-07-27"
|
|
15
15
|
s.description = "This module allows Trinity, the Multiscale Gyrokinetic Turbulent Transport solver for Fusion Reactors, to harness the power of CodeRunner, a framework for the automated running and analysis of simulations."
|
|
16
16
|
s.email = "edmundhighcock@sourceforge.net"
|
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trinitycrmod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edmund Highcock
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: coderunner
|