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
032df039
Commit
032df039
authored
Jun 07, 2017
by
Peter W. Draper
Browse files
Fix some typos in pair checks
Completes
d8025de1
parent
d8025de1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact.h
View file @
032df039
...
...
@@ -2100,7 +2100,7 @@ void DOSUB_PAIR1(struct runner *r, struct cell *ci, struct cell *cj, int sid,
2
.
f
*
kernel_gamma
*
space_stretch
*
(
ci
->
h_max_old
+
ci
->
dx_max_old
)
<
ci
->
dmin
&&
2
.
f
*
kernel_gamma
*
space_stretch
*
(
cj
->
h_max_old
+
cj
->
dx_max_old
)
<
c
i
->
dmin
)
{
c
j
->
dmin
)
{
/* Different types of flags. */
switch
(
sid
)
{
...
...
@@ -2399,7 +2399,7 @@ void DOSUB_PAIR2(struct runner *r, struct cell *ci, struct cell *cj, int sid,
2
.
f
*
kernel_gamma
*
space_stretch
*
(
ci
->
h_max_old
+
ci
->
dx_max_old
)
<
ci
->
dmin
&&
2
.
f
*
kernel_gamma
*
space_stretch
*
(
cj
->
h_max_old
+
cj
->
dx_max_old
)
<
c
i
->
dmin
)
{
c
j
->
dmin
)
{
/* Different types of flags. */
switch
(
sid
)
{
...
...
@@ -2710,7 +2710,7 @@ void DOSUB_SUBSET(struct runner *r, struct cell *ci, struct part *parts,
2
.
f
*
kernel_gamma
*
space_stretch
*
(
ci
->
h_max_old
+
ci
->
dx_max_old
)
<
ci
->
dmin
&&
2
.
f
*
kernel_gamma
*
space_stretch
*
(
cj
->
h_max_old
+
cj
->
dx_max_old
)
<
c
i
->
dmin
)
{
c
j
->
dmin
)
{
/* Get the type of pair if not specified explicitly. */
double
shift
[
3
]
=
{
0
.
0
,
0
.
0
,
0
.
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