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
8462515b
Commit
8462515b
authored
Jun 24, 2013
by
Pedro Gonnet
Browse files
remove intermediates.
Former-commit-id: a014ce88344ffea76f0d74029f3973d320bbb307
parent
11b644b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/part.h
View file @
8462515b
...
...
@@ -124,6 +124,6 @@ struct part {
/* Pointer to extra particle data. */
struct
xpart
*
xtras
;
}
__attribute__
((
aligned
(
32
)));
}
__attribute__
((
aligned
(
64
)));
src/space.c
View file @
8462515b
...
...
@@ -628,7 +628,6 @@ void space_split ( struct space *s , struct cell *c ) {
int
k
,
count
=
c
->
count
,
maxdepth
=
0
;
float
h
,
h_max
=
0
.
0
f
,
dt
,
dt_min
=
c
->
parts
[
0
].
dt
,
dt_max
=
dt_min
;
double
x
[
3
];
struct
cell
*
temp
;
struct
part
*
p
,
*
parts
=
c
->
parts
;
struct
xpart
*
xp
;
...
...
@@ -705,9 +704,9 @@ void space_split ( struct space *s , struct cell *c ) {
for
(
k
=
0
;
k
<
count
;
k
++
)
{
p
=
&
parts
[
k
];
xp
=
p
->
xtras
;
xp
->
x_old
[
0
]
=
x
[
0
]
=
p
->
x
[
0
];
xp
->
x_old
[
1
]
=
x
[
1
]
=
p
->
x
[
1
];
xp
->
x_old
[
2
]
=
x
[
2
]
=
p
->
x
[
2
];
xp
->
x_old
[
0
]
=
p
->
x
[
0
];
xp
->
x_old
[
1
]
=
p
->
x
[
1
];
xp
->
x_old
[
2
]
=
p
->
x
[
2
];
dt
=
p
->
dt
;
h
=
p
->
h
;
if
(
h
>
h_max
)
...
...
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