gs2crmod 0.5.11 → 0.5.12

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.11
1
+ 0.5.12
data/gs2crmod.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gs2crmod"
8
- s.version = "0.5.11"
8
+ s.version = "0.5.12"
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"]
12
- s.date = "2013-05-28"
12
+ s.date = "2013-05-29"
13
13
  s.description = "GS2 is a gyrokinetic flux tube initial value turbulence code which can be used for fusion or astrophysical plasmas. CodeRunner is a framework for the automated running and analysis of large simulations. This module allows GS2 (and its sister code AstroGK) to harness the power of the CodeRunner framework."
14
14
  s.email = "edmundhighcock@sourceforge.net"
15
15
  s.extensions = ["ext/extconf.rb"]
@@ -804,10 +804,24 @@ module GraphKits
804
804
  end
805
805
  end
806
806
  def phi_real_space_poloidal_plane_graphkit(options={})
807
- return field_real_space_poloidal_plane_graphkit(options.absorb(field_name: :phi))
807
+ case options[:command]
808
+ when :help
809
+ return "The potential as a function of cartesian coordinates showing a cut at one toroidal angle, with multiple periodic copies of the flux tube used to fill the whole circle.."
810
+ when :options
811
+ return [:Rgeo, :n0, :rho_star, :t_index, :nakx, :naky, :xmax, :xmin, :thetamax, :thetamin, :torphi]
812
+ else
813
+ return field_real_space_poloidal_plane_graphkit(options.absorb(field_name: :phi))
814
+ end
808
815
  end
809
816
  def density_real_space_poloidal_plane_graphkit(options={})
810
- return field_real_space_poloidal_plane_graphkit(options.absorb(phi: field_real_space_gsl_tensor(field: moment_gsl_tensor(options.absorb(moment_name: :density)))))
817
+ case options[:command]
818
+ when :help
819
+ return "The density as a function of cartesian coordinates showing a cut at one toroidal angle, with multiple periodic copies of the flux tube used to fill the whole circle.."
820
+ when :options
821
+ return [:Rgeo, :n0, :rho_star, :t_index, :nakx, :naky, :xmax, :xmin, :thetamax, :thetamin, :torphi]
822
+ else
823
+ return field_real_space_poloidal_plane_graphkit(options.absorb(phi: field_real_space_gsl_tensor(field: moment_gsl_tensor(options.absorb(moment_name: :density)))))
824
+ end
811
825
  end
812
826
  def field_real_space_poloidal_plane_graphkit(options={})
813
827
  case options[:command]
@@ -1476,6 +1476,21 @@
1476
1476
  :type=>:Float,
1477
1477
  :code_name=>:afilter,
1478
1478
  :module=>:dist_fn},
1479
+ :nonad_zero=>
1480
+ {:should_include=>"true",
1481
+ :description=>"If true, new boundary conditions g_wesson=0",
1482
+ :help=>
1483
+ "If true, new boundary conditions g_wesson=0. If false, g_gs2 = 0",
1484
+ :tests=>["Tst::FORTRAN_BOOL"],
1485
+ :gs2_name=>:nonad_zero,
1486
+ :must_pass=>
1487
+ [{:test=>"kind_of? String and FORTRAN_BOOLS.include? self",
1488
+ :explanation=>
1489
+ "This variable must be a fortran boolean. (In Ruby this is represented as a string: e.g. '.true.')"}],
1490
+ :autoscanned_defaults=>[".false."],
1491
+ :type=>:Fortran_Bool,
1492
+ :code_name=>:nonad_zero,
1493
+ :module=>:dist_fn},
1479
1494
  :mult_imp=>
1480
1495
  {:should_include=>"true",
1481
1496
  :description=>nil,
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.5.11
4
+ version: 0.5.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-28 00:00:00.000000000 Z
13
+ date: 2013-05-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coderunner