| 
    pwdft
    0.1
    
   PW-DFT code for education 
   | 
 
Functions/Subroutines | |
| subroutine | init_fft () | 
| subroutine | fft_r2g (VlocR, VlocG) | 
| v(r) e^{-iGr} -> V(G)  More... | |
| subroutine | fft_g2r (VlocG, VlocR) | 
| V(G) e^{iGr} -> v(r)  More... | |
| subroutine | fft_r2g_w (wfR, wfG) | 
| w(r) e^{-iGr} -> W(G) -> compress  More... | |
| subroutine | fft_g2r_w (wfG, wfR) | 
| Uncompress -> W(G) e^{iGr} -> w(r)  More... | |
Variables | |
| integer, dimension(:), allocatable, save | w2r | 
| (g_wfnpw) g_wfnpw -> g_rhnr  More... | |
| subroutine fftw_wrapper::init_fft | 
Definition at line 47 of file fftw_wrapper.F90.
References gvec::g_rh, gvec::g_wf, and w2r.
Referenced by pwdft().

| subroutine fftw_wrapper::fft_r2g | ( | real(8), dimension(g_rh%nr), intent(in) | VlocR, | 
| complex(8), dimension(g_rh%nr), intent(out) | VlocG | ||
| ) | 
v(r) e^{-iGr} -> V(G)
Definition at line 75 of file fftw_wrapper.F90.
References gvec::g_rh.
Referenced by diag_direct::direct(), energy::hartree(), and rho_v::hartree_pot().

| subroutine fftw_wrapper::fft_g2r | ( | complex(8), dimension(g_rh%nr), intent(in) | VlocG, | 
| real(8), dimension(g_rh%nr), intent(out) | VlocR | ||
| ) | 
V(G) e^{iGr} -> v(r)
Definition at line 90 of file fftw_wrapper.F90.
References gvec::g_rh.
Referenced by rho_v::generate_vps(), and rho_v::hartree_pot().

| subroutine fftw_wrapper::fft_r2g_w | ( | complex(8), dimension(g_rh%nr), intent(in) | wfR, | 
| complex(8), dimension(g_wf%npw), intent(out) | wfG | ||
| ) | 
w(r) e^{-iGr} -> W(G) -> compress
Definition at line 105 of file fftw_wrapper.F90.
References gvec::g_rh, gvec::g_wf, atm_spec::vcell, and w2r.
Referenced by hamiltonian::h_psi().

| subroutine fftw_wrapper::fft_g2r_w | ( | complex(8), dimension(g_wf%npw), intent(in) | wfG, | 
| complex(8), dimension(g_rh%nr), intent(out) | wfR | ||
| ) | 
Uncompress -> W(G) e^{iGr} -> w(r)
Definition at line 121 of file fftw_wrapper.F90.
References gvec::g_rh, gvec::g_wf, atm_spec::vcell, and w2r.
Referenced by hamiltonian::h_psi(), and k_point::ksum_rho().

| integer, dimension(:), allocatable, save fftw_wrapper::w2r | 
(g_wfnpw) g_wfnpw -> g_rhnr
Definition at line 35 of file fftw_wrapper.F90.
Referenced by fft_g2r_w(), fft_r2g_w(), and init_fft().