Skip to content
GitLab
Menu
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
d8025de1
Commit
d8025de1
authored
Jun 06, 2017
by
Matthieu Schaller
Browse files
More symmetry in one of the conditions to activate a subcell task
parent
0ebed7a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
d8025de1
...
@@ -1359,7 +1359,7 @@ void cell_activate_subcell_tasks(struct cell *ci, struct cell *cj,
...
@@ -1359,7 +1359,7 @@ void cell_activate_subcell_tasks(struct cell *ci, struct cell *cj,
ci
->
dmin
&&
ci
->
dmin
&&
2
.
f
*
kernel_gamma
*
space_stretch
*
2
.
f
*
kernel_gamma
*
space_stretch
*
(
cj
->
h_max_old
+
cj
->
dx_max_old
)
<
(
cj
->
h_max_old
+
cj
->
dx_max_old
)
<
c
i
->
dmin
)
{
c
j
->
dmin
)
{
/* Get the type of pair if not specified explicitly. */
/* Get the type of pair if not specified explicitly. */
double
shift
[
3
];
double
shift
[
3
];
...
...
Peter W. Draper
@pdraper
mentioned in commit
032df039
·
Jun 07, 2017
mentioned in commit
032df039
mentioned in commit 032df0398ba1f60c3f00a40381c2d264008083ec
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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