gs2crmod 0.11.37 → 0.11.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/gs2crmod.gemspec +2 -2
- data/lib/gs2crmod/read_netcdf.rb +3 -3
- 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: be35c6fd4b736ab90afec2b48a14fb9622ffe699
|
4
|
+
data.tar.gz: 0ea0cf24a1f19b5600c764b55790d1bde35eb41b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b1bb806d712722d6ca9a44a9c09567c393197896d8406282c67ee7ff2cf0d2b214533cb404f5fef0c55b242d1f7e1916397c227d0486db8963bf267a6cc25ff
|
7
|
+
data.tar.gz: 7693029a4a6c0ce8001cd1b0dd7b573b1b8ca73471a26b9e1cc5ef6461b7a2afed4da2225c1a66b163b05e12bd0ae3cdb1aeb1274f5fa80ec5a145f57f4f9b8c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.38
|
data/gs2crmod.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
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: gs2crmod 0.11.
|
5
|
+
# stub: gs2crmod 0.11.38 ruby lib
|
6
6
|
# stub: ext/extconf.rb
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "gs2crmod"
|
10
|
-
s.version = "0.11.
|
10
|
+
s.version = "0.11.38"
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
13
|
s.require_paths = ["lib"]
|
data/lib/gs2crmod/read_netcdf.rb
CHANGED
@@ -207,7 +207,7 @@ def hyperviscosity_graphkit(options)
|
|
207
207
|
for il in 0...shape[3]
|
208
208
|
for ie in 0...shape[4]
|
209
209
|
for is in 0...shape[5]
|
210
|
-
narray[ig,ik,it,il,ie,is]*=(ky[ik]**2.0 + kx[it]**2.0)*@
|
210
|
+
narray[ig,ik,it,il,ie,is]*=(ky[ik]**2.0 + kx[it]**2.0)*@d_hypervisc
|
211
211
|
end
|
212
212
|
end
|
213
213
|
end
|
@@ -233,7 +233,7 @@ def hypercoll_graphkit(options)
|
|
233
233
|
for il in 0...shape[3]
|
234
234
|
for ie in 0...shape[4]
|
235
235
|
for is in 0...shape[5]
|
236
|
-
narray[ig,ik,it,il,ie,is]*=send(:nu_h_ + (is+1).to_sym)*(il/(shape[3]-1))**send(:nexp_h_ + (is+1).to_sym)
|
236
|
+
narray[ig,ik,it,il,ie,is]*=send(:nu_h_ + (is+1).to_sym)*(il.to_f/(shape[3]-1))**send(:nexp_h_ + (is+1).to_sym)
|
237
237
|
end
|
238
238
|
end
|
239
239
|
end
|
@@ -258,7 +258,7 @@ def lenardbern_graphkit(options)
|
|
258
258
|
for il in 0...shape[3]
|
259
259
|
for ie in 0...shape[4]
|
260
260
|
for is in 0...shape[5]
|
261
|
-
narray[ik,it,il,ie,is]*=send(:nu_ + (is+1).to_sym)*il
|
261
|
+
narray[ig,ik,it,il,ie,is]*=send(:nu_ + (is+1).to_sym)*il
|
262
262
|
end
|
263
263
|
end
|
264
264
|
end
|