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
a6ed09c1
Commit
a6ed09c1
authored
Feb 24, 2020
by
Loic Hausammann
Browse files
Logger: fix errors
parent
e0b68cd1
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
a6ed09c1
...
...
@@ -595,10 +595,6 @@ int main(int argc, char *argv[]) {
#ifdef WITH_MPI
if
(
with_mpole_reconstruction
&&
nr_nodes
>
1
)
error
(
"Cannot reconstruct m-poles every step over MPI (yet)."
);
if
(
with_timestep_limiter
)
error
(
"Can't run with time-step limiter over MPI (yet)"
);
if
(
with_timestep_sync
)
error
(
"Can't run with time-step synchronization over MPI (yet)"
);
#endif
/* Temporary early aborts for modes not supported with hand-vec. */
...
...
src/engine_redistribute.c
View file @
a6ed09c1
...
...
@@ -1105,19 +1105,19 @@ void engine_redistribute(struct engine *e) {
/* Log the hydro parts. */
logger_log_parts
(
e
->
logger
,
&
parts
[
part_offset
],
&
xparts
[
part_offset
],
counts
[
c_ind
],
e
->
logger
,
&
s
->
parts
[
part_offset
],
&
s
->
xparts
[
part_offset
],
counts
[
c_ind
],
logger_masks_all_part
|
logger_mask_data
[
logger_special_flags
].
mask
,
flag
);
/* Log the stellar parts. */
logger_log_sparts
(
e
->
logger
,
&
sparts
[
spart_offset
],
s_counts
[
c_ind
],
e
->
logger
,
&
s
->
sparts
[
spart_offset
],
s_counts
[
c_ind
],
logger_masks_all_spart
|
logger_mask_data
[
logger_special_flags
].
mask
,
flag
);
/* Log the gparts */
logger_log_gparts
(
e
->
logger
,
&
gparts
[
gpart_offset
],
g_counts
[
c_ind
],
e
->
logger
,
&
s
->
gparts
[
gpart_offset
],
g_counts
[
c_ind
],
logger_masks_all_gpart
|
logger_mask_data
[
logger_special_flags
].
mask
,
flag
);
...
...
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