gs2crmod 0.10.10 → 0.10.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.10
1
+ 0.10.11
data/gs2crmod.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gs2crmod"
8
- s.version = "0.10.10"
8
+ s.version = "0.10.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
@@ -690,8 +690,8 @@ class CodeRunner::Gs2
690
690
  coordinates[2,i,j,k] = y[i] / yfac - factors[2,k] - x[j]/xfac*factors[5,k] # phi
691
691
  #ep [i,j,k], coordinates[0, false, j,k].to_a
692
692
  if gs2f = options[:gs2_coordinate_factor]
693
- rgs2 = (x[j]**2 + y[i]**2 + Float::EPSILON)**0.5
694
- p ['x', x[j], 'y', y[i], 'r', rgs2] if agk?
693
+ rgs2 = (x[j]**2 + y[i]**2 )**0.5*(1.0 + 2.0 * Float::EPSILON)
694
+ #p ['x', x[j], 'y', y[i], 'r', rgs2] if agk?
695
695
  if rgs2 < 1.0e-8
696
696
  phigs2 = 0
697
697
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gs2crmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.10
4
+ version: 0.10.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: