(git:3add494)
spme Module Reference

Calculate the electrostatic energy by the Smooth Particle Ewald method. More...

Functions/Subroutines

subroutine, public spme_evaluate (ewald_env, ewald_pw, box, particle_set, fg_coulomb, vg_coulomb, pv_g, shell_particle_set, core_particle_set, fgshell_coulomb, fgcore_coulomb, use_virial, charges, atprop)
 ... More...
 
subroutine, public spme_potential (ewald_env, ewald_pw, box, particle_set_a, charges_a, particle_set_b, potential)
 Calculate the electrostatic potential from particles A (charge A) at positions of particles B. More...
 
subroutine, public spme_forces (ewald_env, ewald_pw, box, particle_set_a, charges_a, particle_set_b, charges_b, forces_b)
 Calculate the forces on particles B for the electrostatic interaction betrween particles A and B. More...
 

Detailed Description

Calculate the electrostatic energy by the Smooth Particle Ewald method.

History
JGH (03-May-2001) : first correctly working version
Author
JGH (21-Mar-2001)

Function/Subroutine Documentation

◆ spme_evaluate()

subroutine, public spme::spme_evaluate ( type(ewald_environment_type), pointer  ewald_env,
type(ewald_pw_type), pointer  ewald_pw,
type(cell_type), pointer  box,
type(particle_type), dimension(:), intent(in)  particle_set,
real(kind=dp), dimension(:, :), intent(out)  fg_coulomb,
real(kind=dp), intent(out)  vg_coulomb,
real(kind=dp), dimension(:, :), intent(out)  pv_g,
type(particle_type), dimension(:), optional, pointer  shell_particle_set,
type(particle_type), dimension(:), optional, pointer  core_particle_set,
real(kind=dp), dimension(:, :), intent(out), optional  fgshell_coulomb,
real(kind=dp), dimension(:, :), intent(out), optional  fgcore_coulomb,
logical, intent(in)  use_virial,
real(kind=dp), dimension(:), optional, pointer  charges,
type(atprop_type), pointer  atprop 
)

...

Parameters
ewald_env...
ewald_pw...
box...
particle_set...
fg_coulomb...
vg_coulomb...
pv_g...
shell_particle_set...
core_particle_set...
fgshell_coulomb...
fgcore_coulomb...
use_virial...
charges...
atprop...
History
JGH (03-May-2001) : SPME with charge definition
Author
JGH (21-Mar-2001)

Definition at line 92 of file spme.F.

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

◆ spme_potential()

subroutine, public spme::spme_potential ( type(ewald_environment_type), pointer  ewald_env,
type(ewald_pw_type), pointer  ewald_pw,
type(cell_type), pointer  box,
type(particle_type), dimension(:), intent(in)  particle_set_a,
real(kind=dp), dimension(:), pointer  charges_a,
type(particle_type), dimension(:), intent(in)  particle_set_b,
real(kind=dp), dimension(:), intent(inout)  potential 
)

Calculate the electrostatic potential from particles A (charge A) at positions of particles B.

Parameters
ewald_env...
ewald_pw...
box...
particle_set_a...
charges_a...
particle_set_b...
potential...
History
JGH (23-Oct-2014) : adapted from SPME evaluate
Author
JGH (23-Oct-2014)

Definition at line 465 of file spme.F.

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

◆ spme_forces()

subroutine, public spme::spme_forces ( type(ewald_environment_type), pointer  ewald_env,
type(ewald_pw_type), pointer  ewald_pw,
type(cell_type), pointer  box,
type(particle_type), dimension(:), intent(in)  particle_set_a,
real(kind=dp), dimension(:), pointer  charges_a,
type(particle_type), dimension(:), intent(in)  particle_set_b,
real(kind=dp), dimension(:), pointer  charges_b,
real(kind=dp), dimension(:, :), intent(inout)  forces_b 
)

Calculate the forces on particles B for the electrostatic interaction betrween particles A and B.

Parameters
ewald_env...
ewald_pw...
box...
particle_set_a...
charges_a...
particle_set_b...
charges_b...
forces_b...
History
JGH (27-Oct-2014) : adapted from SPME evaluate
Author
JGH (23-Oct-2014)

Definition at line 606 of file spme.F.

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