ChebyshevHybridFMM.cpp 925 Bytes
Newer Older
COULAUD Olivier's avatar
COULAUD Olivier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
// ==== CMAKE =====
// @FUSE_BLAS
// @FUSE_MPI
// ================
//
//
//
/** \brief Chebyshev FMM example
 *
 * \file
 * \authors O. Coulaud
 *
 * This program runs the FMM Algorithm with the interpolation kernel based on
 * Chebyshev (grid points) interpolation (1/r kernel). It then compares the
 * results with a direct computation.
 */
#include <string> 
#include "Kernels/Chebyshev/FChebCell.hpp"
#include "Kernels/Chebyshev/FChebSymKernel.hpp"
//
template<typename FReal, int ORDER> 
using FInterpolationCell =  FChebCell<FReal, ORDER>;

template<typename FReal, typename GroupCellClass,
	 typename GroupContainerClass,
	 typename MatrixKernelClass, int ORDER>  
using FInterpolationKernel = FChebSymKernel<FReal,
					    GroupCellClass,
					    GroupContainerClass,
					    MatrixKernelClass,
					    ORDER> ;
const std::string interpolationType("Chebyshev interpolation");

#include "MPIInterpolationFMM.hpp"