![]() |
(git:33f85d8)
|
Utility functions for the perturbation calculations. More...
Functions/Subroutines | |
subroutine, public | p_env_create (p_env, qs_env, p1_option, p1_admm_option, orthogonal_orbitals, linres_control) |
allocates and initializes the perturbation environment (no setup) | |
subroutine, public | p_env_check_i_alloc (p_env, qs_env) |
checks that the intenal storage is allocated, and allocs it if needed | |
subroutine, public | p_env_update_rho (p_env, qs_env) |
... | |
subroutine, public | p_env_psi0_changed (p_env, qs_env) |
To be called after the value of psi0 has changed. Recalculates the quantities S_psi0 and m_epsilon. | |
subroutine, public | p_preortho (p_env, qs_env, v, n_cols) |
does a preorthogonalization of the given matrix: v = (I-PS)v | |
subroutine, public | p_postortho (p_env, qs_env, v, n_cols) |
does a postorthogonalization on the given matrix vector: v = (I-SP) v | |
subroutine, public | p_env_finish_kpp1 (qs_env, p_env) |
... | |
Utility functions for the perturbation calculations.
subroutine, public qs_p_env_methods::p_env_create | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env, | ||
type(dbcsr_p_type), dimension(:), optional, pointer | p1_option, | ||
type(dbcsr_p_type), dimension(:), optional, pointer | p1_admm_option, | ||
logical, intent(in), optional | orthogonal_orbitals, | ||
type(linres_control_type), optional, pointer | linres_control | ||
) |
allocates and initializes the perturbation environment (no setup)
p_env | the environment to initialize |
qs_env | the qs_environment for the system |
p1_option | ... |
p1_admm_option | ... |
orthogonal_orbitals | if the orbitals are orthogonal |
linres_control | ... |
Definition at line 128 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_env_check_i_alloc | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env | ||
) |
checks that the intenal storage is allocated, and allocs it if needed
p_env | the environment to check |
qs_env | the qs environment this p_env lives in |
Definition at line 313 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_env_update_rho | ( | type(qs_p_env_type), intent(in) | p_env, |
type(qs_environment_type), intent(in), pointer | qs_env | ||
) |
...
p_env | ... |
qs_env | ... |
Definition at line 394 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_env_psi0_changed | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env | ||
) |
To be called after the value of psi0 has changed. Recalculates the quantities S_psi0 and m_epsilon.
p_env | the perturbation environment to set |
qs_env | ... |
Definition at line 478 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_preortho | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env, | ||
type(cp_fm_type), dimension(:), intent(inout) | v, | ||
integer, dimension(:), intent(in), optional | n_cols | ||
) |
does a preorthogonalization of the given matrix: v = (I-PS)v
p_env | the perturbation environment |
qs_env | the qs_env that is perturbed by this p_env |
v | matrix to orthogonalize |
n_cols | the number of columns of C to multiply (defaults to size(v,2)) |
Definition at line 677 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_postortho | ( | type(qs_p_env_type) | p_env, |
type(qs_environment_type), pointer | qs_env, | ||
type(cp_fm_type), dimension(:), intent(inout) | v, | ||
integer, dimension(:), intent(in), optional | n_cols | ||
) |
does a postorthogonalization on the given matrix vector: v = (I-SP) v
p_env | the perturbation environment |
qs_env | the qs_env that is perturbed by this p_env |
v | matrix to orthogonalize |
n_cols | the number of columns of C to multiply (defaults to size(v,2)) |
Definition at line 769 of file qs_p_env_methods.F.
subroutine, public qs_p_env_methods::p_env_finish_kpp1 | ( | type(qs_environment_type), intent(in), pointer | qs_env, |
type(qs_p_env_type), intent(in) | p_env | ||
) |
...
qs_env | ... |
p_env | ... |
Definition at line 855 of file qs_p_env_methods.F.