Skip to content
Snippets Groups Projects
Commit 214ef8a8 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix to use new entropy flag

parent bf8162e5
No related branches found
No related tags found
1 merge request!199a few fixes to permit out of source builds for unit tests
...@@ -27,6 +27,7 @@ int main() { ...@@ -27,6 +27,7 @@ int main() {
size_t Ngas = 0, Ngpart = 0; size_t Ngas = 0, Ngpart = 0;
int periodic = -1; int periodic = -1;
int entropy = 1;
int i, j, k, n; int i, j, k, n;
double dim[3]; double dim[3];
struct part *parts = NULL; struct part *parts = NULL;
...@@ -39,7 +40,7 @@ int main() { ...@@ -39,7 +40,7 @@ int main() {
/* Read data */ /* Read data */
read_ic_single("input.hdf5", dim, &parts, &gparts, &Ngas, &Ngpart, &periodic, read_ic_single("input.hdf5", dim, &parts, &gparts, &Ngas, &Ngpart, &periodic,
0); &entropy, 0);
/* Check global properties read are correct */ /* Check global properties read are correct */
assert(dim[0] == boxSize); assert(dim[0] == boxSize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment