10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-07-05 19:06:05 +02:00
QuantumPackage/src/dft_one_e/mu_erf_dft.irp.f

23 lines
512 B
Fortran

BEGIN_PROVIDER [double precision, mu_erf_dft]
implicit none
BEGIN_DOC
! range separation parameter used in RS-DFT.
!
! It is set to mu_erf in order to be consistent with the module "ao_two_e_erf_ints"
END_DOC
mu_erf_dft = mu_erf
END_PROVIDER
BEGIN_PROVIDER [double precision, mu_of_r_dft, (n_points_final_grid)]
implicit none
integer :: i
do i = 1, n_points_final_grid
if(mu_dft_type == "cst")then
mu_of_r_dft(i) = mu_erf_dft
else
mu_of_r_dft(i) = mu_of_r_hf(i)
endif
enddo
END_PROVIDER