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
28cb441d
Commit
28cb441d
authored
May 30, 2017
by
James Willis
Browse files
Call the branching dopair1_density function in test125cells.c.
parent
e26e180b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test125cells.c
View file @
28cb441d
...
...
@@ -432,6 +432,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
/* Just a forward declaration... */
void
runner_dopair1_density
(
struct
runner
*
r
,
struct
cell
*
ci
,
struct
cell
*
cj
);
void
runner_dopair1_branch_density
(
struct
runner
*
r
,
struct
cell
*
ci
,
struct
cell
*
cj
);
void
runner_doself1_density
(
struct
runner
*
r
,
struct
cell
*
ci
);
void
runner_dopair2_force
(
struct
runner
*
r
,
struct
cell
*
ci
,
struct
cell
*
cj
);
void
runner_doself2_force
(
struct
runner
*
r
,
struct
cell
*
ci
);
...
...
@@ -643,7 +644,7 @@ int main(int argc, char *argv[]) {
struct
cell
*
cj
=
cells
[
iii
*
25
+
jjj
*
5
+
kkk
];
if
(
cj
>
ci
)
runner_dopair1_density
(
&
runner
,
ci
,
cj
);
if
(
cj
>
ci
)
runner_dopair1_
branch_
density
(
&
runner
,
ci
,
cj
);
}
}
}
...
...
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