mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-23 04:43:45 +01:00
removed small bug
This commit is contained in:
parent
063720a6b7
commit
7bd7b6294c
@ -2,13 +2,13 @@
|
|||||||
type: character*(32)
|
type: character*(32)
|
||||||
doc: name of the exchange functional
|
doc: name of the exchange functional
|
||||||
interface: ezfio, provider, ocaml
|
interface: ezfio, provider, ocaml
|
||||||
default: short_range_LDA
|
default: sr_pbe
|
||||||
|
|
||||||
[correlation_functional]
|
[correlation_functional]
|
||||||
type: character*(32)
|
type: character*(32)
|
||||||
doc: name of the correlation functional
|
doc: name of the correlation functional
|
||||||
interface: ezfio, provider, ocaml
|
interface: ezfio, provider, ocaml
|
||||||
default: short_range_LDA
|
default: sr_pbe
|
||||||
|
|
||||||
[HF_exchange]
|
[HF_exchange]
|
||||||
type: double precision
|
type: double precision
|
||||||
|
@ -9,10 +9,8 @@ subroutine GGA_sr_type_functionals(mu,rho_a,rho_b,grad_rho_a_2,grad_rho_b_2,grad
|
|||||||
double precision, intent(in) :: mu,rho_a,rho_b,grad_rho_a_2,grad_rho_b_2,grad_rho_a_b
|
double precision, intent(in) :: mu,rho_a,rho_b,grad_rho_a_2,grad_rho_b_2,grad_rho_a_b
|
||||||
double precision, intent(out) :: ex,vx_rho_a,vx_rho_b,vx_grad_rho_a_2,vx_grad_rho_b_2,vx_grad_rho_a_b
|
double precision, intent(out) :: ex,vx_rho_a,vx_rho_b,vx_grad_rho_a_2,vx_grad_rho_b_2,vx_grad_rho_a_b
|
||||||
double precision, intent(out) :: ec,vc_rho_a,vc_rho_b,vc_grad_rho_a_2,vc_grad_rho_b_2,vc_grad_rho_a_b
|
double precision, intent(out) :: ec,vc_rho_a,vc_rho_b,vc_grad_rho_a_2,vc_grad_rho_b_2,vc_grad_rho_a_b
|
||||||
integer :: istate
|
double precision :: rhoc,rhoo,sigmacc,sigmaco,sigmaoo,vrhoc,vrhoo,vsigmacc,vsigmaco,vsigmaoo
|
||||||
double precision :: r2(3),dr2(3), local_potential,r12,dx2
|
|
||||||
|
|
||||||
double precision :: rhoc,rhoo,sigmacc,sigmaco,sigmaoo,vrhoc,vrhoo,vsigmacc,vsigmaco,vsigmaoo
|
|
||||||
|
|
||||||
! exhange energy and potentials
|
! exhange energy and potentials
|
||||||
call ex_pbe_sr(mu,rho_a,rho_b,grad_rho_a_2,grad_rho_b_2,grad_rho_a_b,ex,vx_rho_a,vx_rho_b,vx_grad_rho_a_2,vx_grad_rho_b_2,vx_grad_rho_a_b)
|
call ex_pbe_sr(mu,rho_a,rho_b,grad_rho_a_2,grad_rho_b_2,grad_rho_a_b,ex,vx_rho_a,vx_rho_b,vx_grad_rho_a_2,vx_grad_rho_b_2,vx_grad_rho_a_b)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
END_DOC
|
END_DOC
|
||||||
integer :: istate,i,j,m
|
integer :: istate,i,j,m
|
||||||
double precision :: mu,weight
|
double precision :: mu,weight
|
||||||
double precision, allocatable :: ex, ec
|
double precision :: ex, ec
|
||||||
double precision :: rho_a,rho_b,grad_rho_a(3),grad_rho_b(3),grad_rho_a_2,grad_rho_b_2,grad_rho_a_b
|
double precision :: rho_a,rho_b,grad_rho_a(3),grad_rho_b(3),grad_rho_a_2,grad_rho_b_2,grad_rho_a_b
|
||||||
double precision :: vc_rho_a, vc_rho_b, vx_rho_a, vx_rho_b
|
double precision :: vc_rho_a, vc_rho_b, vx_rho_a, vx_rho_b
|
||||||
double precision :: vx_grad_rho_a_2, vx_grad_rho_b_2, vx_grad_rho_a_b, vc_grad_rho_a_2, vc_grad_rho_b_2, vc_grad_rho_a_b
|
double precision :: vx_grad_rho_a_2, vx_grad_rho_b_2, vx_grad_rho_a_b, vc_grad_rho_a_2, vc_grad_rho_b_2, vc_grad_rho_a_b
|
||||||
|
Loading…
Reference in New Issue
Block a user