https://github.com/N-BodyShop/changa
Raw File
Tip revision: a33dd103df829a03f6e96309951a2d2defba09ad authored by Collin J. Sutton on 28 March 2014, 22:21:00 UTC
Allow disabling HEXADECAPOLE at configure time.
Tip revision: a33dd10
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