corfucrmod 1.0.0 → 1.0.1
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/corfucrmod.gemspec +3 -3
- data/ext/corfucrmod/trinitycrdriver_ext.c +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d68fd2a4d1fbdde70ddb2aa531c5555dfede7c7e
|
4
|
+
data.tar.gz: 6bc05484648f9c45d576e4181fa3c117dd1de764
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a1ccace4fd25a7289b99a09593b80fad81004e18d9593f78fd496bb506692aea6aa0a7362bf4d5af594116b1f7bae55252298fa6bfd830f83b8bd177f3c6459
|
7
|
+
data.tar.gz: 9e86fe940c6e17b83a2f919f292d4ae6e3cda212f5582bff55a8a7302bf781d6887ad768db97a0739601e2b7d7621c31921ab9ccf69d0fe8606794b6f40eeba5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/corfucrmod.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
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: corfucrmod 1.0.
|
5
|
+
# stub: corfucrmod 1.0.1 ruby lib
|
6
6
|
# stub: ext/corfucrmod/extconf.rb
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "corfucrmod".freeze
|
10
|
-
s.version = "1.0.
|
10
|
+
s.version = "1.0.1"
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
13
13
|
s.require_paths = ["lib".freeze]
|
14
14
|
s.authors = ["Edmund Highcock".freeze]
|
15
|
-
s.date = "2019-07-
|
15
|
+
s.date = "2019-07-29"
|
16
16
|
s.description = "CorFu, the Coderunner/Trinity Fusion Optimisation Framework\n allows the optimisation of fusion performance using first principles\n flux calculations via Trinity.".freeze
|
17
17
|
s.email = "edmundhighcock@users.sourceforge.net".freeze
|
18
18
|
s.extensions = ["ext/corfucrmod/extconf.rb".freeze]
|
@@ -10,7 +10,7 @@ struct _Comm {
|
|
10
10
|
bool free;
|
11
11
|
};
|
12
12
|
|
13
|
-
static VALUE
|
13
|
+
static VALUE trinitycrdriver_ext_run_trinity(VALUE self, VALUE input_file_name, VALUE mpi_comm){
|
14
14
|
printf("RUNNING TRINITY!!!\n\n");
|
15
15
|
|
16
16
|
struct _Comm *comm;
|
@@ -34,7 +34,7 @@ static VALUE corfucrmod_run_trinity(VALUE self, VALUE input_file_name, VALUE mpi
|
|
34
34
|
|
35
35
|
}
|
36
36
|
|
37
|
-
void
|
37
|
+
void Init_trinitycrdriver_ext()
|
38
38
|
{
|
39
39
|
|
40
40
|
VALUE ctrinity;
|
@@ -46,7 +46,7 @@ void Init_corfucrmod()
|
|
46
46
|
ccode_runner = RGET_CLASS_TOP("CodeRunner");
|
47
47
|
/*VALUE ctrinity = RGET_CLASS_TOP("CodeRunner");*/
|
48
48
|
ctrinity = RGET_CLASS(ccode_runner, "Trinity");
|
49
|
-
rb_define_method(ctrinity, "run_trinity",
|
49
|
+
rb_define_method(ctrinity, "run_trinity", trinitycrdriver_ext_run_trinity, 2);
|
50
50
|
/*rb_define_class_under(ccode_runner, "Trinity",*/
|
51
51
|
/*RGET_CLASS(*/
|
52
52
|
/*RGET_CLASS(ccode_runner, "Run"), */
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: corfucrmod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edmund Highcock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coderunner
|