Commit 0c628a92 authored by berenger-bramas's avatar berenger-bramas
Browse files

Use Block Blas to compare with Chebyshev.

git-svn-id: svn+ssh:// 2616d619-271b-44dc-8df4-d4a8f33a7222
parent d7a7525d
......@@ -263,7 +263,7 @@ int main(int argc, char* argv[])
//typedef FSphericalBlasKernel<ParticleClass, CellClass, ContainerClass > KernelClass;
//typedef FSphericalBlockBlasKernel<ParticleClass, CellClass, ContainerClass > KernelClass;
//typedef FSphericalKernel<ParticleClass, CellClass, ContainerClass > KernelClass;
typedef FSphericalRotationKernel<ParticleClass, CellClass, ContainerClass > KernelClass;
typedef FSphericalBlockBlasKernel<ParticleClass, CellClass, ContainerClass > KernelClass;
typedef FFmmAlgorithm<OctreeClass, ParticleClass, CellClass, ContainerClass, KernelClass, LeafClass > FmmClass;
// open particle file
......@@ -271,7 +271,7 @@ int main(int argc, char* argv[])
if(!loader.isOpen()) throw std::runtime_error("Particle file couldn't be opened!");
// init cell class and oct-tree
CellClass::Init(DevP, false);
CellClass::Init(DevP, true);
OctreeClass tree(TreeHeight, SubTreeHeight, loader.getBoxWidth(), loader.getCenterOfBox());
{ // -----------------------------------------------------
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