SIRIUS 7.5.0
Electronic structure library and applications
Functions
spherical_harmonics.cu File Reference

CUDA kernels to generate spherical harminics. More...

Go to the source code of this file.

Functions

__device__ int lmidx (int l, int m)
 
__global__ void spherical_harmonics_ylm_gpu_kernel (int lmax__, int ntp__, double const *tp__, acc_complex_double_t *ylm__, int ld__)
 
void spherical_harmonics_ylm_gpu (int lmax__, int ntp__, double const *tp__, acc_complex_double_t *ylm__, int ld__)
 
__global__ void spherical_harmonics_rlm_gpu_kernel (int lmax__, int ntp__, double const *theta__, double const *phi__, double *rlm__, int ld__)
 
void spherical_harmonics_rlm_gpu (int lmax__, int ntp__, double const *theta__, double const *phi__, double *rlm__, int ld__)
 

Detailed Description

CUDA kernels to generate spherical harminics.

Definition in file spherical_harmonics.cu.

Function Documentation

◆ lmidx()

__device__ int lmidx ( int  l,
int  m 
)
inline

Definition at line 32 of file spherical_harmonics.cu.

◆ spherical_harmonics_ylm_gpu_kernel()

__global__ void spherical_harmonics_ylm_gpu_kernel ( int  lmax__,
int  ntp__,
double const *  tp__,
acc_complex_double_t *  ylm__,
int  ld__ 
)

Definition at line 37 of file spherical_harmonics.cu.

◆ spherical_harmonics_ylm_gpu()

void spherical_harmonics_ylm_gpu ( int  lmax__,
int  ntp__,
double const *  tp__,
acc_complex_double_t *  ylm__,
int  ld__ 
)

Definition at line 86 of file spherical_harmonics.cu.

◆ spherical_harmonics_rlm_gpu_kernel()

__global__ void spherical_harmonics_rlm_gpu_kernel ( int  lmax__,
int  ntp__,
double const *  theta__,
double const *  phi__,
double *  rlm__,
int  ld__ 
)

Definition at line 95 of file spherical_harmonics.cu.

◆ spherical_harmonics_rlm_gpu()

void spherical_harmonics_rlm_gpu ( int  lmax__,
int  ntp__,
double const *  theta__,
double const *  phi__,
double *  rlm__,
int  ld__ 
)

Definition at line 152 of file spherical_harmonics.cu.