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

Formatting

parent aafd5b77
No related branches found
No related tags found
No related merge requests found
......@@ -741,16 +741,18 @@ int main(int argc, char *argv[]) {
potential_init(params, &prog_const, &us, &s, &potential);
if (myrank == 0) potential_print(&potential);
/* Initialise the cooling function properties */
/* Initialise the cooling function properties */
#ifdef COOLING_NONE
if (with_cooling || with_temperature) {
error("ERROR: Running with cooling / temperature calculation"
" but compiled without it.");
error(
"ERROR: Running with cooling / temperature calculation"
" but compiled without it.");
}
#else
if (!with_cooling && !with_temperature) {
error("ERROR: Compiled with cooling but running without it. "
"Did you forget the --cooling or --temperature flags?");
error(
"ERROR: Compiled with cooling but running without it. "
"Did you forget the --cooling or --temperature flags?");
}
#endif
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