mirror of https://gitlab.com/QEF/q-e.git
Not sure how it is possible, but it looks like some PAW calculations need
spherical harmonics up to l=20
This commit is contained in:
parent
20907aa0b2
commit
c5cfcd9f9c
|
@ -32,7 +32,7 @@ subroutine ylmr2 (lmax2, ng, g, gg, ylm)
|
|||
! local variables
|
||||
!
|
||||
real(DP), parameter :: eps = 1.0d-9
|
||||
integer, parameter :: maxl = 14
|
||||
integer, parameter :: maxl = 20
|
||||
real(DP) :: cost , sent, phi
|
||||
real(DP) :: c, gmod
|
||||
integer :: lmax, ig, l, m, lm, lm1, lm2
|
||||
|
|
|
@ -11,7 +11,7 @@ module ylmr2_gpum
|
|||
! CUDA Kernel version
|
||||
|
||||
use cudafor
|
||||
INTEGER, PARAMETER :: maxl = 14
|
||||
INTEGER, PARAMETER :: maxl = 20
|
||||
contains
|
||||
attributes(global) subroutine ylmr2_gpu_kernel (lmax,lmax2, ng, g, gg, ylm)
|
||||
implicit none
|
||||
|
|
Loading…
Reference in New Issue