![]() |
(git:b77b4be)
|
Routines used for Harris functional Kohn-Sham calculation. More...
Functions/Subroutines | |
subroutine, public | create_kernel (qs_env, vxc, vxc_tau, rho, rho1_r, rho1_g, tau1_r, xc_section, compute_virial, virial_xc) |
Creation of second derivative xc-potential. | |
subroutine, public | ec_mos_init (qs_env, matrix_s) |
Allocate and initiate molecular orbitals environment. | |
Routines used for Harris functional Kohn-Sham calculation.
subroutine, public ec_methods::create_kernel | ( | type(qs_environment_type), pointer | qs_env, |
type(pw_r3d_rs_type), dimension(:), pointer | vxc, | ||
type(pw_r3d_rs_type), dimension(:), pointer | vxc_tau, | ||
type(qs_rho_type), intent(in), pointer | rho, | ||
type(pw_r3d_rs_type), dimension(:), intent(in), pointer | rho1_r, | ||
type(pw_c1d_gs_type), dimension(:), intent(in), pointer | rho1_g, | ||
type(pw_r3d_rs_type), dimension(:), intent(in), pointer | tau1_r, | ||
type(section_vals_type), intent(in), pointer | xc_section, | ||
logical, intent(in), optional | compute_virial, | ||
real(kind=dp), dimension(3, 3), intent(inout), optional | virial_xc | ||
) |
Creation of second derivative xc-potential.
qs_env | ... |
vxc | will contain the partially integrated second derivative taken with respect to rho, evaluated in rho and folded with rho1 vxc is allocated here and needs to be deallocated by the caller. |
vxc_tau | ... |
rho | density at which derivatives were calculated |
rho1_r | density in r-space with which to fold |
rho1_g | density in g-space with which to fold |
tau1_r | ... |
xc_section | XC parameters of this potential |
compute_virial | Enable stress-tensor calculation |
virial_xc | Will contain GGA contribution of XC-kernel to stress-tensor |
Definition at line 87 of file ec_methods.F.
subroutine, public ec_methods::ec_mos_init | ( | type(qs_environment_type), pointer | qs_env, |
type(dbcsr_type) | matrix_s | ||
) |
Allocate and initiate molecular orbitals environment.
qs_env | ... |
matrix_s | Used as template |
par History 2020.10 created [Fabian Belleflamme]
Definition at line 161 of file ec_methods.F.