Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
28cb441d
Commit
28cb441d
authored
7 years ago
by
James Willis
Browse files
Options
Downloads
Patches
Plain Diff
Call the branching dopair1_density function in test125cells.c.
parent
e26e180b
No related branches found
No related tags found
1 merge request
!348
Fix pair vec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test125cells.c
+2
-1
2 additions, 1 deletion
tests/test125cells.c
with
2 additions
and
1 deletion
tests/test125cells.c
+
2
−
1
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
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment