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
9584239c
Commit
9584239c
authored
Jul 20, 2016
by
James Willis
Browse files
Updated dump_particle_fields to reflect part struct changes.
parent
36684fd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
9584239c
...
...
@@ -184,7 +184,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
main_cell
->
parts
[
pid
].
rho_dh
,
main_cell
->
parts
[
pid
].
density
.
wcount
,
main_cell
->
parts
[
pid
].
density
.
wcount_dh
,
#if defined(GADGET2_SPH)
main_cell
->
parts
[
pid
].
div_v
,
main_cell
->
parts
[
pid
].
density
.
rot_v
[
0
],
main_cell
->
parts
[
pid
].
density
.
div_v
,
main_cell
->
parts
[
pid
].
density
.
rot_v
[
0
],
main_cell
->
parts
[
pid
].
density
.
rot_v
[
1
],
main_cell
->
parts
[
pid
].
density
.
rot_v
[
2
]
#elif defined(DEFAULT_SPH)
...
...
@@ -219,7 +219,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
cj
->
parts
[
pjd
].
v
[
2
],
cj
->
parts
[
pjd
].
rho
,
cj
->
parts
[
pjd
].
rho_dh
,
cj
->
parts
[
pjd
].
density
.
wcount
,
cj
->
parts
[
pjd
].
density
.
wcount_dh
,
#if defined(GADGET2_SPH)
cj
->
parts
[
pjd
].
div_v
,
cj
->
parts
[
pjd
].
density
.
rot_v
[
0
],
cj
->
parts
[
pjd
].
density
.
div_v
,
cj
->
parts
[
pjd
].
density
.
rot_v
[
0
],
cj
->
parts
[
pjd
].
density
.
rot_v
[
1
],
cj
->
parts
[
pjd
].
density
.
rot_v
[
2
]
#elif defined(DEFAULT_SPH)
cj
->
parts
[
pjd
].
density
.
div_v
,
cj
->
parts
[
pjd
].
density
.
rot_v
[
0
],
...
...
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