Commit f7f50574 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add the P2P for adaptive kernel

parent e1be9761
...@@ -313,10 +313,8 @@ public: ...@@ -313,10 +313,8 @@ public:
} }
void P2P(ContainerClass* target, const ContainerClass* sources) override { void P2P(ContainerClass* target, const ContainerClass* sources) override {
// long long int*const particlesAttributes = target->getDataDown(); ContainerClass* sourcesArray[27] = { const_cast<ContainerClass*> (sources) };
// for(int idxPart = 0 ; idxPart < target->getNbParticles() ; ++idxPart){ DirectInteractionComputer<MatrixKernelClass::NCMP, NVALS>::template P2PRemote(target,sourcesArray,1,MatrixKernel);
// particlesAttributes[idxPart] += sources->getNbParticles();
// }
} }
bool preferP2M(const ContainerClass* const particles) override { bool preferP2M(const ContainerClass* const particles) override {
......
...@@ -437,10 +437,8 @@ public: ...@@ -437,10 +437,8 @@ public:
} }
void P2P(ContainerClass* target, const ContainerClass* sources) override { void P2P(ContainerClass* target, const ContainerClass* sources) override {
// long long int*const particlesAttributes = target->getDataDown(); ContainerClass* sourcesArray[27] = { const_cast<ContainerClass*> (sources) };
// for(int idxPart = 0 ; idxPart < target->getNbParticles() ; ++idxPart){ DirectInteractionComputer<MatrixKernelClass::NCMP, NVALS>::template P2PRemote(target,sourcesArray,1,MatrixKernel);
// particlesAttributes[idxPart] += sources->getNbParticles();
// }
} }
bool preferP2M(const ContainerClass* const particles) override { bool preferP2M(const ContainerClass* const particles) override {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment