deepmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
http://abacus.ustc.edu.cn
GNU Lesser General Public License v3.0
163 stars 128 forks source link

energy cutoff for LCAO #1996

Closed jinzx10 closed 1 year ago

jinzx10 commented 1 year ago

Details

Currently the k mesh for LCAO radial Fourier transform (1D integration) is determined by ecutwfc and dk, where ecutwfc comes from INPUT having a typical value ~100, and dk by default is 0.01. For the nonlocal projector beta(r), I checked whether two successive transforms (carried out by Numerical_Nonlocal_Lm::get_kradial()) brings back the original beta(r), and plot the error below. The UPF file used for testing is PP_ORB/O_ONCV_PBE-1.0.upf, and all 4 beta projectors are tested.

The error shows that typical ecutwfc values, which is drawn from the 3D Fourier transform of charge density & wavefunction, might be inadequate for the radial Fourier transform. The convergence with respect to dk is yet to be studied.

err_beta_r2k2r_ecut

dyzheng commented 1 year ago

What will you do with this issue?

mohanchen commented 1 year ago

I will discuss this with zx

hongriTianqi commented 1 year ago
jinzx10 commented 1 year ago

By switchiing to an FFT-based spherical Bessel transform method, this problem is systematically solved by https://github.com/deepmodeling/abacus-develop/pull/2904.