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

Temporarily prevent the code from running with periodic BCs and self-gravity.

parent 09c26193
No related branches found
No related tags found
1 merge request!566Periodic gravity calculation
......@@ -689,6 +689,11 @@ int main(int argc, char *argv[]) {
fflush(stdout);
}
#ifdef WITH_MPI
if(periodic && with_self_gravity)
error("Periodic self-gravity over MPI temporarily disabled.");
#endif
#ifdef SWIFT_DEBUG_CHECKS
/* Check once and for all that we don't have unwanted links */
if (!with_stars && !dry_run) {
......@@ -724,6 +729,7 @@ int main(int argc, char *argv[]) {
"ICs.",
N_total[0], N_total[2], N_total[1]);
/* Verify that the fields to dump actually exist */
if (myrank == 0) io_check_output_fields(params, N_total);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment