https://github.com/N-BodyShop/changa
Raw File
Tip revision: f3b82e5b4bf6c79464894e74f91aa40fa3c9a2b4 authored by Thomas Quinn on 20 September 2016, 02:12:18 UTC
Ewald on GPU: change Taylor series limit for single precision.
Tip revision: f3b82e5
CUDAMoments.h
#ifndef CUDAMoments_h
#define CUDAMoments_h 1

#include "cuda_typedef.h"

/** CUDA version of momEvalFmomrcm. */
#ifdef CUDA_UNIT_TEST
__global__ void
#else
__device__ inline void __attribute__(( always_inline ))
#endif
CUDA_momEvalFmomrcm(const CudaMultipoleMoments* _m,
                    const CudaVector3D* _r,
                    cudatype dir,
                    CudaVector3D* out,
                    cudatype* pot);

#endif  /* CUDAMoments_h */
back to top