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

Formatting

parent aafd5b77
Branches
Tags
No related merge requests found
...@@ -741,16 +741,18 @@ int main(int argc, char *argv[]) { ...@@ -741,16 +741,18 @@ int main(int argc, char *argv[]) {
potential_init(params, &prog_const, &us, &s, &potential); potential_init(params, &prog_const, &us, &s, &potential);
if (myrank == 0) potential_print(&potential); if (myrank == 0) potential_print(&potential);
/* Initialise the cooling function properties */ /* Initialise the cooling function properties */
#ifdef COOLING_NONE #ifdef COOLING_NONE
if (with_cooling || with_temperature) { if (with_cooling || with_temperature) {
error("ERROR: Running with cooling / temperature calculation" error(
" but compiled without it."); "ERROR: Running with cooling / temperature calculation"
" but compiled without it.");
} }
#else #else
if (!with_cooling && !with_temperature) { if (!with_cooling && !with_temperature) {
error("ERROR: Compiled with cooling but running without it. " error(
"Did you forget the --cooling or --temperature flags?"); "ERROR: Compiled with cooling but running without it. "
"Did you forget the --cooling or --temperature flags?");
} }
#endif #endif
bzero(&cooling_func, sizeof(struct cooling_function_data)); bzero(&cooling_func, sizeof(struct cooling_function_data));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment