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
48e3b951
Commit
48e3b951
authored
Jul 06, 2017
by
Pedro Gonnet
Browse files
only drift leaves when forced.
parent
8d9b898e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
48e3b951
...
...
@@ -1921,7 +1921,7 @@ void cell_drift_part(struct cell *c, const struct engine *e, int force) {
/* Update the time of the last drift */
c
->
ti_old_part
=
ti_current
;
}
else
if
(
force
&&
ti_current
>
ti_old_part
)
{
}
else
if
(
!
c
->
split
&&
force
&&
ti_current
>
ti_old_part
)
{
/* Loop over all the gas particles in the cell */
const
size_t
nr_parts
=
c
->
count
;
...
...
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