![]() |
(git:b77b4be)
|
Interface between ALMO SCF and QS. More...
Functions/Subroutines | |
subroutine, public | matrix_almo_create (matrix_new, matrix_qs, almo_scf_env, name_new, size_keys, symmetry_new, spin_key, init_domains) |
create the ALMO matrix templates | |
subroutine, public | matrix_qs_to_almo (matrix_qs, matrix_almo, mat_distr_aos) |
convert between two types of matrices: QS style to ALMO style | |
subroutine, public | init_almo_ks_matrix_via_qs (qs_env, matrix_ks, mat_distr_aos, eps_filter) |
Initialization of the QS and ALMO KS matrix. | |
subroutine, public | construct_qs_mos (qs_env, almo_scf_env) |
Create MOs in the QS env to be able to return ALMOs to QS. | |
subroutine, public | almo_dm_to_qs_env (qs_env, matrix_p, mat_distr_aos) |
return density matrix to the qs_env | |
subroutine, public | almo_dm_to_almo_ks (qs_env, matrix_p, matrix_ks, energy_total, eps_filter, mat_distr_aos, smear, kts_sum) |
uses the ALMO density matrix to compute ALMO KS matrix and the new energy | |
subroutine, public | almo_scf_update_ks_energy (qs_env, energy, energy_singles_corr) |
update qs_env total energy | |
subroutine, public | almo_scf_construct_quencher (qs_env, almo_scf_env) |
Creates the matrix that imposes absolute locality on MOs. | |
subroutine, public | calculate_w_matrix_almo (matrix_w, almo_scf_env) |
Compute matrix W (energy-weighted density matrix) that is needed for the evaluation of forces. | |
Interface between ALMO SCF and QS.
subroutine, public almo_scf_qs::matrix_almo_create | ( | type(dbcsr_type) | matrix_new, |
type(dbcsr_type) | matrix_qs, | ||
type(almo_scf_env_type), intent(in) | almo_scf_env, | ||
character(len=*), intent(in) | name_new, | ||
integer, dimension(2), intent(in) | size_keys, | ||
character, intent(in) | symmetry_new, | ||
integer, intent(in) | spin_key, | ||
logical, intent(in) | init_domains | ||
) |
create the ALMO matrix templates
matrix_new | ... |
matrix_qs | ... |
almo_scf_env | ... |
name_new | ... |
size_keys | ... |
symmetry_new | ... |
spin_key | ... |
init_domains | ... |
Definition at line 114 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::matrix_qs_to_almo | ( | type(dbcsr_type) | matrix_qs, |
type(dbcsr_type) | matrix_almo, | ||
integer | mat_distr_aos | ||
) |
convert between two types of matrices: QS style to ALMO style
matrix_qs | ... |
matrix_almo | ... |
mat_distr_aos | ... |
Definition at line 420 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::init_almo_ks_matrix_via_qs | ( | type(qs_environment_type), pointer | qs_env, |
type(dbcsr_type), dimension(:) | matrix_ks, | ||
integer | mat_distr_aos, | ||
real(kind=dp) | eps_filter | ||
) |
Initialization of the QS and ALMO KS matrix.
qs_env | ... |
matrix_ks | ... |
mat_distr_aos | ... |
eps_filter | ... |
Definition at line 509 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::construct_qs_mos | ( | type(qs_environment_type), pointer | qs_env, |
type(almo_scf_env_type), intent(inout) | almo_scf_env | ||
) |
Create MOs in the QS env to be able to return ALMOs to QS.
qs_env | ... |
almo_scf_env | ... |
Definition at line 570 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::almo_dm_to_qs_env | ( | type(qs_environment_type), pointer | qs_env, |
type(dbcsr_type), dimension(:) | matrix_p, | ||
integer, intent(in) | mat_distr_aos | ||
) |
return density matrix to the qs_env
qs_env | ... |
matrix_p | ... |
mat_distr_aos | ... |
Definition at line 639 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::almo_dm_to_almo_ks | ( | type(qs_environment_type), pointer | qs_env, |
type(dbcsr_type), dimension(:) | matrix_p, | ||
type(dbcsr_type), dimension(:) | matrix_ks, | ||
real(kind=dp) | energy_total, | ||
real(kind=dp) | eps_filter, | ||
integer, intent(in) | mat_distr_aos, | ||
logical, intent(in), optional | smear, | ||
real(kind=dp), intent(in), optional | kts_sum | ||
) |
uses the ALMO density matrix to compute ALMO KS matrix and the new energy
qs_env | ... |
matrix_p | ... |
matrix_ks | ... |
energy_total | ... |
eps_filter | ... |
mat_distr_aos | ... |
smear | ... |
kTS_sum | ... |
Definition at line 747 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::almo_scf_update_ks_energy | ( | type(qs_environment_type), pointer | qs_env, |
real(kind=dp), intent(in), optional | energy, | ||
real(kind=dp), intent(in), optional | energy_singles_corr | ||
) |
update qs_env total energy
qs_env | ... |
energy | ... |
energy_singles_corr | ... |
Definition at line 805 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::almo_scf_construct_quencher | ( | type(qs_environment_type), pointer | qs_env, |
type(almo_scf_env_type), intent(inout) | almo_scf_env | ||
) |
Creates the matrix that imposes absolute locality on MOs.
qs_env | ... |
almo_scf_env | ... |
Definition at line 836 of file almo_scf_qs.F.
subroutine, public almo_scf_qs::calculate_w_matrix_almo | ( | type(dbcsr_p_type), dimension(:), pointer | matrix_w, |
type(almo_scf_env_type) | almo_scf_env | ||
) |
Compute matrix W (energy-weighted density matrix) that is needed for the evaluation of forces.
matrix_w | ... |
almo_scf_env | ... |
Definition at line 1534 of file almo_scf_qs.F.