![]() |
(git:b77b4be)
|
Functions/Subroutines | |
subroutine, public | ewald_evaluate (ewald_env, ewald_pw, cell, atomic_kind_set, particle_set, local_particles, fg_coulomb, vg_coulomb, pv_g, use_virial, charges, e_coulomb) |
computes the potential and the force from the g-space part of the 1/r potential Ref.: J.-P. Hansen, Enrico Fermi School, 1985 Note: Only the positive G-vectors are used in the sum. | |
subroutine, public | ewald_self (ewald_env, cell, atomic_kind_set, local_particles, e_self, e_neut, charges) |
Computes the self interaction from g-space and the neutralizing background. | |
subroutine, public | ewald_self_atom (ewald_env, atomic_kind_set, local_particles, e_self, charges) |
Computes the self interaction per atom. | |
subroutine, public | ewald_print (iw, pot_nonbond, e_gspace, e_self, e_neut, e_bonded) |
... | |
subroutine, public ewalds::ewald_evaluate | ( | type(ewald_environment_type), pointer | ewald_env, |
type(ewald_pw_type), pointer | ewald_pw, | ||
type(cell_type), pointer | cell, | ||
type(atomic_kind_type), dimension(:), pointer | atomic_kind_set, | ||
type(particle_type), dimension(:), pointer | particle_set, | ||
type(distribution_1d_type), pointer | local_particles, | ||
real(kind=dp), dimension(:, :), intent(out) | fg_coulomb, | ||
real(kind=dp), intent(out) | vg_coulomb, | ||
real(kind=dp), dimension(:, :), intent(out) | pv_g, | ||
logical, intent(in) | use_virial, | ||
real(kind=dp), dimension(:), optional, pointer | charges, | ||
real(kind=dp), dimension(:), optional, pointer | e_coulomb | ||
) |
computes the potential and the force from the g-space part of the 1/r potential Ref.: J.-P. Hansen, Enrico Fermi School, 1985 Note: Only the positive G-vectors are used in the sum.
ewald_env | ... |
ewald_pw | ... |
cell | ... |
atomic_kind_set | ... |
particle_set | ... |
local_particles | ... |
fg_coulomb | ... |
vg_coulomb | ... |
pv_g | ... |
use_virial | ... |
charges | ... |
e_coulomb | ... |
Definition at line 75 of file ewalds.F.
subroutine, public ewalds::ewald_self | ( | type(ewald_environment_type), pointer | ewald_env, |
type(cell_type), pointer | cell, | ||
type(atomic_kind_type), dimension(:), pointer | atomic_kind_set, | ||
type(distribution_1d_type), pointer | local_particles, | ||
real(kind=dp), intent(out) | e_self, | ||
real(kind=dp), intent(out) | e_neut, | ||
real(kind=dp), dimension(:), pointer | charges | ||
) |
Computes the self interaction from g-space and the neutralizing background.
ewald_env | ... |
cell | ... |
atomic_kind_set | ... |
local_particles | ... |
e_self | ... |
e_neut | ... |
charges | ... |
Definition at line 277 of file ewalds.F.
subroutine, public ewalds::ewald_self_atom | ( | type(ewald_environment_type), pointer | ewald_env, |
type(atomic_kind_type), dimension(:), pointer | atomic_kind_set, | ||
type(distribution_1d_type), pointer | local_particles, | ||
real(kind=dp), dimension(:), intent(inout) | e_self, | ||
real(kind=dp), dimension(:), pointer | charges | ||
) |
subroutine, public ewalds::ewald_print | ( | integer, intent(in) | iw, |
real(kind=dp), intent(in) | pot_nonbond, | ||
real(kind=dp), intent(in) | e_gspace, | ||
real(kind=dp), intent(in) | e_self, | ||
real(kind=dp), intent(in) | e_neut, | ||
real(kind=dp), intent(in) | e_bonded | ||
) |