Skip to content
Snippets Groups Projects
Commit aeced561 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Correct missing variable declaration in the parallel i/o code.

parent b98cc5db
No related branches found
No related tags found
No related merge requests found
......@@ -955,6 +955,8 @@ void prepare_file(struct engine* e, const char* baseName, long long N_total[6],
const struct spart* sparts = e->s->sparts;
struct swift_params* params = e->parameter_file;
const int with_cosmology = e->policy & engine_policy_cosmology;
const int with_cooling = e->policy & engine_policy_cooling;
const int with_temperature = e->policy & engine_policy_temperature;
FILE* xmfFile = 0;
int numFiles = 1;
......@@ -1219,6 +1221,8 @@ void write_output_parallel(struct engine* e, const char* baseName,
const struct spart* sparts = e->s->sparts;
struct swift_params* params = e->parameter_file;
const int with_cosmology = e->policy & engine_policy_cosmology;
const int with_cooling = e->policy & engine_policy_cooling;
const int with_temperature = e->policy & engine_policy_temperature;
/* Number of particles currently in the arrays */
const size_t Ntot = e->s->nr_gparts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment