10
1
mirror of https://github.com/pfloos/quack synced 2024-12-28 23:25:57 +01:00
QuAcK/src/eDFT/unrestricted_gga_correlation_potential.f90

32 lines
926 B
Fortran
Raw Normal View History

2020-07-02 14:27:38 +02:00
subroutine unrestricted_gga_correlation_potential(DFA,nEns,wEns,nGrid,weight,nBas,AO,dAO,rho,drho,Fc)
2019-03-13 11:07:31 +01:00
2020-07-02 14:27:38 +02:00
! Compute unrestricted GGA correlation potential
2019-03-13 11:07:31 +01:00
implicit none
include 'parameters.h'
! Input variables
character(len=12),intent(in) :: DFA
integer,intent(in) :: nEns
double precision,intent(in) :: wEns(nEns)
integer,intent(in) :: nGrid
double precision,intent(in) :: weight(nGrid)
integer,intent(in) :: nBas
double precision,intent(in) :: AO(nBas,nGrid)
double precision,intent(in) :: dAO(3,nBas,nGrid)
double precision,intent(in) :: rho(nGrid,nspin)
double precision,intent(in) :: drho(3,nGrid,nspin)
! Local variables
! Output variables
double precision,intent(out) :: Fc(nBas,nBas,nspin)
! Coefficients for GGA correlation functional
! Compute GGA correlation matrix in the AO basis
2020-07-02 14:27:38 +02:00
end subroutine unrestricted_gga_correlation_potential