Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
SWIFTsim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
69
Issues
69
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SWIFT
SWIFTsim
Commits
afd2ebb1
Commit
afd2ebb1
authored
Jul 14, 2020
by
Jacob Kegerreis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Attempt workaround to avoid missing proxy creation"
This reverts commit
6e62b4f0
.
parent
47777577
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/engine.c
src/engine.c
+1
-1
src/engine_maketasks.c
src/engine_maketasks.c
+1
-1
No files found.
src/engine.c
View file @
afd2ebb1
...
...
@@ -3190,7 +3190,7 @@ void engine_makeproxies(struct engine *e) {
/* Gravity needs to take the opening angle into account */
if
(
with_gravity
)
{
const
double
distance
=
4
.
*
r_max
*
theta_crit_inv
;
const
double
distance
=
2
.
*
r_max
*
theta_crit_inv
;
delta_cells
=
(
int
)(
distance
/
cells
[
0
].
dmin
)
+
1
;
}
...
...
src/engine_maketasks.c
View file @
afd2ebb1
...
...
@@ -1336,7 +1336,7 @@ void engine_make_self_gravity_tasks_mapper(void *map_data, int num_elements,
const
double
max_distance2
=
max_distance
*
max_distance
;
/* Compute how many cells away we need to walk */
const
double
distance
=
5
.
*
cells
[
0
].
width
[
0
]
/
theta_crit
;
const
double
distance
=
2
.
5
*
cells
[
0
].
width
[
0
]
/
theta_crit
;
int
delta
=
(
int
)(
distance
/
cells
[
0
].
width
[
0
])
+
1
;
int
delta_m
=
delta
;
int
delta_p
=
delta
;
...
...
Write
Preview
Markdown
is supported
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