(git:27c966b)
Loading...
Searching...
No Matches
qs_efield_local Module Reference

Calculates the energy contribution and the mo_derivative of a static electric field (nonperiodic). More...

Functions/Subroutines

subroutine, public qs_efield_local_operator (qs_env, just_energy, calculate_forces)
 ...
subroutine, public qs_efield_dipole_force (qs_env, matrix_p, field, rpoint, fdip)
 Electronic gradient from the nuclear derivative of the dipole integrals, dE/dR = sum_d field_d Tr(P d<a|r_d - rpoint|b>/dR).

Detailed Description

Calculates the energy contribution and the mo_derivative of a static electric field (nonperiodic).

History
none
Author
JGH (05.2015)

Function/Subroutine Documentation

◆ qs_efield_local_operator()

subroutine, public qs_efield_local::qs_efield_local_operator ( type(qs_environment_type), pointer qs_env,
logical, intent(in) just_energy,
logical, intent(in) calculate_forces )

...

Parameters
qs_env...
just_energy...
calculate_forces...

Definition at line 78 of file qs_efield_local.F.

Here is the call graph for this function:

◆ qs_efield_dipole_force()

subroutine, public qs_efield_local::qs_efield_dipole_force ( type(qs_environment_type), pointer qs_env,
type(dbcsr_p_type), dimension(:), pointer matrix_p,
real(kind=dp), dimension(3), intent(in) field,
real(kind=dp), dimension(3), intent(in) rpoint,
real(kind=dp), dimension(:, :), intent(inout) fdip )

Electronic gradient from the nuclear derivative of the dipole integrals, dE/dR = sum_d field_d Tr(P d<a|r_d - rpoint|b>/dR).

Parameters
qs_env...
matrix_pdensity matrix (all spins)
fieldelectric field
rpointreference point of the dipole operator
fdipgradient (3,natom) to which the local contribution is added (not summed over ranks)

Definition at line 268 of file qs_efield_local.F.

Here is the call graph for this function:
Here is the caller graph for this function: