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
9bfafd38
Commit
9bfafd38
authored
Apr 08, 2013
by
Pedro Gonnet
Browse files
better handling of rebuilds in multiple time steps.
Former-commit-id: 45d1d47b639e422f0b759134d9c6792e9b291d7b
parent
10381c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
9bfafd38
...
...
@@ -125,7 +125,7 @@ int space_marktasks ( struct space *s ) {
t
->
skip
=
(
t
->
ci
->
dt_min
>
dt_step
&&
t
->
cj
->
dt_min
>
dt_step
);
/* Too much particle movement? */
if
(
!
t
->
skip
&&
t
->
tight
&&
if
(
t
->
tight
&&
(
t
->
ci
->
h2dx_max
>
t
->
ci
->
dmin
||
t
->
cj
->
h2dx_max
>
t
->
cj
->
dmin
)
)
return
1
;
...
...
@@ -1040,7 +1040,7 @@ void space_splittasks ( struct space *s ) {
/* Should this task be split-up? */
if
(
ci
->
split
&&
cj
->
split
&&
ci
->
h_max
<
hi
/
2
&&
cj
->
h_max
<
hj
/
2
)
{
ci
->
h_max
*
space_stretch
<
hi
/
2
&&
cj
->
h_max
*
space_stretch
<
hj
/
2
)
{
/* Replace by a single sub-task? */
if
(
space_dosub
&&
...
...
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