testTaylorKernel.cpp 1.16 KB
Newer Older
1
// See LICENCE file at project root
2 3 4

#include <string>

5 6 7
#include "Utils/FPoint.hpp"
#include "Utils/FLog.hpp"
#include "Utils/FMath.hpp"
8

9 10
#include "Kernels/Taylor/FTaylorCell.hpp"
#include "Kernels/Taylor/FTaylorKernel.hpp"
11

12
#include "Kernels/P2P/FP2PParticleContainer.hpp"
13

14
#include "Components/FSimpleLeaf.hpp"
15

16 17
#include "Containers/FVector.hpp"
#include "Containers/FOctree.hpp"
18

19 20 21 22
#include "Core/FFmmAlgorithm.hpp"
#include "Core/FFmmAlgorithmThread.hpp"
#include "Core/FFmmAlgorithmTask.hpp"
#include "Utils/FParameterNames.hpp"
23

24 25 26 27 28
int main(int argc,char** argv){
    FHelpDescribeAndExit(argc, argv,
                         "Compile a Taylor Kernel (but do nothing).");
    const int P = 10;
    const int order = 1;
29
    typedef double FReal;
30
    FPoint<FReal> centerBox = FPoint<FReal>(0,0,0);
31

32
    typedef FTaylorCell<FReal, P,order> CellClass;
33
    typedef FP2PParticleContainer<FReal> ContainerClass;
34
    typedef FTaylorKernel<FReal,CellClass,ContainerClass,P,order> KernelClass;
35 36
    //typedef FSimpleLeaf<FReal, ContainerClass > LeafClass;
    //typedef FOctree<FReal, CellClass, ContainerClass , LeafClass > OctreeClass;
37

38
    KernelClass kernel(9,1.0,centerBox);
39

40
    return 0;
41
}