Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
48150c7e
Commit
48150c7e
authored
Mar 08, 2017
by
Matthieu Schaller
Browse files
Also initialise the largest active bin in the test suite examples.
parent
ffd935c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/test125cells.c
View file @
48150c7e
...
...
@@ -532,6 +532,7 @@ int main(int argc, char *argv[]) {
engine
.
s
=
&
space
;
engine
.
time
=
0
.
1
f
;
engine
.
ti_current
=
8
;
engine
.
max_active_bin
=
num_time_bins
;
struct
runner
runner
;
runner
.
e
=
&
engine
;
...
...
tests/test27cells.c
View file @
48150c7e
...
...
@@ -396,6 +396,7 @@ int main(int argc, char *argv[]) {
engine
.
s
=
&
space
;
engine
.
time
=
0
.
1
f
;
engine
.
ti_current
=
8
;
engine
.
max_active_bin
=
num_time_bins
;
struct
runner
runner
;
runner
.
e
=
&
engine
;
...
...
tests/testPair.c
View file @
48150c7e
...
...
@@ -252,6 +252,7 @@ int main(int argc, char *argv[]) {
engine
.
s
=
&
space
;
engine
.
time
=
0
.
1
f
;
engine
.
ti_current
=
8
;
engine
.
max_active_bin
=
num_time_bins
;
runner
.
e
=
&
engine
;
volume
=
particles
*
particles
*
particles
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment