(git:6a2e663)
|
module that builds the second order perturbation kernel kpp1 = delta_rho|_P delta_rho|_P E drho(P1) drho More...
Functions/Subroutines | |
subroutine, public | kpp1_create (kpp1_env) |
allocates and initializes a kpp1_env More... | |
subroutine, public | kpp1_calc_k_p_p1 (p_env, qs_env, rho1, rho1_xc) |
calculates the k_p_p1 kernel of the perturbation theory More... | |
subroutine, public | calc_kpp1 (rho1_xc, rho1, xc_section, do_tddft, lsd_singlets, lrigpw, do_excitations, do_triplet, qs_env, p_env, calc_forces, calc_virial, virial) |
... More... | |
subroutine, public | kpp1_calc_k_p_p1_fdiff (qs_env, k_p_p1, rho, rho1, diff) |
calcualtes the k_p_p1 kernel of the perturbation theory with finite differences More... | |
subroutine, public | kpp1_check_i_alloc (kpp1_env, qs_env, do_excitations, lsd_singlets, do_triplet) |
checks that the intenal storage is allocated, and allocs it if needed More... | |
subroutine, public | kpp1_did_change (kpp1_env) |
function to advise of changes either in the grids More... | |
module that builds the second order perturbation kernel kpp1 = delta_rho|_P delta_rho|_P E drho(P1) drho
subroutine, public qs_kpp1_env_methods::kpp1_create | ( | type(qs_kpp1_env_type) | kpp1_env | ) |
allocates and initializes a kpp1_env
kpp1_env | the environment to initialize |
Definition at line 110 of file qs_kpp1_env_methods.F.
subroutine, public qs_kpp1_env_methods::kpp1_calc_k_p_p1 | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env, | ||
type(qs_rho_type), pointer | rho1, | ||
type(qs_rho_type), optional, pointer | rho1_xc | ||
) |
calculates the k_p_p1 kernel of the perturbation theory
p_env | perturbation environment containing kpp1 kernel and kpp1_env |
qs_env | kpp1's qs_env |
rho1 | the density that represent the first direction along which you should evaluate the derivatives |
rho1_xc | ... |
Definition at line 125 of file qs_kpp1_env_methods.F.
subroutine, public qs_kpp1_env_methods::calc_kpp1 | ( | type(qs_rho_type), pointer | rho1_xc, |
type(qs_rho_type), pointer | rho1, | ||
type(section_vals_type), pointer | xc_section, | ||
logical, intent(in) | do_tddft, | ||
logical, intent(in) | lsd_singlets, | ||
logical, intent(in) | lrigpw, | ||
logical, intent(in) | do_excitations, | ||
logical, intent(in) | do_triplet, | ||
type(qs_environment_type), pointer | qs_env, | ||
type(qs_p_env_type) | p_env, | ||
logical, intent(in), optional | calc_forces, | ||
logical, intent(in), optional | calc_virial, | ||
real(kind=dp), dimension(3, 3), intent(inout), optional | virial | ||
) |
...
rho1_xc | ... |
rho1 | ... |
xc_section | ... |
do_tddft | ... |
lsd_singlets | ... |
lrigpw | ... |
do_excitations | ... |
do_triplet | ... |
qs_env | ... |
p_env | ... |
calc_forces | ... |
calc_virial | ... |
virial | ... |
Definition at line 190 of file qs_kpp1_env_methods.F.
subroutine, public qs_kpp1_env_methods::kpp1_calc_k_p_p1_fdiff | ( | type(qs_environment_type), pointer | qs_env, |
type(dbcsr_p_type), dimension(:), pointer | k_p_p1, | ||
type(qs_rho_type), pointer | rho, | ||
type(qs_rho_type), pointer | rho1, | ||
real(kind=dp), intent(in), optional | diff | ||
) |
calcualtes the k_p_p1 kernel of the perturbation theory with finite differences
qs_env | kpp1's qs_env |
k_p_p1 | the sparse matrix that will contain the kernel k_p_p1 |
rho | the density where to evaluate the derivatives (i.e. p along with with its grid representations, that must be valid) |
rho1 | the density that represent the first direction along which you should evaluate the derivatives |
diff | the amount of the finite difference step |
Definition at line 568 of file qs_kpp1_env_methods.F.
subroutine, public qs_kpp1_env_methods::kpp1_check_i_alloc | ( | type(qs_kpp1_env_type) | kpp1_env, |
type(qs_environment_type), intent(in), pointer | qs_env, | ||
logical, intent(in) | do_excitations, | ||
logical, intent(in) | lsd_singlets, | ||
logical, intent(in) | do_triplet | ||
) |
checks that the intenal storage is allocated, and allocs it if needed
kpp1_env | the environment to check |
qs_env | the qs environment this kpp1_env lives in |
do_excitations | ... |
lsd_singlets | ... |
do_triplet | ... |
Definition at line 658 of file qs_kpp1_env_methods.F.
subroutine, public qs_kpp1_env_methods::kpp1_did_change | ( | type(qs_kpp1_env_type) | kpp1_env | ) |
function to advise of changes either in the grids
kpp1_env | the kpp1_env |
Definition at line 770 of file qs_kpp1_env_methods.F.