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
e90dd24b
Commit
e90dd24b
authored
Oct 18, 2016
by
Peter W. Draper
Browse files
Need to also init the gravity links
parent
6796bc8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
e90dd24b
...
...
@@ -399,6 +399,7 @@ void space_regrid(struct space *s, double cell_max, int verbose) {
s
->
cells_top
[
k
].
density
=
NULL
;
s
->
cells_top
[
k
].
gradient
=
NULL
;
s
->
cells_top
[
k
].
force
=
NULL
;
s
->
cells_top
[
k
].
grav
=
NULL
;
s
->
cells_top
[
k
].
dx_max
=
0
.
0
f
;
s
->
cells_top
[
k
].
sorted
=
0
;
s
->
cells_top
[
k
].
count
=
0
;
...
...
Peter W. Draper
@pdraper
mentioned in merge request
!268 (merged)
·
Oct 18, 2016
mentioned in merge request
!268 (merged)
mentioned in merge request !268
Toggle commit list
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