Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
39a6f0e4
Commit
39a6f0e4
authored
6 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Correct distance calculation in the symmetric M2L calculation.
parent
f09e34b4
No related branches found
No related tags found
1 merge request
!604
Parallel mesh assignment and simplification of M2L kernel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/multipole.h
+3
-3
3 additions, 3 deletions
src/multipole.h
with
3 additions
and
3 deletions
src/multipole.h
+
3
−
3
View file @
39a6f0e4
...
...
@@ -1948,8 +1948,8 @@ INLINE static void gravity_M2L_nonsym(
* @param l_b The second field tensor to compute.
* @param m_a The first multipole.
* @param m_b The second multipole.
* @param pos_
b
The position of the first m-pole and field tensor.
* @param pos_
a
The position of the second m-pole and field tensor.
* @param pos_
a
The position of the first m-pole and field tensor.
* @param pos_
b
The position of the second m-pole and field tensor.
* @param props The #gravity_props of this calculation.
* @param periodic Is the calculation periodic ?
* @param dim The size of the simulation box.
...
...
@@ -1958,7 +1958,7 @@ INLINE static void gravity_M2L_nonsym(
INLINE
static
void
gravity_M2L_symmetric
(
struct
grav_tensor
*
restrict
l_a
,
struct
grav_tensor
*
restrict
l_b
,
const
struct
multipole
*
restrict
m_a
,
const
struct
multipole
*
restrict
m_b
,
const
double
pos_
b
[
3
],
const
double
pos_
a
[
3
],
const
double
pos_
a
[
3
],
const
double
pos_
b
[
3
],
const
struct
gravity_props
*
props
,
const
int
periodic
,
const
double
dim
[
3
],
const
float
rs_inv
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment