Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
df729bf4
Commit
df729bf4
authored
Jun 22, 2018
by
Matthieu Schaller
Browse files
Temporarily prevent the code from running with periodic BCs and self-gravity.
parent
09c26193
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
df729bf4
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment