Skip to content
GitLab
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
acbb0371
Commit
acbb0371
authored
Sep 27, 2016
by
Matthieu Schaller
Browse files
Zero the new task pointers when rebuilding
parent
d5191f16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
acbb0371
...
...
@@ -398,6 +398,9 @@ void space_regrid(struct space *s, double cell_max, int verbose) {
s
->
cells_top
[
k
].
extra_ghost
=
NULL
;
s
->
cells_top
[
k
].
ghost
=
NULL
;
s
->
cells_top
[
k
].
kick
=
NULL
;
s
->
cells_top
[
k
].
grav_external
=
NULL
;
s
->
cells_top
[
k
].
cooling
=
NULL
;
s
->
cells_top
[
k
].
sourceterms
=
NULL
;
s
->
cells_top
[
k
].
super
=
&
s
->
cells_top
[
k
];
s
->
cells_top
[
k
].
gsuper
=
&
s
->
cells_top
[
k
];
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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