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
f7f50574
Commit
f7f50574
authored
Sep 18, 2014
by
BRAMAS Berenger
Browse files
Add the P2P for adaptive kernel
parent
e1be9761
Changes
2
Hide whitespace changes
Inline
Side-by-side
Src/Adaptive/FAdaptChebSymKernel.hpp
View file @
f7f50574
...
...
@@ -313,10 +313,8 @@ public:
}
void
P2P
(
ContainerClass
*
target
,
const
ContainerClass
*
sources
)
override
{
// long long int*const particlesAttributes = target->getDataDown();
// for(int idxPart = 0 ; idxPart < target->getNbParticles() ; ++idxPart){
// particlesAttributes[idxPart] += sources->getNbParticles();
// }
ContainerClass
*
sourcesArray
[
27
]
=
{
const_cast
<
ContainerClass
*>
(
sources
)
};
DirectInteractionComputer
<
MatrixKernelClass
::
NCMP
,
NVALS
>::
template
P2PRemote
(
target
,
sourcesArray
,
1
,
MatrixKernel
);
}
bool
preferP2M
(
const
ContainerClass
*
const
particles
)
override
{
...
...
Src/Adaptive/FAdaptUnifKernel.hpp
View file @
f7f50574
...
...
@@ -437,10 +437,8 @@ public:
}
void
P2P
(
ContainerClass
*
target
,
const
ContainerClass
*
sources
)
override
{
// long long int*const particlesAttributes = target->getDataDown();
// for(int idxPart = 0 ; idxPart < target->getNbParticles() ; ++idxPart){
// particlesAttributes[idxPart] += sources->getNbParticles();
// }
ContainerClass
*
sourcesArray
[
27
]
=
{
const_cast
<
ContainerClass
*>
(
sources
)
};
DirectInteractionComputer
<
MatrixKernelClass
::
NCMP
,
NVALS
>::
template
P2PRemote
(
target
,
sourcesArray
,
1
,
MatrixKernel
);
}
bool
preferP2M
(
const
ContainerClass
*
const
particles
)
override
{
...
...
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