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
214ef8a8
Commit
214ef8a8
authored
Jul 14, 2016
by
Peter W. Draper
Browse files
Fix to use new entropy flag
parent
bf8162e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testReading.c
View file @
214ef8a8
...
...
@@ -27,6 +27,7 @@ int main() {
size_t
Ngas
=
0
,
Ngpart
=
0
;
int
periodic
=
-
1
;
int
entropy
=
1
;
int
i
,
j
,
k
,
n
;
double
dim
[
3
];
struct
part
*
parts
=
NULL
;
...
...
@@ -39,7 +40,7 @@ int main() {
/* Read data */
read_ic_single
(
"input.hdf5"
,
dim
,
&
parts
,
&
gparts
,
&
Ngas
,
&
Ngpart
,
&
periodic
,
0
);
&
entropy
,
0
);
/* Check global properties read are correct */
assert
(
dim
[
0
]
==
boxSize
);
...
...
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