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
solverstack
ScalFMM
Commits
5396fec0
Commit
5396fec0
authored
Aug 31, 2012
by
BRAMAS Berenger
Browse files
Use without mutual interaction in the P2P remote since it should not modify source particles
parent
65e0ed50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Kernels/Rotation/FRotationKernel.hpp
View file @
5396fec0
...
...
@@ -1335,9 +1335,9 @@ public:
/** Use mutual even if it not useful and call particlesMutualInteraction */
void
P2PRemote
(
const
FTreeCoordinate
&
inPosition
,
ContainerClass
*
const
FRestrict
inTargets
,
const
ContainerClass
*
const
FRestrict
inSources
,
ContainerClass
*
const
inNeighbors
[
27
],
const
int
inSize
){
void
P2PRemote
(
const
FTreeCoordinate
&
/*
inPosition
*/
,
ContainerClass
*
const
FRestrict
inTargets
,
const
ContainerClass
*
const
FRestrict
/*
inSources
*/
,
ContainerClass
*
const
inNeighbors
[
27
],
const
int
/*
inSize
*/
){
for
(
int
idxDirectNeighbors
=
0
;
idxDirectNeighbors
<
27
;
++
idxDirectNeighbors
){
if
(
inNeighbors
[
idxDirectNeighbors
]
){
// For all particles in current leaf
...
...
@@ -1347,7 +1347,7 @@ public:
// For all the particles in the other leaf
typename
ContainerClass
::
BasicIterator
iterSource
(
*
inNeighbors
[
idxDirectNeighbors
]);
while
(
iterSource
.
hasNotFinished
()
){
particles
Mutual
Interaction
(
&
target
,
&
iterSource
.
data
());
particlesInteraction
(
&
target
,
iterSource
.
data
());
iterSource
.
gotoNext
();
}
// Set data and progress
...
...
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