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
537db832
Commit
537db832
authored
Jul 20, 2016
by
James Willis
Browse files
Corrected for new DEFAULT_SPH struct update.
parent
1753c832
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/testNonSymInt.c
View file @
537db832
...
...
@@ -87,8 +87,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
p
->
div_v
,
p
->
density
.
rot_v
[
0
],
p
->
density
.
rot_v
[
1
],
p
->
density
.
rot_v
[
2
]
#elif defined(DEFAULT_SPH)
p
->
density
.
div_v
,
p
->
density
.
curl
_v
[
0
],
p
->
density
.
curl
_v
[
1
],
p
->
density
.
curl
_v
[
2
]
p
->
density
.
div_v
,
p
->
density
.
rot
_v
[
0
],
p
->
density
.
rot
_v
[
1
],
p
->
density
.
rot
_v
[
2
]
#else
0
.,
0
.,
0
.,
0
.
#endif
...
...
tests/testSymInt.c
View file @
537db832
...
...
@@ -84,8 +84,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
p
->
div_v
,
p
->
density
.
rot_v
[
0
],
p
->
density
.
rot_v
[
1
],
p
->
density
.
rot_v
[
2
]
#elif defined(DEFAULT_SPH)
p
->
density
.
div_v
,
p
->
density
.
curl
_v
[
0
],
p
->
density
.
curl
_v
[
1
],
p
->
density
.
curl
_v
[
2
]
p
->
density
.
div_v
,
p
->
density
.
rot
_v
[
0
],
p
->
density
.
rot
_v
[
1
],
p
->
density
.
rot
_v
[
2
]
#else
0
.,
0
.,
0
.,
0
.
#endif
...
...
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