trinitycrmod 0.7.1 → 0.7.2

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: d90504584a62e7216eee2917390573860b12426d
4
- data.tar.gz: c7059d24c91fc0a6d73a4a2f35c67fa421062ce7
3
+ metadata.gz: b3788bcbc29ded836f802b5518cadcd6ab43d63a
4
+ data.tar.gz: d424a268d8963c2b6552a2d76c498e766b575c3b
5
5
  SHA512:
6
- metadata.gz: 747fa52db5b5cdaac4555bc7721c460c5ba75cd1bc7a35878c126c9d8f9d77b3222e410a2a11fdff1b4ce54734e757c64062d6c6155479edb0364307b95e3c0a
7
- data.tar.gz: 55857124b3639edebe7b2aa7d5b4fdaec02c86eff0bfa01054dfa2974ee8e71d28d42479c9e5c316f618a6a229f7c21ee8ef26a4aaabc646c48f0aecc81e4e2d
6
+ metadata.gz: 5e0b8b1e215404494e781c614383003a8ca4bbc4e01d478f357ce48127c912bc8b3c30a969a0bf36a8dad7520233d774ebcbf2a24e032157ff457aace88cfd39
7
+ data.tar.gz: e1e0db51972179aaa8ebd26f9037745372749b91a3b4d5ade0e535e95abf6b37cd487bd017069fe23525b0f95a6fc0c6dfd38a285d4531bc7a8970ed5d28584f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
1
+ 0.7.2
@@ -20,7 +20,7 @@ def new_netcdf_file
20
20
  end
21
21
  cache[:new_netcdf_file_otime] = Time.now.to_i
22
22
  cache[:new_netcdf_file] ||= NumRu::NetCDF.open(new_netcdf_filename)
23
- cache[:new_netcdf_file].sync
23
+ #cache[:new_netcdf_file].sync
24
24
  cache[:new_netcdf_file]
25
25
  end
26
26
 
@@ -101,14 +101,14 @@ class NetcdfSmartReader
101
101
 
102
102
  def axiskit(variable, options)
103
103
  case variable
104
- when 'mrow', 'mcol', 'ivar', 'tspec', 'iter', 'jac', 'grad'
104
+ when 'mrow', 'mcol', 'ivar', 'tspec', 'iter', 'jac', 'grad', 'eval'
105
105
  return GraphKit::AxisKit.autocreate(data: GSL::Vector.linspace(1, sz=@file.dim(variable).length, sz), title: variable)
106
106
  end
107
107
  GraphKit::AxisKit.autocreate(data: read_variable(variable, options), units: @file.var(variable).att('units').get, title: @file.var(variable).att('description').get.sub(/(,|summed|average).*$/, '').sub(/[vV]alues of (the )?/, '').sub(/ coordinate/, ''))
108
108
  end
109
109
  def dimension_variable_name(n)
110
110
  case n
111
- when 't','tspec', 'iter', 'rad', 'cc', 'mrow', 'mcol', 'ivar', 'jac', 'grad'
111
+ when 't','tspec', 'iter', 'rad', 'cc', 'mrow', 'mcol', 'ivar', 'jac', 'grad', 'eval'
112
112
  n
113
113
  else
114
114
  raise "Unknown dimension #{n}"
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.1 ruby lib
5
+ # stub: trinitycrmod 0.7.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trinitycrmod"
9
- s.version = "0.7.1"
9
+ s.version = "0.7.2"
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-15"
14
+ s.date = "2015-07-20"
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.1
4
+ version: 0.7.2
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-15 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coderunner