![]() |
(git:5f3bc36)
|
Build up the plane wave density by collocating the primitive Gaussian functions (pgf). More...
Functions/Subroutines | |
| subroutine, public | integrate_v_dbasis (v_rspace, matrix_vhxc_dbasis, matrix_p, qs_env, lambda) |
| Integrate a potential v_rspace over the derivatives of the basis functions < da/dR | V | b > + < a | V | db/dR > Adapted from the old version of integrate_v_rspace (ED) | |
| subroutine, public | integrate_v_rspace (v_rspace, hmat, hmat_kp, pmat, pmat_kp, qs_env, calculate_forces, force_adm, compute_tau, gapw, basis_type, pw_env_external, task_list_external) |
| computes matrix elements corresponding to a given potential If compute_tau hmat(\mu,\nu) = \int v_rspace(r)\nabla\mu(r)\cdot\nabla\nu(r) dr else hmat(\mu,\nu) = \int v_rspace(r)\mu(r)\nu(r) dr | |
Build up the plane wave density by collocating the primitive Gaussian functions (pgf).
| subroutine, public qs_integrate_potential_product::integrate_v_dbasis | ( | type(pw_r3d_rs_type), intent(in) | v_rspace, |
| type(dbcsr_p_type), dimension(:), pointer | matrix_vhxc_dbasis, | ||
| type(dbcsr_type), pointer | matrix_p, | ||
| type(qs_environment_type), pointer | qs_env, | ||
| integer, intent(in) | lambda | ||
| ) |
Integrate a potential v_rspace over the derivatives of the basis functions < da/dR | V | b > + < a | V | db/dR > Adapted from the old version of integrate_v_rspace (ED)
| v_rspace | ... |
| matrix_vhxc_dbasis | ... |
| matrix_p | ... |
| qs_env | ... |
| lambda | The atom index. |
Definition at line 108 of file qs_integrate_potential_product.F.
| subroutine, public qs_integrate_potential_product::integrate_v_rspace | ( | type(pw_r3d_rs_type), intent(in) | v_rspace, |
| type(dbcsr_p_type), intent(inout), optional | hmat, | ||
| type(dbcsr_p_type), dimension(:), optional, pointer | hmat_kp, | ||
| type(dbcsr_p_type), intent(in), optional | pmat, | ||
| type(dbcsr_p_type), dimension(:), optional, pointer | pmat_kp, | ||
| type(qs_environment_type), pointer | qs_env, | ||
| logical, intent(in) | calculate_forces, | ||
| real(kind=dp), intent(in), optional | force_adm, | ||
| logical, intent(in), optional | compute_tau, | ||
| logical, intent(in), optional | gapw, | ||
| character(len=*), intent(in), optional | basis_type, | ||
| type(pw_env_type), optional, pointer | pw_env_external, | ||
| type(task_list_type), optional, pointer | task_list_external | ||
| ) |
computes matrix elements corresponding to a given potential If compute_tau hmat(\mu,\nu) = \int v_rspace(r)\nabla\mu(r)\cdot\nabla\nu(r) dr else hmat(\mu,\nu) = \int v_rspace(r)\mu(r)\nu(r) dr
| v_rspace | Potential in real space |
| hmat | Matrix to write the result |
| hmat_kp | ... |
| pmat | Input density matrix, not used in the calculation but the screening. See note below. |
| pmat_kp | ... |
| qs_env | ... |
| calculate_forces | ... |
| force_adm | optional scaling of force |
| compute_tau | ... |
| gapw | ... |
| basis_type | ... |
| pw_env_external | ... |
| task_list_external | ... |
Definition at line 578 of file qs_integrate_potential_product.F.