gryfxcrmod 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/gryfxcrmod.gemspec +1 -1
- data/lib/gryfxcrmod/gryfx.rb +42 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/gryfxcrmod.gemspec
CHANGED
data/lib/gryfxcrmod/gryfx.rb
CHANGED
@@ -168,5 +168,47 @@ class CodeRunner
|
|
168
168
|
#ep factors
|
169
169
|
return factors
|
170
170
|
end
|
171
|
+
|
172
|
+
|
173
|
+
def input_file_header
|
174
|
+
<<EOF
|
175
|
+
!==============================================================================
|
176
|
+
! GRYFX INPUT FILE automatically generated by CodeRunner
|
177
|
+
!==============================================================================
|
178
|
+
!
|
179
|
+
! GRYFX is a gyrofluid GPU flux tube initial value turbulence code
|
180
|
+
! which can be used for fusion or astrophysical plasmas.
|
181
|
+
!
|
182
|
+
! See http://gyrokinetics.sourceforge.net
|
183
|
+
!
|
184
|
+
! CodeRunner is a framework for the automated running and analysis
|
185
|
+
! of large simulations.
|
186
|
+
!
|
187
|
+
! See http://coderunner.sourceforge.net
|
188
|
+
!
|
189
|
+
! Created on #{Time.now.to_s}
|
190
|
+
! by CodeRunner version #{CodeRunner::CODE_RUNNER_VERSION.to_s}
|
191
|
+
!
|
192
|
+
!==============================================================================
|
193
|
+
|
194
|
+
EOF
|
195
|
+
end
|
196
|
+
|
197
|
+
def self.defaults_file_header
|
198
|
+
<<EOF1
|
199
|
+
######################################################################
|
200
|
+
# Automatically generated defaults file for GRYFX CodeRunner module #
|
201
|
+
# #
|
202
|
+
# This defaults file specifies a set of defaults for GRYFX which are #
|
203
|
+
# used by CodeRunner to set up and run GRYFX simulations. #
|
204
|
+
# #
|
205
|
+
# Created #{Time.now.to_s} #
|
206
|
+
# #
|
207
|
+
######################################################################
|
208
|
+
|
209
|
+
@defaults_file_description = ""
|
210
|
+
EOF1
|
211
|
+
end
|
212
|
+
|
171
213
|
end
|
172
214
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gryfxcrmod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -183,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
segments:
|
185
185
|
- 0
|
186
|
-
hash:
|
186
|
+
hash: 2291614018218925810
|
187
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
188
|
none: false
|
189
189
|
requirements:
|