![]() |
(git:9754b87)
|
methods of the rho structure (defined in qs_rho_types) More...
Functions/Subroutines | |
subroutine, public | qs_rho_rebuild (rho, qs_env, rebuild_ao, rebuild_grids, admm, pw_env_external) |
rebuilds rho (if necessary allocating and initializing it) | |
subroutine, public | qs_rho_update_rho (rho_struct, qs_env, rho_xc_external, local_rho_set, task_list_external, task_list_external_soft, pw_env_external, para_env_external) |
updates rho_r and rho_g to the rhorho_ao. if use_kinetic_energy_density also computes tau_r and tau_g this works for all ground state and ground state response methods | |
subroutine, public | qs_rho_update_tddfpt (rho_struct, qs_env, pw_env_external, task_list_external, para_env_external, tddfpt_lri_env, tddfpt_lri_density) |
updates rho_r and rho_g to the rhorho_ao. if use_kinetic_energy_density also computes tau_r and tau_g | |
subroutine, public | qs_rho_copy (rho_input, rho_output, auxbas_pw_pool, mspin) |
Allocate a density structure and fill it with data from an input structure SIZE(rho_input) == mspin == 1 direct copy SIZE(rho_input) == mspin == 2 direct copy of alpha and beta spin SIZE(rho_input) == 1 AND mspin == 2 copy rho/2 into alpha and beta spin. | |
subroutine, public | qs_rho_scale_and_add (rhoa, rhob, alpha, beta) |
rhoa = alpha*rhoa+beta*rhob | |
subroutine, public | duplicate_rho_type (rho_input, rho_output, qs_env) |
Duplicates a pointer physically. | |
subroutine, public | allocate_rho_ao_imag_from_real (rho, qs_env) |
(Re-)allocates rho_ao_im from real part rho_ao | |
methods of the rho structure (defined in qs_rho_types)
subroutine, public qs_rho_methods::qs_rho_rebuild | ( | type(qs_rho_type), intent(inout) | rho, |
type(qs_environment_type), pointer | qs_env, | ||
logical, intent(in), optional | rebuild_ao, | ||
logical, intent(in), optional | rebuild_grids, | ||
logical, intent(in), optional | admm, | ||
type(pw_env_type), optional, pointer | pw_env_external | ||
) |
rebuilds rho (if necessary allocating and initializing it)
rho | the rho type to rebuild (defaults to qs_envrho) |
qs_env | the environment to which rho belongs |
rebuild_ao | if it is necessary to rebuild rho_ao. Defaults to true. |
rebuild_grids | if it in necessary to rebuild rho_r and rho_g. Defaults to false. |
admm | (use aux_fit basis) |
pw_env_external | external plane wave environment |
Definition at line 97 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::qs_rho_update_rho | ( | type(qs_rho_type), intent(inout) | rho_struct, |
type(qs_environment_type), pointer | qs_env, | ||
type(qs_rho_type), optional, pointer | rho_xc_external, | ||
type(local_rho_type), optional, pointer | local_rho_set, | ||
type(task_list_type), optional, pointer | task_list_external, | ||
type(task_list_type), optional, pointer | task_list_external_soft, | ||
type(pw_env_type), optional, pointer | pw_env_external, | ||
type(mp_para_env_type), optional, pointer | para_env_external | ||
) |
updates rho_r and rho_g to the rhorho_ao. if use_kinetic_energy_density also computes tau_r and tau_g this works for all ground state and ground state response methods
rho_struct | the rho structure that should be updated |
qs_env | the qs_env rho_struct refers to the integrated charge in r space |
rho_xc_external | ... |
local_rho_set | ... |
task_list_external | external task list |
task_list_external_soft | external task list (soft_version) |
pw_env_external | external plane wave environment |
para_env_external | external MPI environment |
Definition at line 374 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::qs_rho_update_tddfpt | ( | type(qs_rho_type), intent(inout) | rho_struct, |
type(qs_environment_type), pointer | qs_env, | ||
type(pw_env_type), optional, pointer | pw_env_external, | ||
type(task_list_type), optional, pointer | task_list_external, | ||
type(mp_para_env_type), optional, pointer | para_env_external, | ||
type(lri_environment_type), optional, pointer | tddfpt_lri_env, | ||
type(lri_density_type), optional, pointer | tddfpt_lri_density | ||
) |
updates rho_r and rho_g to the rhorho_ao. if use_kinetic_energy_density also computes tau_r and tau_g
rho_struct | the rho structure that should be updated |
qs_env | the qs_env rho_struct refers to the integrated charge in r space |
pw_env_external | external plane wave environment |
task_list_external | external task list |
para_env_external | ... |
tddfpt_lri_env | ... |
tddfpt_lri_density | ... |
Definition at line 676 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::qs_rho_copy | ( | type(qs_rho_type), intent(in) | rho_input, |
type(qs_rho_type), intent(inout) | rho_output, | ||
type(pw_pool_type), pointer | auxbas_pw_pool, | ||
integer, intent(in) | mspin | ||
) |
Allocate a density structure and fill it with data from an input structure SIZE(rho_input) == mspin == 1 direct copy SIZE(rho_input) == mspin == 2 direct copy of alpha and beta spin SIZE(rho_input) == 1 AND mspin == 2 copy rho/2 into alpha and beta spin.
rho_input | ... |
rho_output | ... |
auxbas_pw_pool | ... |
mspin | ... |
Definition at line 773 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::qs_rho_scale_and_add | ( | type(qs_rho_type), intent(in) | rhoa, |
type(qs_rho_type), intent(in) | rhob, | ||
real(kind=dp), intent(in) | alpha, | ||
real(kind=dp), intent(in) | beta | ||
) |
rhoa = alpha*rhoa+beta*rhob
rhoa | ... |
rhob | ... |
alpha | ... |
beta | ... |
Definition at line 1067 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::duplicate_rho_type | ( | type(qs_rho_type), intent(inout) | rho_input, |
type(qs_rho_type), intent(inout) | rho_output, | ||
type(qs_environment_type), pointer | qs_env | ||
) |
Duplicates a pointer physically.
rho_input | The rho structure to be duplicated |
rho_output | The duplicate rho structure |
qs_env | The QS environment from which the auxiliary PW basis-set pool is taken |
Definition at line 1239 of file qs_rho_methods.F.
subroutine, public qs_rho_methods::allocate_rho_ao_imag_from_real | ( | type(qs_rho_type), pointer | rho, |
type(qs_environment_type), pointer | qs_env | ||
) |
(Re-)allocates rho_ao_im from real part rho_ao
rho | ... |
qs_env | ... |
Definition at line 1441 of file qs_rho_methods.F.